Skip to main content

max / quasi

613 B · 14 lines History Blame Raw
1 //! One spelling per fact, and the refusal that keeps it that way.
2 //!
3 //! A select either marks its own options or is matched against a value. Both
4 //! is one fact said two ways, and the renderer marks an option that satisfies
5 //! either, so a field carrying both marks two the day they disagree. Nothing
6 //! downstream can catch it: makeover-webview is handed a list and a value with
7 //! no record of which spelling built them.
8
9 #[test]
10 fn a_field_that_marks_its_options_and_carries_a_value_is_refused() {
11 let cases = trybuild::TestCases::new();
12 cases.compile_fail("tests/ui/two_ways_of_marking.rs");
13 }
14