mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
95ff642797
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
12 lines
143 B
Rust
12 lines
143 B
Rust
//@ check-pass
|
|
|
|
trait T {
|
|
unsafe extern "Rust" fn foo(&self);
|
|
}
|
|
|
|
impl T for () {
|
|
unsafe extern "Rust" fn foo(&self) {}
|
|
}
|
|
|
|
fn main() {}
|