fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0658]: associated const equality is incomplete 2 --> $DIR/issue-89013-no-kw.rs:9:10 3 | 4LL | impl Foo<N = 3> for Bar { 5 | ^^^^^ 6 | 7 = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information 8 = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable 9 10error[E0107]: trait takes 1 generic argument but 0 generic arguments were supplied 11 --> $DIR/issue-89013-no-kw.rs:9:6 12 | 13LL | impl Foo<N = 3> for Bar { 14 | ^^^ expected 1 generic argument 15 | 16note: trait defined here, with 1 generic parameter: `N` 17 --> $DIR/issue-89013-no-kw.rs:1:7 18 | 19LL | trait Foo<const N: usize> { 20 | ^^^ -------------- 21help: add missing generic argument 22 | 23LL | impl Foo<N, N = 3> for Bar { 24 | ++ 25 26error[E0229]: associated type bindings are not allowed here 27 --> $DIR/issue-89013-no-kw.rs:9:10 28 | 29LL | impl Foo<N = 3> for Bar { 30 | ^^^^^ associated type not allowed here 31 32error: aborting due to 3 previous errors 33 34Some errors have detailed explanations: E0107, E0229, E0658. 35For more information about an error, try `rustc --explain E0107`.