]> git.lizzy.rs Git - rust.git/blob - src/test/ui/methods/method-call-lifetime-args-subst-index.rs
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / ui / methods / method-call-lifetime-args-subst-index.rs
1 // build-pass (FIXME(62277): could be check-pass?)
2 #![allow(unused)]
3
4 struct S;
5
6 impl S {
7     fn early_and_type<'a, T>(self) -> &'a T { loop {} }
8 }
9
10 fn test() {
11     S.early_and_type::<u16>();
12 }
13
14
15 fn main() {}