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