]> git.proxmox.com Git - rustc.git/blob - tests/rustdoc-ui/track-diagnostics.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / rustdoc-ui / track-diagnostics.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
8 struct A;
9 struct B;
10 const S: A = B;