]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-18532.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-18532.rs
1 // Test that overloaded call parameter checking does not ICE
2 // when a type error or unconstrained type variable propagates
3 // into it.
4
5 fn main() {
6     (return)((),()); //~ ERROR expected function, found `!`
7 }