Files
rust/tests/ui/map_unit_fn.rs
Guillaume Gomez f666fd6417 Update UI tests
2025-02-15 13:38:16 +01:00

14 lines
148 B
Rust

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