Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
regions
/
regions-free-region-outlives-static-outlives-free-region.rs
blob: f464cab75541d426cb0baaf85413482d4dd4d326 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// Test that we recognize that if you have
//
// 'a : 'static
//
// then
//
// 'a : 'b
fn
test
<
'a,'
b
>(
x
:
&
'a i32) -> &'
b i32
where
'a: '
static
{
x
}
fn
main
()
{
}