rust/tests/ui/regions/regions-bound-lists-feature-gate.rs
2024-02-16 20:02:50 +00:00

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() { }