summaryrefslogtreecommitdiffstats
path: root/tests/ui/track-diagnostics/track.rs
blob: 61b9137eadd90f3d0de9acdcbde63f8c022df37f (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-flags: -Z track-diagnostics
// error-pattern: created at

// Normalize the emitted location so this doesn't need
// updating everytime someone adds or removes a line.
// normalize-stderr-test ".rs:\d+:\d+" -> ".rs:LL:CC"
// normalize-stderr-test "note: rustc .+ running on .+" -> "note: rustc $$VERSION running on $$TARGET"

fn main() {
    break rust
}