about summary refs log tree commit diff
path: root/src/debuginfo
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-09-05 10:38:49 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-09-05 10:38:49 +0200
commit217b3818b738eb1403e4664d186972c2ce00fe18 (patch)
tree313f397821059035128f44e12270f63f641156a0 /src/debuginfo
parentc9b0d5119b5d32deb433b332dfee1eaf4283c561 (diff)
downloadrust-217b3818b738eb1403e4664d186972c2ce00fe18.tar.gz
rust-217b3818b738eb1403e4664d186972c2ce00fe18.zip
Rustup to rustc 1.48.0-nightly (c59199efc 2020-09-04)
Diffstat (limited to 'src/debuginfo')
-rw-r--r--src/debuginfo/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debuginfo/mod.rs b/src/debuginfo/mod.rs
index 04330b6de60..70e0cf1a9e4 100644
--- a/src/debuginfo/mod.rs
+++ b/src/debuginfo/mod.rs
@@ -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),