2019-06-04 05:17:07 +00:00
|
|
|
#[test]
|
|
|
|
fn test_compile_errors() {
|
|
|
|
let t = trybuild::TestCases::new();
|
2020-03-06 05:01:27 +00:00
|
|
|
t.compile_fail("tests/ui/invalid_macro_args.rs");
|
2020-02-08 18:50:55 +00:00
|
|
|
t.compile_fail("tests/ui/invalid_property_args.rs");
|
2020-03-22 08:13:02 +00:00
|
|
|
t.compile_fail("tests/ui/invalid_pyclass_args.rs");
|
2020-01-13 22:56:16 +00:00
|
|
|
t.compile_fail("tests/ui/missing_clone.rs");
|
2019-06-04 05:17:07 +00:00
|
|
|
t.compile_fail("tests/ui/reject_generics.rs");
|
2020-04-20 17:44:31 +00:00
|
|
|
t.compile_fail("tests/ui/wrong_aspyref_lifetimes.rs");
|
2020-06-18 09:16:01 +00:00
|
|
|
t.compile_fail("tests/ui/static_ref.rs");
|
|
|
|
#[cfg(not(feature = "nightly"))]
|
|
|
|
t.compile_fail("tests/ui/invalid_pymethod_names.rs");
|
2019-06-04 05:17:07 +00:00
|
|
|
}
|