You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checks for unknown attributes before aborting due to unresolved macros
Fixesrust-lang#49074
The ``attribute `...` is currently unknown to the compiler`` error was not shown if there are any unresolved macros, which might be caused by mistyped `macro_use`.
I typed
#[marco_use]
instead of correct#[macro_use]
in file, but the compiler report can not find macro xxx in this scope.and the error message is
I think compiler should directly report marco_use is incorrect and should be macro_use.
##Meta
rustc 1.22.1 (05e2e1c 2017-11-22)
binary: rustc
commit-hash: 05e2e1c
commit-date: 2017-11-22
host: x86_64-unknown-linux-gnu
release: 1.22.1
LLVM version: 4.0
The text was updated successfully, but these errors were encountered: