Sign in
fuchsia
/
third_party
/
rust
/
5fd9c059efaa76efeb2c85782a94aec343fd8bdc
/
.
/
src
/
test
/
ui
/
const-generics
/
issues
/
issue-92186.rs
blob: 9ced4667d249a887cc3ade7507d4e368a1098eec [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
generic_const_exprs
)]
#![
allow
(
incomplete_features
)]
pub
struct
Foo
<
const
N
:
usize
>;
pub
trait
Bar
<
T
>
{}
impl
<
T
>
Bar
<
T
>
for
Foo
<{
1
}>
{}
impl
<
T
>
Bar
<
T
>
for
Foo
<{
2
}>
{}
fn
main
()
{}