diff options
| author | nils <48135649+Nilstrieb@users.noreply.github.com> | 2022-07-18 18:17:27 +0200 |
|---|---|---|
| committer | nils <48135649+Nilstrieb@users.noreply.github.com> | 2022-07-19 16:02:59 +0200 |
| commit | 7c900c9b457b232e0c189dba0871a50fd2daabf9 (patch) | |
| tree | ca587cfbbb4430af1ffce2348798fd268df18c94 /compiler/rustc_interface/src | |
| parent | 9ed0bf9f2bd63933785fb8a380c177d2d70e88ec (diff) | |
| download | rust-7c900c9b457b232e0c189dba0871a50fd2daabf9.tar.gz rust-7c900c9b457b232e0c189dba0871a50fd2daabf9.zip | |
Add flag to configure `noalias` on `Box<T>`
To aid making an informed decision about the aliasing rules of box, give users an option to remove `noalias` from box.
Diffstat (limited to 'compiler/rustc_interface/src')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 9c0b534798e..3eef3308770 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -718,6 +718,7 @@ fn test_unstable_options_tracking_hash() { tracked!(asm_comments, true); tracked!(assume_incomplete_release, true); tracked!(binary_dep_depinfo, true); + tracked!(box_noalias, Some(false)); tracked!( branch_protection, Some(BranchProtection { |
