Skip to content

Commit b1c1748

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

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
@@ -307,7 +307,7 @@ impl<'tcx> Const<'tcx> {
307307
Ok(c) => return Some(c),
308308
Err(_) if lit_input.ty.has_aliases() => {
309309
// allow the `ty` to be an alias type, though we cannot handle it here
310-
return None
310+
return None;
311311
},
312312
Err(e) => {
313313
tcx.dcx().span_delayed_bug(

0 commit comments

Comments
 (0)