Skip to content

Commit 37b2e3f

Browse files
authored
Rollup merge of #70649 - GuillaumeGomez:cleanup-e0468, r=Dylan-DPC
clean up E0468 explanation r? @Dylan-DPC
2 parents 0863e2c + 3bcb3ef commit 37b2e3f

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+2
-2
lines changed

src/librustc_error_codes/error_codes/E0468.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
A non-root module attempts to import macros from another crate.
1+
A non-root module tried to import macros from another crate.
22

33
Example of erroneous code:
44

@@ -17,7 +17,7 @@ Either move the macro import to crate root or do without the foreign macros.
1717
This will work:
1818

1919
```
20-
#[macro_use(debug_assert)]
20+
#[macro_use(debug_assert)] // ok!
2121
extern crate core;
2222
2323
mod foo {

0 commit comments

Comments
 (0)