Rustup to rustc 1.48.0-nightly (c59199efc 2020-09-04)
This commit is contained in:
parent
c9b0d5119b
commit
217b3818b7
15 changed files with 121 additions and 81 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue