Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
lint
/
wide_pointer_comparisons-no_std.rs
blob: 745c9925f22a6bbe153131ac9c925c3aec7f32bd [
file
]
//@ check-pass
#![
no_std
]
#![
crate_type
=
"lib"
]
#![
allow
(
dead_code
)]
fn
cmp
(
a
:
*
mut
[
u8
],
b
:
*
mut
[
u8
])
->
bool
{
a
==
b
//~^ WARN ambiguous wide pointer comparison
}