]> git.proxmox.com Git - rustc.git/blob - src/test/ui/track-diagnostics/track.rs
New upstream version 1.67.1+dfsg1
[rustc.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 }