Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-72278.rs
blob: 92fd1f73a937f78833a94caf97326a5897604d06 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
unused
)]
struct
S
;
impl
S
{
fn
func
<
'a, U>(&'
a
self
)
->
U
{
todo
!()
}
}
fn
dont_crash
<
'
a
,
U
>()
->
U
{
S
.
func
::<
'
a
,
U
>()
//~^ WARN cannot specify lifetime arguments explicitly
//~| WARN this was previously accepted
}
fn
main
()
{}