git-subtree-dir: ruma-events git-subtree-mainline: d59a616e2c363507a89c92f34aa67e86ee2cfb49 git-subtree-split: 00692d532e26f58d48ead9589dc823403c6e59a5
11 lines
359 B
Rust
11 lines
359 B
Rust
#[test]
|
|
fn ui() {
|
|
let t = trybuild::TestCases::new();
|
|
// rustc overflows when compiling this see:
|
|
// https://github.com/rust-lang/rust/issues/55779
|
|
// there is a workaround in the file.
|
|
t.pass("tests/ui/04-event-sanity-check.rs");
|
|
t.compile_fail("tests/ui/05-named-fields.rs");
|
|
t.compile_fail("tests/ui/06-no-content-field.rs");
|
|
}
|