rust/tests/ui/feature-gates/feature-gate-trivial_bounds...

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() {}