fix borrowed props with temp values

This commit is contained in:
Evan Almloff committed 2023-08-12 19:19:46 -05:00
1 parent bdfb3b6285
commit d559fdaeab
4 files changed
+40 -1

No files matched your search

+1
View File
@@ -79,4 +79,5 @@ pub fn fc_to_builder<'a, T: Properties + 'a>(_: fn(Scope<'a, T>) -> Element<'a>)
fn unsafe_props_fail() {
let t = trybuild::TestCases::new();
t.compile_fail("compile_tests/props_safety.rs");
t.compile_fail("compile_tests/props_safety_temporary_values.rs");
}