Skip to content

Commit 2885b9e

Browse files
committed
lint: deny incoherent_fundamental_impls by default
Warn the ecosystem of the pending intent-to-disallow in #49799.
1 parent c1168be commit 2885b9e

File tree

3 files changed

+1
-39
lines changed

3 files changed

+1
-39
lines changed

src/librustc/lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ declare_lint! {
208208

209209
declare_lint! {
210210
pub INCOHERENT_FUNDAMENTAL_IMPLS,
211-
Warn,
211+
Deny,
212212
"potentially-conflicting impls were erroneously allowed"
213213
}
214214

src/test/compile-fail/issue-43355.rs

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![deny(incoherent_fundamental_impls)]
12-
1311
pub trait Trait1<X> {
1412
type Output;
1513
}

src/test/run-pass/issue-43355.rs

-36
This file was deleted.

0 commit comments

Comments
 (0)