blob: efa67558bd7c17446cb3054042e076e05523aecb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Regression test for #67166
#![feature(impl_trait_in_bindings)]
#![allow(incomplete_features)]
pub fn run() {
let _foo: Box<impl Copy + '_> = Box::new(());
//~^ ERROR: missing lifetime specifier
}
fn main() {}
|