Sign in
fuchsia
/
third_party
/
rust
/
4ec9703467c6934bf0bc8be922f242226c32d0aa
/
.
/
src
/
test
/
ui
/
issues
/
issue-17718-const-naming.rs
blob: d30b95843f300a5c7b559f2158eb1795a53880d4 [
file
] [
log
] [
blame
]
#![
warn
(
unused
)]
#![
deny
(
warnings
)]
const
foo
:
isize
=
3
;
//~^ ERROR: should have an upper case name
//~^^ ERROR: constant item is never used
fn
main
()
{}