Sign in
android
/
toolchain
/
rustc
/
43f0694b1feb1296004d84509e01177159e71be0
/
.
/
src
/
test
/
ui
/
methods
/
method-call-lifetime-args-subst-index.rs
blob: 8df58a3486eb063d0b1d45c5aa4002d2116d03eb [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
allow
(
unused
)]
struct
S
;
impl
S
{
fn
early_and_type
<
'a, T>(self) -> &'
a T
{
loop
{}
}
}
fn
test
()
{
S
.
early_and_type
::<
u16
>();
}
fn
main
()
{}