fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
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 outside of the current crate (in Nightly builds, run with -Z external-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 18error[E0599]: no method named `clone` found for type `()` in the current scope 19 --> $DIR/no_implicit_prelude.rs:12:12 20 | 21LL | fn f() { ::bar::m!(); } 22 | ------------ in this macro invocation 23... 24LL | ().clone() 25 | ^^^^^ method not found in `()` 26 | 27 = help: items from traits can only be used if the trait is in scope 28 = note: the following trait is implemented but not in scope; perhaps add a `use` for it: 29 `use std::clone::Clone;` 30 31error: aborting due to 3 previous errors 32 33Some errors have detailed explanations: E0433, E0599. 34For more information about an error, try `rustc --explain E0433`.