Skip to content

Commit

Permalink
Rollup merge of #106012 - JakobDegen:retag-raw, r=RalfJung
Browse files Browse the repository at this point in the history
Clarify that raw retags are not permitted in Mir

Not sure when this changed, but documentation and the validator needed to be updated. This also removes raw retags from custom mir.

cc rust-lang/miri#2735

r? `@RalfJung`
  • Loading branch information
matthiaskrgr committed Dec 22, 2022
2 parents 3b85756 + 382d49f commit c4b5446
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/intrinsics/mir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ define!("mir_drop", fn Drop<T>(place: T, goto: BasicBlock));
define!("mir_drop_and_replace", fn DropAndReplace<T>(place: T, value: T, goto: BasicBlock));
define!("mir_call", fn Call<T>(place: T, goto: BasicBlock, call: T));
define!("mir_retag", fn Retag<T>(place: T));
define!("mir_retag_raw", fn RetagRaw<T>(place: T));
define!("mir_move", fn Move<T>(place: T) -> T);
define!("mir_static", fn Static<T>(s: T) -> &'static T);
define!("mir_static_mut", fn StaticMut<T>(s: T) -> *mut T);
Expand Down

0 comments on commit c4b5446

Please sign in to comment.