Rollup merge of #70649 - GuillaumeGomez:cleanup-e0468, r=Dylan-DPC
clean up E0468 explanation r? @Dylan-DPC
This commit is contained in:
commit
37b2e3fe56
@ -1,4 +1,4 @@
|
||||
A non-root module attempts to import macros from another crate.
|
||||
A non-root module tried to import macros from another crate.
|
||||
|
||||
Example of erroneous code:
|
||||
|
||||
@ -17,7 +17,7 @@ Either move the macro import to crate root or do without the foreign macros.
|
||||
This will work:
|
||||
|
||||
```
|
||||
#[macro_use(debug_assert)]
|
||||
#[macro_use(debug_assert)] // ok!
|
||||
extern crate core;
|
||||
|
||||
mod foo {
|
||||
|
Loading…
Reference in New Issue
Block a user