1 // Various tests related to testing how region inference works
2 // with respect to the object receivers.
8 fn borrowed<'a>(&'a self) -> &'a ();
11 // Here the receiver and return value all have the same lifetime,
12 // so no error results.
13 fn borrowed_receiver_same_lifetime<'a>(x: &'a Foo) -> &'a () {