summary refs log tree commit diff
path: root/src/test/mir-opt/basic_assignment.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2018-03-23 10:07:18 +0000
committerDavid Wood <david@davidtw.co>2018-03-23 11:34:06 +0000
commit03481f19eae7cf1f8475c63a0449860e3100d491 (patch)
tree2e839a94613e8d5bdad1aaff571bd95af8b349a7 /src/test/mir-opt/basic_assignment.rs
parent447ae7612aacb356dd3f1dd018aaa350c0493a2e (diff)
downloadrust-03481f19eae7cf1f8475c63a0449860e3100d491.tar.gz
rust-03481f19eae7cf1f8475c63a0449860e3100d491.zip
Updated MIR with UserAssertTy in mir-opt tests.
Diffstat (limited to 'src/test/mir-opt/basic_assignment.rs')
-rw-r--r--src/test/mir-opt/basic_assignment.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/mir-opt/basic_assignment.rs b/src/test/mir-opt/basic_assignment.rs
index 321c05c4903..3c236ddcf04 100644
--- a/src/test/mir-opt/basic_assignment.rs
+++ b/src/test/mir-opt/basic_assignment.rs
@@ -23,6 +23,8 @@
 // tend to be absent in simple code, so subtle breakage in them can
 // leave a quite hard-to-find trail of destruction.
 
+// ignore-tidy-linelength
+
 fn main() {
     let nodrop_x = false;
     let nodrop_y;
@@ -46,6 +48,7 @@ fn main() {
 //         _2 = move _3;
 //         StorageDead(_3);
 //         StorageLive(_4);
+//         UserAssertTy(Canonical { variables: Slice([]), value: std::option::Option<std::boxed::Box<u32>> }, _4);
 //         _4 = std::option::Option<std::boxed::Box<u32>>::None;
 //         StorageLive(_5);
 //         StorageLive(_6);