Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/lint/unused/unused-macro-rules-malformed-rule.stderr

9 lines
170 B
Plaintext
Raw Normal View History

Suppress the unused_macro_rules lint if malformed rules are encountered Prior to this commit, if a macro had any malformed rules, all rules would be reported as unused, regardless of whether they were used or not. So we just turn off unused rule checking completely for macros with malformed rules.
2022-06-09 23:34:06 +02:00
error: macro rhs must be delimited
--> $DIR/unused-macro-rules-malformed-rule.rs:6:11
|
LL | () => 0;
| ^
Show number in error message even for one error Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-21 15:44:16 +00:00
error: aborting due to 1 previous error
Suppress the unused_macro_rules lint if malformed rules are encountered Prior to this commit, if a macro had any malformed rules, all rules would be reported as unused, regardless of whether they were used or not. So we just turn off unused rule checking completely for macros with malformed rules.
2022-06-09 23:34:06 +02:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1543ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API