Sign in
rust
/
rust
/
refs/heads/stable
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
map_unit_fn.rs
blob: 3a810196a44db3c37a96bd931aa4b85cc1118172 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
allow
(
unused
)]
struct
Mappable
;
impl
Mappable
{
pub
fn
map
(&
self
)
{}
}
fn
main
()
{
let
m
=
Mappable
{};
m
.
map
();
}