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