rust/tests/ui/map_unit_fn.rs
2019-10-15 09:58:11 +02:00

12 lines
134 B
Rust

#![allow(unused)]
struct Mappable {}
impl Mappable {
pub fn map(&self) {}
}
fn main() {
let m = Mappable {};
m.map();
}