]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-48364.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-48364.rs
1 fn foo() -> bool {
2     b"".starts_with(stringify!(foo))
3     //~^ ERROR mismatched types
4 }
5
6 fn main() {}