fork/rust

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

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

master
689 B18 linesraw
1warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
2  --> $DIR/mismatched-gat-subst-kind.rs:1:12
3   |
4LL | #![feature(generic_const_exprs)]
5   |            ^^^^^^^^^^^^^^^^^^^
6   |
7   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
8   = note: `#[warn(incomplete_features)]` on by default
9
10error[E0747]: constant provided when a type was expected
11  --> $DIR/mismatched-gat-subst-kind.rs:8:13
12   |
13LL | fn f<T: B<U<1i32> = ()>>() {}
14   |             ^^^^
15
16error: aborting due to previous error; 1 warning emitted
17
18For more information about this error, try `rustc --explain E0747`.