For S1, there is no warning at verify!(does_not_have_tag!(self, TraitTag)) in my_clone(). In f2(), clone() is deleted and a warning appears at verify!(does_not_have_tag!(self, TraitTag)).
For S2, warnings appear for both my_clone() and f2().
Does the behavior of add_tag!() and does_not_have_tag!() be affected by type and clone()?
Issue
For S1, there is no warning at
verify!(does_not_have_tag!(self, TraitTag))
in my_clone(). In f2(), clone() is deleted and a warning appears atverify!(does_not_have_tag!(self, TraitTag))
. For S2, warnings appear for both my_clone() and f2(). Does the behavior of add_tag!() and does_not_have_tag!() be affected by type and clone()?Steps to Reproduce
Expected Behavior
warning: provably false verification condition
warning appears at alldoes_not_have_tag!()
Actual Results
Environment