rust/tests/ui/lint/issue-110573.rs

13 lines
153 B
Rust

//@ check-pass
#![deny(warnings)]
pub struct Struct;
impl Struct {
#[allow(non_upper_case_globals)]
pub const Const: () = ();
}
fn main() {}