Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
traits
/
non_lifetime_binders
/
bad-copy-cond.rs
blob: 506cad25f630ceb6408a7c3a5f6c42052d4d2074 [
file
] [
log
] [
blame
]
#![
feature
(
non_lifetime_binders
)]
//~^ WARN the feature `non_lifetime_binders` is incomplete
fn
foo
()
where
for
<
T
>
T
:
Copy
{}
fn
main
()
{
foo
();
//~^ ERROR the trait bound `T: Copy` is not satisfied
}