fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
419 B12 linesraw
1error[E0049]: method `bar` has 0 type parameters but its trait declaration has 1 type parameter
2  --> $DIR/trait-more-generics-than-impl.rs:11:11
3   |
4LL |     fn bar<T>() -> impl Sized;
5   |            - expected 1 type parameter
6...
7LL |     fn bar() -> impl Sized {}
8   |           ^ found 0 type parameters
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0049`.