diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-21974.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-21974.stderr b/src/test/ui/issues/issue-21974.stderr new file mode 100644 index 000000000..4e010a136 --- /dev/null +++ b/src/test/ui/issues/issue-21974.stderr @@ -0,0 +1,11 @@ +error[E0283]: type annotations needed: cannot satisfy `&'a T: Foo` + --> $DIR/issue-21974.rs:11:19 + | +LL | where &'a T : Foo, + | ^^^ + | + = note: cannot satisfy `&'a T: Foo` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0283`. |