Skip to content

Commit

Permalink
analyze: fix cast.rs test after NON_NULL changes
Browse files Browse the repository at this point in the history
  • Loading branch information
spernsteiner committed Apr 12, 2024
1 parent e95e9e9 commit 586d91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c2rust-analyze/tests/filecheck/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct S {

// CHECK-LABEL: final labeling for "null_ptr"
pub unsafe fn null_ptr() {
// CHECK-DAG: ([[@LINE+3]]: s): addr_of = UNIQUE | NON_NULL, type = READ | WRITE | UNIQUE | NON_NULL#
// CHECK-DAG: ([[@LINE+3]]: s): addr_of = UNIQUE | NON_NULL, type = READ | WRITE | UNIQUE#
// CHECK-LABEL: type assignment for "null_ptr":
// CHECK-DAG: ([[@LINE+1]]: s): &mut S
let s = 0 as *mut S;
Expand Down

0 comments on commit 586d91c

Please sign in to comment.