fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0597]: `line` does not live long enough 2 --> $DIR/regions-pattern-typing-issue-19552.rs:5:14 3 | 4LL | match [&*line] { 5 | ^^^^ borrowed value does not live long enough 6LL | [ word ] => { assert_static(word); } 7 | ------------------- argument requires that `line` is borrowed for `'static` 8LL | } 9LL | } 10 | - `line` dropped here while still borrowed 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0597`.