1 error[E0277]: the trait bound `!: Test` is not satisfied
2 --> $DIR/diverging-fallback-no-leak.rs:17:23
4 LL | unconstrained_arg(return);
5 | ----------------- ^^^^^^ the trait `Test` is not implemented for `!`
7 | required by a bound introduced by this call
9 = help: the following other types implement trait `Test`:
12 = 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)
13 = help: did you intend to use the type `()` here instead?
14 note: required by a bound in `unconstrained_arg`
15 --> $DIR/diverging-fallback-no-leak.rs:12:25
17 LL | fn unconstrained_arg<T: Test>(_: T) {}
18 | ^^^^ required by this bound in `unconstrained_arg`
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0277`.