fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0599]: no method named `f` found for type `()` in the current scope 2 --> $DIR/trait_items.rs:17:24 3 | 4LL | fn f() { ::baz::m!(); } 5 | ------------ in this macro invocation 6... 7LL | pub macro m() { ().f() } 8 | ^ method not found in `()` 9 | 10 = help: items from traits can only be used if the trait is in scope 11 = note: the following trait is implemented but not in scope, perhaps add a `use` for it: 12 `use foo::T;` 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0599`.