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

13 lines
152 B
Rust
Raw Normal View History

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