diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-28 22:25:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-28 22:25:47 +0100 |
| commit | d3bb907eff4e1c59667ee0fccbc21a08d023bd74 (patch) | |
| tree | fd9439f1ce04d749b825bee8c4a8d6dda59b7736 /src/test/ui/issues | |
| parent | b1b67cdec152abdee33729f23d95911536a7483f (diff) | |
| parent | 5e6702117223b61057957ca2593f03e3f45ccd8a (diff) | |
| download | rust-d3bb907eff4e1c59667ee0fccbc21a08d023bd74.tar.gz rust-d3bb907eff4e1c59667ee0fccbc21a08d023bd74.zip | |
Rollup merge of #57904 - euclio:attribute-typos, r=davidtwco
add typo suggestion to unknown attribute error Provides a suggestion using Levenshtein distance to suggest built-in attributes and attribute macros. Fixes #49270.
Diffstat (limited to 'src/test/ui/issues')
| -rw-r--r-- | src/test/ui/issues/issue-49074.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/issues/issue-49074.stderr b/src/test/ui/issues/issue-49074.stderr index d4648270f2d..a25d8ee3526 100644 --- a/src/test/ui/issues/issue-49074.stderr +++ b/src/test/ui/issues/issue-49074.stderr @@ -2,7 +2,7 @@ error[E0658]: The attribute `marco_use` is currently unknown to the compiler and --> $DIR/issue-49074.rs:3:3 | LL | #[marco_use] // typo - | ^^^^^^^^^ + | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `macro_use` | = help: add #![feature(custom_attribute)] to the crate attributes to enable |
