mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-21 02:23:19 +00:00
13 lines
221 B
Rust
13 lines
221 B
Rust
// run-pass
|
|
|
|
#![allow(clippy::blacklisted_name)]
|
|
|
|
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() {}
|