Skip to content

Commit

Permalink
Rollup merge of #70649 - GuillaumeGomez:cleanup-e0468, r=Dylan-DPC
Browse files Browse the repository at this point in the history
clean up E0468 explanation

r? @Dylan-DPC
  • Loading branch information
Dylan-DPC authored Apr 1, 2020
2 parents 0863e2c + 3bcb3ef commit 37b2e3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_error_codes/error_codes/E0468.md
Original file line number Diff line number Diff line change
@@ -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:

Expand All @@ -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 {
Expand Down

0 comments on commit 37b2e3f

Please sign in to comment.