Rustup to rustc 1.48.0-nightly (c59199efc 2020-09-04)

This commit is contained in:
bjorn3 2020-09-05 10:38:49 +02:00
parent c9b0d5119b
commit 217b3818b7
15 changed files with 121 additions and 81 deletions

View file

@ -170,7 +170,7 @@ impl<'tcx> DebugContext<'tcx> {
let name = format!("{}", ty);
let layout = self.tcx.layout_of(ParamEnv::reveal_all().and(ty)).unwrap();
let type_id = match ty.kind {
let type_id = match ty.kind() {
ty::Bool => primitive(&mut self.dwarf, gimli::DW_ATE_boolean),
ty::Char => primitive(&mut self.dwarf, gimli::DW_ATE_UTF),
ty::Uint(_) => primitive(&mut self.dwarf, gimli::DW_ATE_unsigned),