rust/src/test/ui/issues/issue-3563-2.rs
2018-12-25 21:08:33 -07:00

15 lines
244 B
Rust

// compile-pass
// pretty-expanded FIXME #23616
trait Canvas {
fn add_point(&self, point: &isize);
fn add_points(&self, shapes: &[isize]) {
for pt in shapes {
self.add_point(pt)
}
}
}
pub fn main() {}