Skip to content

Commit aedaaff

Browse files
authored
Another typo in consts.rs
1 parent b1c1748 commit aedaaff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ impl<'tcx> Const<'tcx> {
308308
Err(_) if lit_input.ty.has_aliases() => {
309309
// allow the `ty` to be an alias type, though we cannot handle it here
310310
return None;
311-
},
311+
}
312312
Err(e) => {
313313
tcx.dcx().span_delayed_bug(
314314
expr.span,

0 commit comments

Comments
 (0)