Remove deduplication of early lints
We already have a general mechanism for deduplicating reported lints, so there's no need to have an additional one for early lints specifically. This allows us to remove some `PartialEq` impls.
This commit is contained in:
parent
bfe1564676
commit
58d676b0cc
22 changed files with 382 additions and 26 deletions
|
@ -17,14 +17,28 @@ crate mod foo {
|
|||
use foo::{bar::{baz::{}}};
|
||||
//~^ ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
//~| ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
|
||||
use foo::{bar::{XX, baz::{}}};
|
||||
//~^ ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
//~| ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
//~| ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
//~| ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
|
||||
use foo::{bar::{baz::{}, baz1::{}}};
|
||||
//~^ ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
//~| ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
//~| ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
//~| ERROR absolute paths must start with
|
||||
//~| WARN this is accepted in the current edition
|
||||
|
||||
fn main() {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue