]>
Commit | Line | Data |
---|---|---|
416331ca XL |
1 | struct Reactor { |
2 | input_cells: Vec<usize>, | |
3 | } | |
4 | ||
5 | impl Reactor { | |
6 | pub fn new() -> Self { | |
7 | input_cells: Vec::new() | |
8 | //~^ ERROR cannot find value `input_cells` in this scope | |
9 | //~| ERROR parenthesized type parameters may only be used with a `Fn` trait | |
fc512014 | 10 | //~| ERROR wrong number of type arguments: expected at least 1, found 0 |
416331ca XL |
11 | } |
12 | } | |
13 | ||
14 | // This case isn't currently being handled gracefully, including for completeness. | |
e1599b0c | 15 | fn main() {} |