mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
14 lines
148 B
Rust
14 lines
148 B
Rust
//@ check-pass
|
|
|
|
#![allow(unused)]
|
|
struct Mappable;
|
|
|
|
impl Mappable {
|
|
pub fn map(&self) {}
|
|
}
|
|
|
|
fn main() {
|
|
let m = Mappable {};
|
|
m.map();
|
|
}
|