mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
19 lines
245 B
Rust
19 lines
245 B
Rust
//@ 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() { }
|