]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-16683.rs
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[rust.git] / src / test / ui / issues / issue-16683.rs
1 trait T<'a> {
2     fn a(&'a self) -> &'a bool;
3     fn b(&self) {
4         self.a();
5         //~^ ERROR lifetime may not live long enough
6     }
7 }
8
9 fn main() {}