id: LintId::of(SUPER_OR_SELF_IN_GLOBAL_PATH),
reference: "issue #36888 <https://github.com/rust-lang/rust/issues/36888>",
},
- FutureIncompatibleInfo {
- id: LintId::of(OVERLAPPING_INHERENT_IMPLS),
- reference: "issue #36889 <https://github.com/rust-lang/rust/issues/36889>",
- },
FutureIncompatibleInfo {
id: LintId::of(ILLEGAL_FLOATING_POINT_CONSTANT_PATTERN),
reference: "issue #36890 <https://github.com/rust-lang/rust/issues/36890>",
store.register_removed("drop_with_repr_extern", "drop flags have been removed");
store.register_removed("transmute_from_fn_item_types",
"always cast functions before transmuting them");
+ store.register_removed("overlapping_inherent_impls", "converted into hard error, see #36889");
}
// but `{}` was found in the type `{}`
E0567, // auto traits can not have type parameters
E0568, // auto-traits can not have predicates,
+ E0592, // duplicate definitions with name `{}`
}
impl Foo {
fn id() {} //~ ERROR duplicate definitions
- //~^ WARN previously accepted
}
impl Foo {
impl<T> Bar<T> {
fn bar(&self) {} //~ ERROR duplicate definitions
- //~^ WARN previously accepted
}
impl Bar<u32> {
impl<T: Copy> Baz<T> {
fn baz(&self) {} //~ ERROR duplicate definitions
- //~^ WARN previously accepted
}
impl<T> Baz<Vec<T>> {