Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
lint
/
lint-non-uppercase-associated-const.rs
blob: 7b0d9396077d040b63f4dd97f5c2bb6e6923b4bc [
file
] [
log
] [
blame
]
#![
deny
(
non_upper_case_globals
)]
#![
allow
(
dead_code
)]
struct
Foo
;
impl
Foo
{
const
not_upper
:
bool
=
true
;
}
//~^^ ERROR associated constant `not_upper` should have an upper case name
fn
main
()
{}