Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
lint
/
lint-cap-trait-bounds.rs
blob: e3806082ee1bfb46faaa4d30d660170727ac65cc [
file
] [
log
] [
blame
] [
edit
]
// 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
()
{}