Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
in-band-lifetimes
/
mismatched_trait.rs
blob: 221f4fc271bbfe408e41c8caeaddb00f65a1b3e5 [
file
] [
log
] [
blame
]
#![
allow
(
warnings
)]
#![
feature
(
in_band_lifetimes
)]
trait
Get
{
fn
baz
(&
self
,
x
:
&
'a u32, y: &u32) -> &'
a u32
{
y
//~ ERROR explicit lifetime required
}
}
fn
main
()
{}