2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2018-09-25 23:51:35 +02:00
|
|
|
#![allow(dead_code)]
|
|
|
|
#![allow(unused_variables)]
|
2018-08-31 15:02:01 +02:00
|
|
|
#![allow(stable_features)]
|
|
|
|
|
2014-05-02 14:04:26 -04:00
|
|
|
#![feature(issue_5723_bootstrap)]
|
|
|
|
|
2015-02-12 10:29:52 -05:00
|
|
|
trait Foo {
|
|
|
|
fn dummy(&self) { }
|
|
|
|
}
|
2014-05-02 14:04:26 -04:00
|
|
|
|
2019-05-28 14:47:21 -04:00
|
|
|
fn foo<'a>(x: Box<dyn Foo + 'a>) {
|
2014-05-02 14:04:26 -04:00
|
|
|
}
|
|
|
|
|
2014-06-14 11:03:34 -07:00
|
|
|
fn bar<'a, T: 'a>() {
|
2014-05-02 14:04:26 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
pub fn main() { }
|