Files
Saber Haj Rabiee 57272926ad fix: properly feature gating ui macro tests (Closes #3742) (#3756)
* fix: properly feature gating ui macro tests (Closes #3742)

* fix: wrongly gated main in test and added more gates

* docs: formatting
2025-03-22 09:48:08 -07:00

11 lines
358 B
Rust

#[cfg(not(feature = "__internal_erase_components"))]
#[test]
fn ui() {
let t = trybuild::TestCases::new();
#[cfg(all(feature = "nightly", rustc_nightly))]
t.compile_fail("tests/ui/component.rs");
#[cfg(all(feature = "nightly", rustc_nightly))]
t.compile_fail("tests/ui/component_absolute.rs");
t.compile_fail("tests/ui/server.rs");
}