]> git.lizzy.rs Git - rust.git/blob - tests/ui/map_unit_fn.rs
Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup
[rust.git] / tests / ui / map_unit_fn.rs
1 #![allow(unused)]
2 struct Mappable;
3
4 impl Mappable {
5     pub fn map(&self) {}
6 }
7
8 fn main() {
9     let m = Mappable {};
10     m.map();
11 }