mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
parent
823f805453
commit
c6ab5b0829
@ -674,7 +674,7 @@ fn mk_pointer<'tcx, AC: AstConv<'tcx>, RS: RegionScope>(
|
||||
return constr(ty::mk_str(tcx));
|
||||
}
|
||||
RPtr(r) => {
|
||||
return ty::mk_str_slice(tcx, r, ast::MutImmutable);
|
||||
return ty::mk_str_slice(tcx, r, a_seq_mutbl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user