remove debug stmts
This commit is contained in:
parent
1f57f8b903
commit
15101c8e95
4 changed files with 1 additions and 8 deletions
|
@ -435,9 +435,8 @@ pub(super) fn mir_abstract_const<'tcx>(
|
|||
DefKind::AnonConst => (),
|
||||
_ => return Ok(None),
|
||||
}
|
||||
debug!("mir_abstract_const: {:?}", def);
|
||||
|
||||
let body = tcx.thir_body(def);
|
||||
|
||||
if body.0.borrow().exprs.is_empty() {
|
||||
// type error in constant, there is no thir
|
||||
return Err(ErrorReported);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue