Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dario23 committed May 4, 2022
1 parent ea7321c commit 301cbbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# NOTE: Keep in sync with nightly date on README
[toolchain]
channel = "nightly-2022-02-16"
channel = "nightly-2022-02-26"
components = ["llvm-tools-preview", "rustc-dev"]
8 changes: 6 additions & 2 deletions src/changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ impl PathChange {

let msg = format!("path changes to `{}`", self.name.0);
let mut builder = if cat == Breaking {
session.struct_span_err(self.def_span, &msg)
session
.struct_span_err(self.def_span, &msg)
.forget_guarantee()
} else {
session.struct_span_warn(self.def_span, &msg)
};
Expand Down Expand Up @@ -903,7 +905,9 @@ impl<'tcx> Change<'tcx> {

let msg = format!("{} changes in {}", self.max, self.name);
let mut builder = if self.max == Breaking {
session.struct_span_err(self.new_span, &msg)
session
.struct_span_err(self.new_span, &msg)
.forget_guarantee()
} else {
session.struct_span_warn(self.new_span, &msg)
};
Expand Down

0 comments on commit 301cbbb

Please sign in to comment.