Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
const-generics
/
generic_const_exprs
/
mismatched-gat-subst-kind.rs
blob: 734a37862940f05badaae18ecfb6232f24b8258d [
file
] [
log
] [
blame
]
#![
feature
(
generic_const_exprs
)]
//~^ WARN the feature `generic_const_exprs` is incomplete
trait
B
{
type
U
<
T
>;
}
fn
f
<
T
:
B
<
U
<
1i32
>
=
()>>()
{}
//~^ ERROR constant provided when a type was expected
fn
main
()
{}