summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/issue-54966.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/issue-54966.stderr')
-rw-r--r--tests/ui/impl-trait/issue-54966.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/impl-trait/issue-54966.stderr b/tests/ui/impl-trait/issue-54966.stderr
new file mode 100644
index 000000000..aa9a61cb5
--- /dev/null
+++ b/tests/ui/impl-trait/issue-54966.stderr
@@ -0,0 +1,9 @@
+error[E0412]: cannot find type `Oper` in this scope
+ --> $DIR/issue-54966.rs:3:27
+ |
+LL | fn generate_duration() -> Oper<impl FnMut()> {}
+ | ^^^^ not found in this scope
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0412`.