fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0053]: method `foo` has an incompatible generic parameter for trait `Foo` 2 --> $DIR/generics-mismatch.rs:11:18 3 | 4LL | trait Foo { 5 | --- 6LL | async fn foo<T>(); 7 | - expected type parameter 8... 9LL | impl Foo for () { 10 | --------------- 11LL | async fn foo<const N: usize>() {} 12 | ^^^^^^^^^^^^^^ found const parameter of type `usize` 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0053`.