Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
impl-trait
/
issue-67166.rs
blob: efa67558bd7c17446cb3054042e076e05523aecb [
file
] [
log
] [
blame
]
// 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
()
{}