rust/tests/ui/crashes/regressions.rs

12 lines
206 B
Rust
Raw Normal View History

2018-07-30 04:33:44 -05:00
#![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
2022-03-27 07:41:09 -05:00
struct A;
fn main() {}