rust/tests/ui/feature-gates/feature-gate-trivial_bounds-lint.rs
2023-01-11 09:32:08 +00:00

9 lines
149 B
Rust

// run-pass
#![allow(unused)]
#![deny(trivial_bounds)] // Ignored without the trivial_bounds feature flag.
struct A where i32: Copy;
fn main() {}