mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
9 lines
183 B
Rust
9 lines
183 B
Rust
//@ aux-build:cci_class_5.rs
|
|
extern crate cci_class_5;
|
|
use cci_class_5::kitties::cat;
|
|
|
|
fn main() {
|
|
let nyan : cat = cat(52, 99);
|
|
nyan.nap(); //~ ERROR method `nap` is private
|
|
}
|