Sign in
fuchsia
/
third_party
/
rust
/
68096ccb3f37dcdd0c454ced5496dda78589aae9
/
.
/
src
/
test
/
ui
/
lint
/
lint-dead-code-type-alias.rs
blob: 86daf3ea04dbd91c18455b536983fceb7b04498e [
file
] [
log
] [
blame
]
#![
deny
(
dead_code
)]
type
Used
=
u8
;
type
Unused
=
u8
;
//~ ERROR type alias is never used
fn
id
(
x
:
Used
)
->
Used
{
x
}
fn
main
()
{
id
(
0
);
}