Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
src
/
test
/
ui
/
regions
/
regions-expl-self.rs
blob: f7315d628a57e2daed695deddf51eb581e47619d [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// Test that you can insert an explicit lifetime in explicit self.
// pretty-expanded FIXME #23616
struct
Foo
{
f
:
usize
}
impl
Foo
{
pub
fn
foo
<
'a>(&'
a
self
)
{}
}
pub
fn
main
()
{}