blob: e98d5e14fca62562b72a797d4a6e0eab059c19ea [file] [log] [blame]
// compile-flags: -Z borrowck=mir
#![allow(dead_code)]
use std::fmt::Debug;
fn bar<'a>(x: &'a u32) -> &'static dyn Debug {
x
//~^ ERROR unsatisfied lifetime constraints
}
fn main() {}