From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../fn-help-with-err-generic-is-not-function.stderr | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr (limited to 'tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr') diff --git a/tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr b/tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr new file mode 100644 index 000000000..9d4ea0115 --- /dev/null +++ b/tests/ui/functions-closures/fn-help-with-err-generic-is-not-function.stderr @@ -0,0 +1,20 @@ +error[E0412]: cannot find type `T` in this scope + --> $DIR/fn-help-with-err-generic-is-not-function.rs:2:13 + | +LL | impl Struct + | ^ not found in this scope + | +help: you might be missing a type parameter + | +LL | impl Struct + | +++ + +error[E0412]: cannot find type `T` in this scope + --> $DIR/fn-help-with-err-generic-is-not-function.rs:7:5 + | +LL | T: Copy, + | ^ not found in this scope + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0412`. -- cgit v1.2.3