]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-19398.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-19398.rs
1 // check-pass
2 // pretty-expanded FIXME #23616
3
4 trait T {
5     unsafe extern "Rust" fn foo(&self);
6 }
7
8 impl T for () {
9     unsafe extern "Rust" fn foo(&self) {}
10 }
11
12 fn main() {}