fork/rust

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

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

master
569 B16 linesraw
1error[E0277]: the trait bound `[T; N]: Foo` is not satisfied
2  --> $DIR/const-param-placeholder.rs:17:17
3   |
4LL |     needs_foo::<[T; N]>();
5   |                 ^^^^^^ the trait `Foo` is not implemented for `[T; N]`
6   |
7   = help: the trait `Foo` is implemented for `[T; 1]`
8note: required by a bound in `needs_foo`
9  --> $DIR/const-param-placeholder.rs:8:17
10   |
11LL | fn needs_foo<F: Foo>() {}
12   |                 ^^^ required by this bound in `needs_foo`
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0277`.