summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-trivial_bounds-lint.rs
blob: 8f68d5d6dd2d6a219566dc56512f345c7a3e2e59 (plain)
1
2
3
4
5
6
7
8
// run-pass

#![allow(unused)]
#![deny(trivial_bounds)] // Ignored without the trivial_bounds feature flag.

struct A where i32: Copy;

fn main() {}