rust-clippy/tests/ui/crashes/regressions.rs

12 lines
206 B
Rust
Raw Normal View History

2018-07-30 09:33:44 +00: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 12:41:09 +00:00
struct A;
fn main() {}