Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const-generics
/
issues
/
issue-98629.rs
blob: 1d2d3012a6ee1c535a9a93e83fd251809a1acd33 [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
const_trait_impl
)]
#[
const_trait
]
trait
Trait
{
const
N
:
usize
;
}
impl
const
Trait
for
i32
{}
//~^ ERROR not all trait items implemented, missing: `N`
fn
f
()
where
[();
<
i32
as
Trait
>::
N
]:,
{}
fn
main
()
{}