diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-08-31 18:59:35 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-09-10 08:22:31 -0400 |
| commit | dd3cc9669acba363abdf4f1bf5744aea383ecc46 (patch) | |
| tree | 748c8e198f9d13dd4691546b1ac3d8eb73dc98fb /src/librustc_codegen_llvm | |
| parent | 22f9bcce042d8ab77c534f22173c31f9a9ee224e (diff) | |
| download | rust-dd3cc9669acba363abdf4f1bf5744aea383ecc46.tar.gz rust-dd3cc9669acba363abdf4f1bf5744aea383ecc46.zip | |
add the `AscribeUserType` statement kind
Make it have the semantics of subtype.
Diffstat (limited to 'src/librustc_codegen_llvm')
| -rw-r--r-- | src/librustc_codegen_llvm/mir/statement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/mir/statement.rs b/src/librustc_codegen_llvm/mir/statement.rs index dd62a12553c..0cb8f99efc3 100644 --- a/src/librustc_codegen_llvm/mir/statement.rs +++ b/src/librustc_codegen_llvm/mir/statement.rs @@ -92,7 +92,7 @@ impl FunctionCx<'a, 'll, 'tcx> { mir::StatementKind::ReadForMatch(_) | mir::StatementKind::EndRegion(_) | mir::StatementKind::Validate(..) | - mir::StatementKind::UserAssertTy(..) | + mir::StatementKind::AscribeUserType(..) | mir::StatementKind::Nop => bx, } } |
