summaryrefslogtreecommitdiffstats
path: root/src/test/ui/type/type-arg-out-of-scope.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/type/type-arg-out-of-scope.stderr')
-rw-r--r--src/test/ui/type/type-arg-out-of-scope.stderr23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/ui/type/type-arg-out-of-scope.stderr b/src/test/ui/type/type-arg-out-of-scope.stderr
deleted file mode 100644
index 7f18b4510..000000000
--- a/src/test/ui/type/type-arg-out-of-scope.stderr
+++ /dev/null
@@ -1,23 +0,0 @@
-error[E0401]: can't use generic parameters from outer function
- --> $DIR/type-arg-out-of-scope.rs:3:29
- |
-LL | fn foo<T>(x: T) {
- | - type parameter from outer function
-LL | fn bar(f: Box<dyn FnMut(T) -> T>) { }
- | - ^ use of generic parameter from outer function
- | |
- | help: try using a local generic parameter instead: `<T>`
-
-error[E0401]: can't use generic parameters from outer function
- --> $DIR/type-arg-out-of-scope.rs:3:35
- |
-LL | fn foo<T>(x: T) {
- | - type parameter from outer function
-LL | fn bar(f: Box<dyn FnMut(T) -> T>) { }
- | - ^ use of generic parameter from outer function
- | |
- | help: try using a local generic parameter instead: `<T>`
-
-error: aborting due to 2 previous errors
-
-For more information about this error, try `rustc --explain E0401`.