diff options
Diffstat (limited to 'src/test/ui/typeck/autoderef-with-param-env-error.stderr')
-rw-r--r-- | src/test/ui/typeck/autoderef-with-param-env-error.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/typeck/autoderef-with-param-env-error.stderr b/src/test/ui/typeck/autoderef-with-param-env-error.stderr new file mode 100644 index 000000000..cde800336 --- /dev/null +++ b/src/test/ui/typeck/autoderef-with-param-env-error.stderr @@ -0,0 +1,12 @@ +error[E0412]: cannot find type `T` in this scope + --> $DIR/autoderef-with-param-env-error.rs:3:5 + | +LL | fn foo() + | - help: you might be missing a type parameter: `<T>` +LL | where +LL | T: Send, + | ^ not found in this scope + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0412`. |