Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
traits
/
non_lifetime_binders
/
on-rpit.rs
blob: 4d1cacb189083a14f57f7e4387dedc2d7091d8c0 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
feature
(
non_lifetime_binders
)]
//~^ WARN the feature `non_lifetime_binders` is incomplete
trait
Trait
<
T
:
?
Sized
>
{}
impl
<
T
:
?
Sized
>
Trait
<
T
>
for
i32
{}
fn
produce
()
->
impl
for
<
T
>
Trait
<
T
>
{
16
}
fn
main
()
{
let
_
=
produce
();
}