Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
const-generics
/
const-parameter-uppercase-lint.rs
blob: 5d97907c2e7fa430fcc7852e82dabc769d1cc1e7 [
file
] [
log
] [
blame
]
// revisions: full min
#![
cfg_attr
(
full
,
feature
(
const_generics
))]
#![
cfg_attr
(
full
,
allow
(
incomplete_features
))]
#![
deny
(
non_upper_case_globals
)]
fn
noop
<
const
x
:
u32
>()
{
//~^ ERROR const parameter `x` should have an upper case name
}
fn
main
()
{}