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
Rollup merge of rust-lang#133584 - ehuss:more-2024-unstable-options, r=compiler-errors
Update more 2024 tests to remove -Zunstable-options
This removes `-Zunsable-options` from more tests that I missed in rust-lang#133349.
= help: did you intend to use the type `()` here instead?
9
9
10
10
error[E0277]: the trait bound `!: Default` is not satisfied
11
-
--> $DIR/never-type-fallback-breaking.rs:36:5
11
+
--> $DIR/never-type-fallback-breaking.rs:35:5
12
12
|
13
13
LL | deserialize()?;
14
14
| ^^^^^^^^^^^^^ the trait `Default` is not implemented for `!`
15
15
|
16
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)
17
17
= help: did you intend to use the type `()` here instead?
18
18
note: required by a bound in `deserialize`
19
-
--> $DIR/never-type-fallback-breaking.rs:32:23
19
+
--> $DIR/never-type-fallback-breaking.rs:31:23
20
20
|
21
21
LL | fn deserialize<T: Default>() -> Option<T> {
22
22
| ^^^^^^^ required by this bound in `deserialize`
23
23
24
24
error[E0277]: the trait bound `(): From<!>` is not satisfied
25
-
--> $DIR/never-type-fallback-breaking.rs:49:5
25
+
--> $DIR/never-type-fallback-breaking.rs:48:5
26
26
|
27
27
LL | help(1)?;
28
28
| ^^^^^^^ the trait `From<!>` is not implemented for `()`
0 commit comments