diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-01 22:25:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-01 22:25:22 +0200 |
| commit | 37b2e3fe56b863dc782b3e5d8743cc9d54394d65 (patch) | |
| tree | 68c0340b4f459e65359a55050e87dd0a9f23adf5 /src/librustc_error_codes/error_codes | |
| parent | 0863e2ce0138c220b1b870bf4a33065bcd22cfb8 (diff) | |
| parent | 3bcb3ef8d3f4b8b7cdcf73326f36ee95004ee75c (diff) | |
| download | rust-37b2e3fe56b863dc782b3e5d8743cc9d54394d65.tar.gz rust-37b2e3fe56b863dc782b3e5d8743cc9d54394d65.zip | |
Rollup merge of #70649 - GuillaumeGomez:cleanup-e0468, r=Dylan-DPC
clean up E0468 explanation r? @Dylan-DPC
Diffstat (limited to 'src/librustc_error_codes/error_codes')
| -rw-r--r-- | src/librustc_error_codes/error_codes/E0468.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0468.md b/src/librustc_error_codes/error_codes/E0468.md index 73e3ebb949a..cf8664718fa 100644 --- a/src/librustc_error_codes/error_codes/E0468.md +++ b/src/librustc_error_codes/error_codes/E0468.md @@ -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 { |
