Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
tests
/
ui
/
traits
/
non_lifetime_binders
/
method-probe.rs
blob: 5f8e31446f523c1fcfec79f56dcabf325b10546c [
file
]
//@ check-pass
#![
feature
(
non_lifetime_binders
)]
//~^ WARN the feature `non_lifetime_binders` is incomplete
trait
Foo
:
for
<
T
>
Bar
<
T
>
{}
trait
Bar
<
T
>
{
fn
method
()
->
T
;
}
fn
x
<
T
:
Foo
>()
{
let
_
:
i32
=
T
::
method
();
}
fn
main
()
{}