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 0eb878d commit a8a153bCopy full SHA for a8a153b
src/librustc_save_analysis/sig.rs
@@ -430,7 +430,7 @@ impl Sig for ast::Item {
430
sig.text.push_str(" = ");
431
let ty = match ty {
432
Some(ty) => ty.make(offset + sig.text.len(), id, scx)?,
433
- None => Err("Ty")?,
+ None => return Err("Ty"),
434
};
435
sig.text.push_str(&ty.text);
436
sig.text.push(';');
0 commit comments