Sign in
◑
Theme
rust
/
rust
/
df734af6ae8a7fdc287c5da23fe610573bf2a761
/
.
/
tests
/
ui
/
parser
/
trait-object-polytrait-priority.rs
blob: a21128cb92c050934d735b2bf2c335ec313527d5 [
file
]
//@ edition:2015..2021
#![
allow
(
bare_trait_objects
)]
trait
Trait
<
'
a
>
{}
fn
main
()
{
let
_
:
&
for
<
'a> Trait<'
a
>
+
'
static
;
//~^ ERROR expected a path on the left-hand side of `+`
//~| HELP try adding parentheses
}