rust-clippy/tests/ui/crashes/regressions.rs
2022-03-30 20:12:58 +02:00

11 lines
206 B
Rust

#![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() {}