You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/ui/editions/never-type-fallback-breaking.e2024.stderr
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ error[E0277]: the trait bound `!: Default` is not satisfied
4
4
LL | true => Default::default(),
5
5
| ^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `!`
6
6
|
7
-
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 <https://github.com/rust-lang/rust/issues/48950> for more information)
7
+
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
8
8
= help: you might have intended to use the type `()` here instead
9
9
10
10
error[E0277]: the trait bound `!: Default` is not satisfied
@@ -13,7 +13,7 @@ error[E0277]: the trait bound `!: Default` is not satisfied
13
13
LL | deserialize()?;
14
14
| ^^^^^^^^^^^^^ the trait `Default` is not implemented for `!`
15
15
|
16
-
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 <https://github.com/rust-lang/rust/issues/48950> for more information)
16
+
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
17
17
= help: you might have intended to use the type `()` here instead
18
18
note: required by a bound in `deserialize`
19
19
--> $DIR/never-type-fallback-breaking.rs:31:23
@@ -50,7 +50,7 @@ error[E0277]: the trait bound `!: Default` is not satisfied
50
50
LL | takes_apit(|| Default::default())?;
51
51
| ^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `!`
52
52
|
53
-
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 <https://github.com/rust-lang/rust/issues/48950> for more information)
53
+
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
54
54
= help: you might have intended to use the type `()` here instead
55
55
56
56
error[E0277]: the trait bound `!: Default` is not satisfied
@@ -61,7 +61,7 @@ LL | takes_apit2(mk()?);
61
61
| |
62
62
| required by a bound introduced by this call
63
63
|
64
-
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 <https://github.com/rust-lang/rust/issues/48950> for more information)
64
+
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
65
65
= help: you might have intended to use the type `()` here instead
Copy file name to clipboardExpand all lines: tests/ui/never_type/defaulted-never-note.fallback.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ help: the trait `ImplementedForUnitButNotNever` is implemented for `()`
11
11
|
12
12
LL | impl ImplementedForUnitButNotNever for () {}
13
13
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
-
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 <https://github.com/rust-lang/rust/issues/48950> for more information)
14
+
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
15
15
= help: you might have intended to use the type `()` here instead
Copy file name to clipboardExpand all lines: tests/ui/never_type/diverging-fallback-no-leak.fallback.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ LL | impl Test for i32 {}
13
13
| ^^^^^^^^^^^^^^^^^ `i32`
14
14
LL | impl Test for () {}
15
15
| ^^^^^^^^^^^^^^^^ `()`
16
-
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 <https://github.com/rust-lang/rust/issues/48950> for more information)
16
+
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
17
17
= help: you might have intended to use the type `()` here instead
Copy file name to clipboardExpand all lines: tests/ui/never_type/diverging-fallback-unconstrained-return.fallback.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ LL | impl UnitReturn for i32 {}
11
11
| ^^^^^^^^^^^^^^^^^^^^^^^ `i32`
12
12
LL | impl UnitReturn for () {}
13
13
| ^^^^^^^^^^^^^^^^^^^^^^ `()`
14
-
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 <https://github.com/rust-lang/rust/issues/48950> for more information)
14
+
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
15
15
= help: you might have intended to use the type `()` here instead
16
16
note: required by a bound in `unconstrained_return`
Copy file name to clipboardExpand all lines: tests/ui/never_type/fallback-closure-ret.fallback.stderr
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ LL | impl Bar for () {}
11
11
| ^^^^^^^^^^^^^^^ `()`
12
12
LL | impl Bar for u32 {}
13
13
| ^^^^^^^^^^^^^^^^ `u32`
14
-
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 <https://github.com/rust-lang/rust/issues/48950> for more information)
14
+
= note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #148922 <https://github.com/rust-lang/rust/issues/148922> for more information)
15
15
= help: you might have intended to use the type `()` here instead
0 commit comments