diff options
Diffstat (limited to 'src/test/ui/error-codes/E0657.stderr')
-rw-r--r-- | src/test/ui/error-codes/E0657.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/error-codes/E0657.stderr b/src/test/ui/error-codes/E0657.stderr new file mode 100644 index 000000000..df76b45a5 --- /dev/null +++ b/src/test/ui/error-codes/E0657.stderr @@ -0,0 +1,15 @@ +error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level + --> $DIR/E0657.rs:10:31 + | +LL | -> Box<for<'a> Id<impl Lt<'a>>> + | ^^ + +error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level + --> $DIR/E0657.rs:19:35 + | +LL | -> Box<for<'a> Id<impl Lt<'a>>> + | ^^ + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0657`. |