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