]> git.lizzy.rs Git - rust.git/blob - tests/ui/regions/regions-bound-lists-feature-gate.rs
internally change regions to be covariant
[rust.git] / tests / ui / regions / regions-bound-lists-feature-gate.rs
1 // run-pass
2 #![allow(dead_code)]
3 #![allow(unused_variables)]
4 #![allow(stable_features)]
5
6 #![feature(issue_5723_bootstrap)]
7
8 trait Foo {
9     fn dummy(&self) { }
10 }
11
12 fn foo<'a>(x: Box<dyn Foo + 'a>) {
13 }
14
15 fn bar<'a, T: 'a>() {
16 }
17
18 pub fn main() { }