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.
This commit is contained in:
nils 2022-07-18 18:17:27 +02:00
parent 9ed0bf9f2b
commit 7c900c9b45
6 changed files with 27 additions and 2 deletions

View file

@ -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 {