You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(definition of Node ommitted, the bug already occurs in this short snippet)
I expected to see this happen: The compiler should complain about the not existent naming of the second parameter of append_nodes.
Instead, this happened: Compiler said:
bug_example.rs:7:28: 7:31 error: internal compiler error: ident only path should have been covered already
bug_example.rs:7 fn append_nodes(&self, Vec<Node>) {
^~~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:129
I tried this code:
(definition of
Node
ommitted, the bug already occurs in this short snippet)I expected to see this happen: The compiler should complain about the not existent naming of the second parameter of
append_nodes
.Instead, this happened: Compiler said:
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: