Skip to content

Commit

Permalink
Remove unneeded but benign change
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jan 11, 2019
1 parent 80262e6 commit 16a4e47
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_mir/transform/qualify_consts.rs
Expand Up @@ -359,7 +359,6 @@ impl<'a, 'tcx> Visitor<'tcx> for Qualifier<'a, 'tcx, 'tcx> {
LocalKind::ReturnPointer => {
self.not_const();
}
LocalKind::Arg |
LocalKind::Var if self.mode == Mode::Fn => {
self.add(Qualif::NOT_CONST);
}
Expand Down

0 comments on commit 16a4e47

Please sign in to comment.