Rollup merge of #96026 - matthiaskrgr:clippy_compl_1304, r=Dylan-DPC
couple of clippy::complexity fixes
This commit is contained in:
commit
ba9c3a13ee
16 changed files with 25 additions and 29 deletions
|
@ -238,7 +238,7 @@ impl Session {
|
|||
}
|
||||
diag.emit();
|
||||
// If we should err, make sure we did.
|
||||
if must_err && !self.has_errors().is_some() {
|
||||
if must_err && self.has_errors().is_none() {
|
||||
// We have skipped a feature gate, and not run into other errors... reject.
|
||||
self.err(
|
||||
"`-Zunleash-the-miri-inside-of-you` may not be used to circumvent feature \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue