Hi!
I've just started learning Rust, reading the Rust book, and playing around with the examples. I've run into what looks like a very minor bug in the compiler. A single error triggers some extra error messages which I think are incorrect.
Compare this, which compiles fine:
with this, where I've just uncommented the last 2 lines:
and it gives error messages for lines 18 and 21, which were fine before (as well as a correct error message about line 26).
Is this actually a bug? I'm not sure, since I've just started learning Rust, and haven't actually read the chapter about traits yet (just read the docs and tried to rely on my intuition from other languages I know).
If it is a bug, is this even worth opening an issue about?