File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/librustc_mir/transform/check_consts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ pub struct Qualifs<'mir, 'tcx> {
4040}
4141
4242impl Qualifs < ' mir , ' tcx > {
43- fn indirectly_mutable (
43+ pub fn indirectly_mutable (
4444 & mut self ,
4545 ccx : & ' mir ConstCx < ' mir , ' tcx > ,
4646 local : Local ,
@@ -68,7 +68,7 @@ impl Qualifs<'mir, 'tcx> {
6868 /// Returns `true` if `local` is `NeedsDrop` at the given `Location`.
6969 ///
7070 /// Only updates the cursor if absolutely necessary
71- fn needs_drop (
71+ pub fn needs_drop (
7272 & mut self ,
7373 ccx : & ' mir ConstCx < ' mir , ' tcx > ,
7474 local : Local ,
@@ -95,7 +95,7 @@ impl Qualifs<'mir, 'tcx> {
9595 /// Returns `true` if `local` is `HasMutInterior` at the given `Location`.
9696 ///
9797 /// Only updates the cursor if absolutely necessary.
98- fn has_mut_interior (
98+ pub fn has_mut_interior (
9999 & mut self ,
100100 ccx : & ' mir ConstCx < ' mir , ' tcx > ,
101101 local : Local ,
You can’t perform that action at this time.
0 commit comments