We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaafe45 commit 4d3ef6bCopy full SHA for 4d3ef6b
src/librustc/session/mod.rs
@@ -628,9 +628,9 @@ pub fn span_bug_fmt<S: Into<MultiSpan>>(file: &'static str,
628
}
629
630
fn opt_span_bug_fmt<S: Into<MultiSpan>>(file: &'static str,
631
- line: u32,
632
- span: Option<S>,
633
- args: fmt::Arguments) -> ! {
+ line: u32,
+ span: Option<S>,
+ args: fmt::Arguments) -> ! {
634
tls::with_opt(move |tcx| {
635
let msg = format!("{}:{}: {}", file, line, args);
636
match (tcx, span) {
0 commit comments