rust/src/test/ui/error-codes/E0207.stderr
Guillaume Gomez 2e104a77cf update tests
2018-03-14 00:53:24 +01:00

10 lines
323 B
Plaintext

error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
--> $DIR/E0207.rs:13:6
|
LL | impl<T: Default> Foo { //~ ERROR E0207
| ^ unconstrained type parameter
error: aborting due to previous error
For more information about this error, try `rustc --explain E0207`.