mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Rollup merge of #148780 - klensy:filecheck-typo, r=jieyouxu
fix filecheck typos in tests Fixes few filecheck annotation typos in tests.
This commit is contained in:
@@ -99,8 +99,9 @@ fn shared_borrow<T>(a: T) {
|
||||
// The parameter can be mutated through a raw const borrow.
|
||||
//
|
||||
// CHECK-LABEL: ; deduced_param_attrs::raw_const_borrow
|
||||
// CHECK-NEXT: ;
|
||||
// CHECK-NOT: readonly
|
||||
// CHECK-NEXT : %a)
|
||||
// CHECK-NEXT: %a)
|
||||
#[inline(never)]
|
||||
pub fn raw_const_borrow(a: Big) {
|
||||
black_box(&raw const a);
|
||||
|
||||
@@ -16,9 +16,9 @@ fn loop_deref_mut(val: &mut Value) -> Value {
|
||||
// CHECK-LABEL: fn loop_deref_mut(
|
||||
// CHECK: [[VAL_REF:_.*]] = get::<Value>(
|
||||
// CHECK: [[V:_.*]] = copy (((*[[VAL_REF]]) as V0).0: i32);
|
||||
// CEHCK-NOT: copy (*[[VAL_REF]]);
|
||||
// CHECK-NOT: copy (*[[VAL_REF]]);
|
||||
// CHECK: [[RET:_*]] = Value::V0(copy [[V]]);
|
||||
// CEHCK-NOT: copy (*[[VAL_REF]]);
|
||||
// CHECK-NOT: copy (*[[VAL_REF]]);
|
||||
// CHECK: _0 = move [[RET]]
|
||||
let val_alias: &Value = get(val);
|
||||
let mut stop = false;
|
||||
|
||||
Reference in New Issue
Block a user