rust/tests/ui/lint/dead-code/leading-underscore.rs
许杰友 Jieyou Xu (Joe) 95ff642797 tests: remove //@ pretty-expanded usages
Done with

```bash
sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs
```

and

```
sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs
```
2024-11-26 02:50:48 +08:00

31 lines
275 B
Rust

//@ run-pass
#![deny(dead_code)]
static _X: usize = 0;
fn _foo() {}
struct _Y {
_z: usize,
}
enum _Z {}
impl _Y {
fn _bar() {}
}
type _A = isize;
mod _bar {
fn _qux() {}
}
extern "C" {
#[link_name = "abort"]
fn _abort() -> !;
}
pub fn main() {}