Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
associated-consts
/
issue-102335-const.rs
blob: fd922cd0f1d899110aa61acd6dd7997b8df6e0ed [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
associated_const_equality
)]
trait
T
{
type
A
:
S
<
C
<
X
=
0i32
>
=
34
>;
//~^ ERROR associated item constraints are not allowed here
//~| ERROR associated item constraints are not allowed here
}
trait
S
{
const
C
:
i32
;
}
fn
main
()
{}