summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/regressions.rs
blob: 6f9d98bbfe7f341b8b166800314b77495ba0697a (plain)
1
2
3
4
5
6
7
8
9
10
11
#![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() {}