tidy fixes

This commit is contained in:
Saleem Jaffer 2019-07-27 17:56:45 +05:30
parent 307798aa38
commit aa3d40cd71
2 changed files with 6 additions and 4 deletions

View file

@ -270,7 +270,6 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
| UndefinedBehaviour(_) => {},
| InvalidProgram(_) => {},
| ResourceExhaustion(_) => {},
| Panic(_)
=> {
diagnostic.report_as_lint(