about summary refs log tree commit diff
path: root/tests/ui/regions/regions-bound-lists-feature-gate.rs
blob: 1bc2b7dd03efcf83270773aad9bb41f98c04a596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//@ run-pass
#![allow(dead_code)]
#![allow(unused_variables)]
#![allow(stable_features)]

#![feature(issue_5723_bootstrap)]

trait Foo {
    fn dummy(&self) { }
}

fn foo<'a>(x: Box<dyn Foo + 'a>) {
}

fn bar<'a, T: 'a>() {
}

pub fn main() { }