Skip to content

Instantly share code, notes, and snippets.

View rainbow-alex's full-sized avatar

Alex rainbow-alex

View GitHub Profile
"functions": [
"namespace": "rg",
"members": {
"prefix": {
"parameters": [
{"name": "name", "type": "string"}
"output": {
"type": "string",
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 21:27
compiler failure: 'expected bare rust fn or an intrinsic' (cross-crate pub use of empty struct)
$ 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/