2020-05-05 19:31:02 +02:00
|
|
|
use trybuild::TestCases;
|
|
|
|
|
|
|
|
#[test]
|
2020-05-05 19:57:13 +02:00
|
|
|
#[ignore]
|
|
|
|
fn trybuild_ui()
|
2020-05-05 19:31:02 +02:00
|
|
|
{
|
|
|
|
let t = TestCases::new();
|
|
|
|
|
|
|
|
// always enabled
|
|
|
|
t.compile_fail("tests/ui/from_body_enum.rs");
|
2020-05-08 18:39:11 +02:00
|
|
|
t.compile_fail("tests/ui/method_async_state.rs");
|
|
|
|
t.compile_fail("tests/ui/method_for_unknown_resource.rs");
|
|
|
|
t.compile_fail("tests/ui/method_no_resource.rs");
|
|
|
|
t.compile_fail("tests/ui/method_self.rs");
|
|
|
|
t.compile_fail("tests/ui/method_too_few_args.rs");
|
|
|
|
t.compile_fail("tests/ui/method_too_many_args.rs");
|
|
|
|
t.compile_fail("tests/ui/method_unsafe.rs");
|
2020-05-05 19:57:13 +02:00
|
|
|
}
|