Update test results after rebase
This commit is contained in:
@@ -87,8 +87,8 @@ pub trait ValueAnalysis<'tcx> {
|
||||
// But discriminants are currently not tracked, so we do nothing.
|
||||
// Related: https://github.com/rust-lang/unsafe-code-guidelines/issues/84
|
||||
}
|
||||
StatementKind::CopyNonOverlapping(..) => {
|
||||
// FIXME: What to do here?
|
||||
StatementKind::Intrinsic(box intrinsic) => {
|
||||
self.handle_intrinsic(intrinsic, state);
|
||||
}
|
||||
StatementKind::StorageLive(local) | StatementKind::StorageDead(local) => {
|
||||
// It is UB to read from an unitialized or unallocated local.
|
||||
@@ -106,6 +106,22 @@ pub trait ValueAnalysis<'tcx> {
|
||||
}
|
||||
}
|
||||
|
||||
fn handle_intrinsic(
|
||||
&self,
|
||||
intrinsic: &NonDivergingIntrinsic<'tcx>,
|
||||
state: &mut State<Self::Value>,
|
||||
) {
|
||||
self.super_intrinsic(intrinsic, state);
|
||||
}
|
||||
|
||||
fn super_intrinsic(
|
||||
&self,
|
||||
_intrinsic: &NonDivergingIntrinsic<'tcx>,
|
||||
_state: &mut State<Self::Value>,
|
||||
) {
|
||||
todo!();
|
||||
}
|
||||
|
||||
fn handle_assign(
|
||||
&self,
|
||||
target: Place<'tcx>,
|
||||
|
||||
Reference in New Issue
Block a user