]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-trait/issue-100075.stderr
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[rust.git] / tests / 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`.