Skip to content

Instantly share code, notes, and snippets.

Alex rainbow-alex

Block or report user

Report or block rainbow-alex

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:3e25419d19a0ed8f7d1a2ade2e117fa0
"functions": [
"namespace": "rg",
"members": {
"prefix": {
"parameters": [
{"name": "name", "type": "string"}
"output": {
"type": "string",
View vo.php
abstract class ValueObject
private $data = [];
final public function __construct()
assert((function () {
foreach ((new ReflectionClass(static::class))->getProperties() as $p) {
rainbow-alex / Output
Created May 5, 2014
compiler failure: 'expected bare rust fn or an intrinsic' (cross-crate pub use of empty struct)
View Output
$ rustc
$ RUST_BACKTRACE=1 rustc -L . 4:11 warning: path statement with no effect, #[warn(path_statement)] on by default foo::Bar;
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report:
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'expected bare rust fn or an intrinsic', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/librustc/middle/trans/
You can’t perform that action at this time.