rust/tests/ui/error-codes/E0207.stderr

10 lines
306 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
2018-12-25 09:56:47 -06:00
--> $DIR/E0207.rs:3:6
2018-02-07 21:35:35 -06:00
|
2019-03-09 06:03:44 -06:00
LL | impl<T: Default> Foo {
2018-02-07 21:35:35 -06:00
| ^ unconstrained type parameter
error: aborting due to previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0207`.