rust/tests/ui/lint/lint-cap-trait-bounds.rs
2024-02-16 20:02:50 +00:00

9 lines
170 B
Rust

// Regression test for https://github.com/rust-lang/rust/issues/43134
//@ check-pass
//@ compile-flags: --cap-lints allow
type Foo<T: Clone> = Option<T>;
fn main() {}