mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
11 lines
237 B
Rust
11 lines
237 B
Rust
#![allow(clippy::disallowed_names, clippy::uninlined_format_args)]
|
|
|
|
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() {}
|