1
Fork 0
rust/compiler/rustc_resolve
est31 eb3c611e1d Never regard macro rules with compile_error! invocations as unused
The very point of compile_error! is to never be reached, and one of
the use cases of the macro, currently also listed as examples in the
documentation of compile_error, is to create nicer errors for wrong
macro invocations. Thus, we shuuld never warn about unused macro arms
that contain invocations of compile_error.
2022-06-09 23:21:06 +02:00
..
src Never regard macro rules with compile_error! invocations as unused 2022-06-09 23:21:06 +02:00
Cargo.toml Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00