mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 16:45:37 +00:00
12 lines
206 B
Rust
12 lines
206 B
Rust
#![allow(clippy::disallowed_names)]
|
|
|
|
pub fn foo(bar: *const u8) {
|
|
println!("{:#p}", bar);
|
|
}
|
|
|
|
// Regression test for https://github.com/rust-lang/rust-clippy/issues/4917
|
|
/// <foo
|
|
struct A;
|
|
|
|
fn main() {}
|