1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.
2. mir::Mutability -> ast::Mutability.
This commit is contained in:
parent
01a46509a4
commit
a7aec3f207
91 changed files with 292 additions and 319 deletions
|
|
@ -62,8 +62,8 @@ pub fn push_debuginfo_type_name<'tcx>(
|
|||
output.push('*');
|
||||
}
|
||||
match mutbl {
|
||||
hir::Mutability::Immutable => output.push_str("const "),
|
||||
hir::Mutability::Mutable => output.push_str("mut "),
|
||||
hir::Mutability::Not => output.push_str("const "),
|
||||
hir::Mutability::Mut => output.push_str("mut "),
|
||||
}
|
||||
|
||||
push_debuginfo_type_name(tcx, inner_type, true, output, visited);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue