Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
ui
/
higher-rank-trait-bounds
/
hrtb-wrong-kind.rs
blob: 1a9bb252340a6f1d0048fa0235341e3f24099507 [
file
] [
log
] [
blame
]
fn
a
()
where
for
<
T
>
T
:
Copy
{}
//~^ ERROR only lifetime parameters can be used in this context
fn
b
()
where
for
<
const
C
:
usize
>
[();
C
]:
Copy
{}
//~^ ERROR only lifetime parameters can be used in this context
fn
main
()
{}