summaryrefslogtreecommitdiffstats
path: root/tests/ui/regions/regions-bound-lists-feature-gate.rs
blob: 3815498f86fbb8ee8f227f3cf513f51cefaf3dad (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() { }