Sign in
fuchsia
/
third_party
/
rust
/
a77f76e26302e9a084fb321817675b1dfc1dcd63
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
as_underscore.rs
blob: 70f3b386631c44caada3c7e755c25b4988de1536 [
file
] [
log
] [
blame
]
#![
warn
(
clippy
::
as_underscore
)]
fn
foo
(
_n
:
usize
)
{}
fn
main
()
{
let
n
:
u16
=
256
;
foo
(
n
as
_
);
let
n
=
0
_u128
;
let
_n
:
u8
=
n
as
_
;
}