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> {
40
40
}
41
41
42
42
impl Qualifs < ' mir , ' tcx > {
43
- fn indirectly_mutable (
43
+ pub fn indirectly_mutable (
44
44
& mut self ,
45
45
ccx : & ' mir ConstCx < ' mir , ' tcx > ,
46
46
local : Local ,
@@ -68,7 +68,7 @@ impl Qualifs<'mir, 'tcx> {
68
68
/// Returns `true` if `local` is `NeedsDrop` at the given `Location`.
69
69
///
70
70
/// Only updates the cursor if absolutely necessary
71
- fn needs_drop (
71
+ pub fn needs_drop (
72
72
& mut self ,
73
73
ccx : & ' mir ConstCx < ' mir , ' tcx > ,
74
74
local : Local ,
@@ -95,7 +95,7 @@ impl Qualifs<'mir, 'tcx> {
95
95
/// Returns `true` if `local` is `HasMutInterior` at the given `Location`.
96
96
///
97
97
/// Only updates the cursor if absolutely necessary.
98
- fn has_mut_interior (
98
+ pub fn has_mut_interior (
99
99
& mut self ,
100
100
ccx : & ' mir ConstCx < ' mir , ' tcx > ,
101
101
local : Local ,
You can’t perform that action at this time.
0 commit comments