os-rust/compiler/rustc_lint
Matthias Krüger 58825b4ea9
Rollup merge of #121580 - Suyashtnt:issue-121502-fix, r=michaelwoerister
make unused_imports less assertive in test modules

closes #121502

This is a fairly small change and I used the fix suggested in the example expected error message.
Not sure if I should've rather used the alternatives but this one seems the most descriptive.

Some alternatives:
- if this is meant to be a test module, add `#[cfg(test)]` to the containing module
- try adding #[cfg(test)] to this test module
- consider adding #[allow(unused_imports)] if you want to silent the lint on the unused import
- consider removing the unused import
2024-03-01 17:51:29 +01:00
..
src Rollup merge of #121580 - Suyashtnt:issue-121502-fix, r=michaelwoerister 2024-03-01 17:51:29 +01:00
Cargo.toml Implement RFC3373 non local definitions lint 2024-02-17 13:59:45 +01:00
messages.ftl Rollup merge of #120840 - HTGAzureX1212:HTGAzureX1212/unicode-identifier-types, r=fmease,Manishearth 2024-02-26 10:27:41 +01:00