]> git.lizzy.rs Git - rust.git/blob - src/test/ui/track-diagnostics/track.rs
Rollup merge of #103117 - joshtriplett:use-is-terminal, r=eholk
[rust.git] / src / test / ui / track-diagnostics / track.rs
1 // compile-flags: -Z track-diagnostics
2 // error-pattern: created at
3
4 // Normalize the emitted location so this doesn't need
5 // updating everytime someone adds or removes a line.
6 // normalize-stderr-test ".rs:\d+:\d+" -> ".rs:LL:CC"
7 // normalize-stderr-test "note: rustc .+ running on .+" -> "note: rustc $$VERSION running on $$TARGET"
8
9 fn main() {
10     break rust
11 }