1 error[E0597]: `line` does not live long enough
2 --> $DIR/regions-pattern-typing-issue-19552.rs:5:14
5 | ^^^^ borrowed value does not live long enough
6 LL | [ word ] => { assert_static(word); }
7 | ------------------- argument requires that `line` is borrowed for `'static`
10 | - `line` dropped here while still borrowed
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0597`.