rust/src/test/run-pass/regions/regions-bound-lists-feature-gate.rs

19 lines
240 B
Rust
Raw Normal View History

// run-pass
#![allow(dead_code)]
#![allow(unused_variables)]
#![allow(stable_features)]
#![feature(issue_5723_bootstrap)]
trait Foo {
fn dummy(&self) { }
}
2014-06-14 18:03:34 +00:00
fn foo<'a>(x: Box<Foo + 'a>) {
}
2014-06-14 18:03:34 +00:00
fn bar<'a, T: 'a>() {
}
pub fn main() { }