This change makes error and warning annotations mandatory in UI tests. The only exception are tests that use error patterns to match compiler output and don't have any annotations.
6 lines
200 B
Rust
6 lines
200 B
Rust
// build-pass (FIXME(62277): could be check-pass?)
|
|
|
|
fn main() {
|
|
let s = "ZͨA͑ͦ͒͋ͤ͑̚L̄͑͋Ĝͨͥ̿͒̽̈́Oͥ͛ͭ!̏"; while true { break; } //~ WARNING while_true
|
|
println!("{}", s);
|
|
}
|