]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/issue-100075.stderr
Be more careful about unresolved exprs in suggestion
[rust.git] / src / test / ui / impl-trait / issue-100075.stderr
1 error[E0720]: cannot resolve opaque type
2   --> $DIR/issue-100075.rs:13:37
3    |
4 LL | fn _g<T>(t: &'static T) -> &'static impl Marker {
5    |                                     ^^^^^^^^^^^ recursive opaque type
6 ...
7 LL |         return _g(t);
8    |                ----- returning here with type `&impl Marker`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0720`.