mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
Add nested
bool to DefKind::Static
.
Will be used in the next commit
This commit is contained in:
parent
b205192f65
commit
013bf92dcc
@ -109,7 +109,7 @@ fn collect_unsafe_exprs<'tcx>(
|
|||||||
ExprKind::Path(QPath::Resolved(
|
ExprKind::Path(QPath::Resolved(
|
||||||
_,
|
_,
|
||||||
hir::Path {
|
hir::Path {
|
||||||
res: Res::Def(DefKind::Static{mt:Mutability::Mut}, _),
|
res: Res::Def(DefKind::Static{mt:Mutability::Mut, ..}, _),
|
||||||
..
|
..
|
||||||
},
|
},
|
||||||
)) => {
|
)) => {
|
||||||
@ -149,7 +149,7 @@ fn collect_unsafe_exprs<'tcx>(
|
|||||||
ExprKind::Path(QPath::Resolved(
|
ExprKind::Path(QPath::Resolved(
|
||||||
_,
|
_,
|
||||||
hir::Path {
|
hir::Path {
|
||||||
res: Res::Def(DefKind::Static{mt:Mutability::Mut}, _),
|
res: Res::Def(DefKind::Static{mt:Mutability::Mut, ..}, _),
|
||||||
..
|
..
|
||||||
}
|
}
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user