summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lifetimes/nested-binder-print.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lifetimes/nested-binder-print.stderr')
-rw-r--r--src/test/ui/lifetimes/nested-binder-print.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/lifetimes/nested-binder-print.stderr b/src/test/ui/lifetimes/nested-binder-print.stderr
new file mode 100644
index 000000000..32dd89693
--- /dev/null
+++ b/src/test/ui/lifetimes/nested-binder-print.stderr
@@ -0,0 +1,14 @@
+error[E0308]: mismatched types
+ --> $DIR/nested-binder-print.rs:6:18
+ |
+LL | let x: u32 = y;
+ | --- ^ expected `u32`, found fn pointer
+ | |
+ | expected due to this
+ |
+ = note: expected type `u32`
+ found fn pointer `for<'a> fn(for<'b> fn(TwoLt<'b, 'a>))`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0308`.