rust/tests/ui/regions/regions-bound-lists-feature-gate.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
244 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) { }
}
2019-05-28 13:47:21 -05:00
fn foo<'a>(x: Box<dyn Foo + 'a>) {
}
2014-06-14 13:03:34 -05:00
fn bar<'a, T: 'a>() {
}
pub fn main() { }