Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
parser
/
assoc
/
assoc-const-underscore-syntactic-pass.rs
blob: 60da408c8115351859b9bf2bcd113882a0927a93 [
file
] [
log
] [
blame
]
// All constant items (associated or otherwise) may syntactically use `_` as a name.
// check-pass
fn
main
()
{}
#[
cfg
(
FALSE
)]
const
_
:
()
=
{
pub
trait
A
{
const
_
:
()
=
();
}
impl
A
for
()
{
const
_
:
()
=
();
}
impl
dyn A
{
const
_
:
()
=
();
}
};