fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0759]: `fn` parameter has lifetime `'x` but it needs to satisfy a `'static` lifetime requirement 2 --> $DIR/normalization-nested.rs:35:20 3 | 4LL | pub fn test<'x>(_: Map<Vec<&'x ()>>, s: &'x str) -> &'static str { 5 | ^^^^^^^^^^^^^^^^ 6 | | 7 | this data with lifetime `'x`... 8 | ...is used and required to live as long as `'static` here 9 | 10note: `'static` lifetime requirement introduced by this bound 11 --> $DIR/normalization-nested.rs:33:14 12 | 13LL | I::Item: 'static; 14 | ^^^^^^^ 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0759`.