fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: cannot find macro `panic` in this scope 2 --> $DIR/no_implicit_prelude.rs:16:9 3 | 4LL | assert_eq!(0, 0); 5 | ^^^^^^^^^^^^^^^^^ 6 | 7 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 8 9error[E0433]: failed to resolve: use of undeclared type or module `Vec` 10 --> $DIR/no_implicit_prelude.rs:11:9 11 | 12LL | fn f() { ::bar::m!(); } 13 | ------------ in this macro invocation 14... 15LL | Vec::new(); 16 | ^^^ use of undeclared type or module `Vec` 17 | 18 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 19 20error[E0599]: no method named `clone` found for unit type `()` in the current scope 21 --> $DIR/no_implicit_prelude.rs:12:12 22 | 23LL | fn f() { ::bar::m!(); } 24 | ------------ in this macro invocation 25... 26LL | ().clone() 27 | ^^^^^ method not found in `()` 28 | 29 = help: items from traits can only be used if the trait is in scope 30 = note: the following trait is implemented but not in scope; perhaps add a `use` for it: 31 `use std::clone::Clone;` 32 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 33 34error: aborting due to 3 previous errors 35 36Some errors have detailed explanations: E0433, E0599. 37For more information about an error, try `rustc --explain E0433`.