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 1656582 commit 9eeb3eeCopy full SHA for 9eeb3ee
src/librustc_mir/util/pretty.rs
@@ -405,6 +405,7 @@ impl Visitor<'tcx> for ExtraComments<'tcx> {
405
let ty::Const { ty, val, .. } = constant;
406
match ty.kind {
407
ty::Int(_) | ty::Uint(_) | ty::Bool | ty::Char => {}
408
+ ty::FnDef(..) => {}
409
_ => {
410
self.push("ty::Const");
411
self.push(&format!("+ ty: {:?}", ty));
0 commit comments