blob: 54abed383000dc8134137db45fa06923d8cfe74e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0277]: the trait bound `(): T` is not satisfied
--> $DIR/feature-gate-never_type_fallback.rs:10:5
|
LL | foo(panic!())
| ^^^ the trait `T` is not implemented for `()`
|
note: required by a bound in `foo`
--> $DIR/feature-gate-never_type_fallback.rs:13:16
|
LL | fn foo(_: impl T) {}
| ^ required by this bound in `foo`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
|