]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | #![allow(dead_code)] |
94b46f34 | 2 | |
8faf50e0 XL |
3 | fn missing_discourses() -> Result<isize, ()> { |
4 | Ok(1) | |
5 | } | |
94b46f34 | 6 | |
8faf50e0 XL |
7 | fn forbidden_narratives() -> Result<isize, ()> { |
8 | missing_discourses()? | |
c295e0f8 | 9 | //~^ ERROR: `?` operator has incompatible types |
83c7162d | 10 | } |
9e0c209e SL |
11 | |
12 | fn main() {} |