Given the following code:
struct Wat {
start: (),
}
impl Wat {
fn new() -> Wat {
Wat { start }
}
}
The current output is:
expected value, found built-in attribute `start`
a field by this name exists in `Self` [E0423]
I frankly have no idea what it's on about and I was surprised that it doesn't just tell me it can't find the variable of that name.
Given the following code:
The current output is:
I frankly have no idea what it's on about and I was surprised that it doesn't just tell me it can't find the variable of that name.