Sign in
fuchsia
/
third_party
/
rust
/
2c4bf249bd47f232de3c1e78ffe69b40c29bfcca
/
.
/
tests
/
ui
/
regions
/
regions-expl-self.rs
blob: 812201d7e52a66d85bb86c2d7a1529e743ba5d56 [
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
()
{}