diff options
Diffstat (limited to 'tests/ui/error-codes/E0207.stderr')
-rw-r--r-- | tests/ui/error-codes/E0207.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0207.stderr b/tests/ui/error-codes/E0207.stderr new file mode 100644 index 000000000..5ef51ed86 --- /dev/null +++ b/tests/ui/error-codes/E0207.stderr @@ -0,0 +1,9 @@ +error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates + --> $DIR/E0207.rs:3:6 + | +LL | impl<T: Default> Foo { + | ^ unconstrained type parameter + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0207`. |