Change ty.kind to a method
This commit is contained in:
@@ -33,7 +33,7 @@ pub fn push_debuginfo_type_name<'tcx>(
|
||||
// .natvis visualizers (and perhaps other existing native debuggers?)
|
||||
let cpp_like_names = tcx.sess.target.target.options.is_like_msvc;
|
||||
|
||||
match t.kind {
|
||||
match *t.kind() {
|
||||
ty::Bool => output.push_str("bool"),
|
||||
ty::Char => output.push_str("char"),
|
||||
ty::Str => output.push_str("str"),
|
||||
|
||||
Reference in New Issue
Block a user