]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/track-diagnostics.rs
Rollup merge of #107706 - tgross35:atomic-as-mut-ptr, r=m-ou-se
[rust.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;