]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/bounds-lifetime.stderr
Auto merge of #86155 - alexcrichton:abort-on-unwind, r=nikomatsakis
[rust.git] / src / test / ui / bounds-lifetime.stderr
index 21a7814626746a8bd66980bd8750620b41c966b1..a0395ed49045f75a3cf54f21d23a783e15af5ea5 100644 (file)
@@ -23,10 +23,10 @@ LL | type D = for<'a, T> fn();
    |                  ^
 
 error: only lifetime parameters can be used in this context
-  --> $DIR/bounds-lifetime.rs:5:14
+  --> $DIR/bounds-lifetime.rs:5:18
    |
-LL | type E = for<T> Fn();
-   |              ^
+LL | type E = dyn for<T> Fn();
+   |                  ^
 
 error: aborting due to 5 previous errors