blob: 44b47cc4eb2a267ca56292377c03071a65efdae4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
struct Reactor {
input_cells: Vec<usize>,
}
impl Reactor {
pub fn new() -> Self {
input_cells: Vec::new()
//~^ ERROR cannot find value `input_cells` in this scope
//~| ERROR parenthesized type parameters may only be used with a `Fn` trait
//~| ERROR missing generics for struct `Vec`
}
}
// This case isn't currently being handled gracefully, including for completeness.
fn main() {}
|