diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-04-01 13:18:14 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-04-01 13:18:14 +0200 |
| commit | 3bcb3ef8d3f4b8b7cdcf73326f36ee95004ee75c (patch) | |
| tree | 5d0c12d0f86b1a51c0a30a2e5146a6e53b8cc4b6 /src | |
| parent | 98803c182b2ba6ef5dccb6bf501958249295eac0 (diff) | |
| download | rust-3bcb3ef8d3f4b8b7cdcf73326f36ee95004ee75c.tar.gz rust-3bcb3ef8d3f4b8b7cdcf73326f36ee95004ee75c.zip | |
clean up E0468 explanation
Diffstat (limited to 'src')
| -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 { |
