rust/tests/ui/feature-gates/feature-gate-trivial_bounds-lint.rs
2024-02-16 20:02:50 +00:00

9 lines
150 B
Rust

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