blob: f507ad385a171878801c7e2cd854f57de194d15b [file] [log] [blame]
error[E0792]: expected generic type parameter, found `impl Sized`
--> $DIR/fuzzer-ice-issue-112201.rs:11:5
|
LL | fn repeat_helper<T>(x: T) -> impl Sized {
| - this generic parameter must be used with a generic type parameter
LL | return x;
LL | repeat_helper(wrap(x))
| ^^^^^^^^^^^^^^^^^^^^^^
error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
--> $DIR/fuzzer-ice-issue-112201.rs:11:5
|
LL | repeat_helper(wrap(x))
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0792`.