Skip to content

Commit bfc0f23

Browse files
committed
MIRI -> Miri
1 parent ec2e00c commit bfc0f23

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

compiler/rustc_middle/src/mir/syntax.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ pub type AssertMessage<'tcx> = AssertKind<Operand<'tcx>>;
996996
///
997997
/// [UCG#319]: https://github.com/rust-lang/unsafe-code-guidelines/issues/319
998998
///
999-
/// Rust currently requires that every place obey those two rules. This is checked by MIRI and taken
999+
/// Rust currently requires that every place obey those two rules. This is checked by Miri and taken
10001000
/// advantage of by codegen (via `gep inbounds`). That is possibly subject to change.
10011001
#[derive(Copy, Clone, PartialEq, Eq, Hash, TyEncodable, HashStable, TypeFoldable, TypeVisitable)]
10021002
pub struct Place<'tcx> {

library/core/tests/array.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ fn array_mixed_equality_nans() {
663663

664664
#[test]
665665
fn array_into_iter_fold() {
666-
// Strings to help MIRI catch if we double-free or something
666+
// Strings to help Miri catch if we double-free or something
667667
let a = ["Aa".to_string(), "Bb".to_string(), "Cc".to_string()];
668668
let mut s = "s".to_string();
669669
a.into_iter().for_each(|b| s += &b);
@@ -679,7 +679,7 @@ fn array_into_iter_fold() {
679679

680680
#[test]
681681
fn array_into_iter_rfold() {
682-
// Strings to help MIRI catch if we double-free or something
682+
// Strings to help Miri catch if we double-free or something
683683
let a = ["Aa".to_string(), "Bb".to_string(), "Cc".to_string()];
684684
let mut s = "s".to_string();
685685
a.into_iter().rev().for_each(|b| s += &b);

tests/ui/consts/const-eval/nrvo.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// run-pass
22

33
// When the NRVO is applied, the return place (`_0`) gets treated like a normal local. For example,
4-
// its address may be taken and it may be written to indirectly. Ensure that MIRI can handle this.
4+
// its address may be taken and it may be written to indirectly. Ensure that the const-eval
5+
// interpreter can handle this.
56

67
#![feature(const_mut_refs)]
78

0 commit comments

Comments
 (0)