• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

f<'a: 'static>(_: &'a i32)1 fn f<'a: 'static>(_: &'a i32) {}
2 
main()3 fn main() {
4     let x = 0;
5     f(&x); //~ERROR does not live long enough
6 }
7