]> git.lizzy.rs Git - rust.git/blob - tests/ui/crashes/regressions.rs
Auto merge of #6298 - JohnTitor:fix-example, r=llogiq
[rust.git] / tests / ui / crashes / regressions.rs
1 #![allow(clippy::blacklisted_name)]
2
3 pub fn foo(bar: *const u8) {
4     println!("{:#p}", bar);
5 }
6
7 // Regression test for https://github.com/rust-lang/rust-clippy/issues/4917
8 /// <foo
9 struct A {}
10
11 fn main() {}