We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent add5124 commit 79c0737Copy full SHA for 79c0737
compiler/rustc_mir_dataflow/src/value_analysis.rs
@@ -123,16 +123,18 @@ pub trait ValueAnalysis<'tcx> {
123
fn super_intrinsic(
124
&self,
125
intrinsic: &NonDivergingIntrinsic<'tcx>,
126
- state: &mut State<Self::Value>,
+ _state: &mut State<Self::Value>,
127
) {
128
match intrinsic {
129
NonDivergingIntrinsic::Assume(..) => {
130
// Could use this, but ignoring it is sound.
131
}
132
- NonDivergingIntrinsic::CopyNonOverlapping(CopyNonOverlapping { dst, .. }) => {
133
- if let Some(place) = dst.place() {
134
- state.flood(place.as_ref(), self.map());
135
- }
+ NonDivergingIntrinsic::CopyNonOverlapping(CopyNonOverlapping {
+ dst: _,
+ src: _,
+ count: _,
136
+ }) => {
137
+ // This statement represents `*dst = *src`, `count` times.
138
139
140
0 commit comments