Rollup merge of #113539 - agnarrarendelle:master, r=workingjubilee
fixed typo Hi, I have fixed a few typos in commands. Please review my pr.
This commit is contained in:
commit
2b4c194234
3 changed files with 3 additions and 3 deletions
|
@ -174,7 +174,7 @@ fn recurse_build<'tcx>(
|
|||
}
|
||||
// `ExprKind::Use` happens when a `hir::ExprKind::Cast` is a
|
||||
// "coercion cast" i.e. using a coercion or is a no-op.
|
||||
// This is important so that `N as usize as usize` doesnt unify with `N as usize`. (untested)
|
||||
// This is important so that `N as usize as usize` doesn't unify with `N as usize`. (untested)
|
||||
&ExprKind::Use { source } => {
|
||||
let arg = recurse_build(tcx, body, source, root_span)?;
|
||||
ty::Const::new_expr(tcx, Expr::Cast(CastKind::Use, arg, node.ty), node.ty)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue