fork/rust

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

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

master
404 B11 linesraw
1error[E0741]: `Foo<u8>` must implement `ConstParamTy` to be used as the type of a const generic parameter
2  --> $DIR/const-param-with-additional-obligations.rs:13:17
3   |
4LL | fn foo<const N: Foo<u8>>() {}
5   |                 ^^^^^^^
6   |
7   = note: `u8` must implement `Other`, but it does not
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0741`.