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 2c84769 commit d1a22d0Copy full SHA for d1a22d0
compiler/rustc_middle/src/ty/consts.rs
@@ -306,7 +306,7 @@ impl<'tcx> Const<'tcx> {
306
match tcx.at(expr.span).lit_to_const(lit_input) {
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
+ // allow the `ty` to be an alias type, though we cannot handle it here
310
return None
311
},
312
Err(e) => {
0 commit comments