blob: 8fda12fab06a830a2f3e2549f63982f51e47af63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//@ check-pass
#![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() {}
|