pub trait Hasher {
fn write(&mut self, bytes: &[u8]);
fn write_u8(&mut self, i: u8) {
self.write(&[i])
}
}
I expected to see this happen: It works.
rust1: internal compiler error: in visit_generic_predicates, at rust/privacy/rust-reachability.cc:56
0x204e319 internal_error(char const*, ...)
???:0
0x8027ef fancy_abort(char const*, int, char const*)
???:0
0x9ceb45 Rust::Privacy::Resolver::resolve(Rust::HIR::Crate&)
???:0
0x8c8927 Rust::Session::parse_file(char const*)
???:0
0x8c9548 Rust::Session::parse_files(int, char const**)
???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1