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.
consts.rs
1 parent d1a22d0 commit b1c1748Copy full SHA for b1c1748
compiler/rustc_middle/src/ty/consts.rs
@@ -307,7 +307,7 @@ impl<'tcx> Const<'tcx> {
307
Ok(c) => return Some(c),
308
Err(_) if lit_input.ty.has_aliases() => {
309
// allow the `ty` to be an alias type, though we cannot handle it here
310
- return None
+ return None;
311
},
312
Err(e) => {
313
tcx.dcx().span_delayed_bug(
0 commit comments