Hide some warnings/Fix build
This commit is contained in:
parent
3ffc237772
commit
0a88698daf
2 changed files with 4 additions and 3 deletions
|
|
@ -3,6 +3,7 @@ use rustc::ty::layout::{self, Align, LayoutOf};
|
|||
use rustc::hir::def_id::{DefId, CRATE_DEF_INDEX};
|
||||
use rustc::mir;
|
||||
use rustc_data_structures::indexed_vec::Idx;
|
||||
use rustc_target::spec::abi::Abi;
|
||||
use syntax::attr;
|
||||
use syntax::codemap::Span;
|
||||
|
||||
|
|
|
|||
|
|
@ -444,9 +444,9 @@ impl<'mir, 'tcx: 'mir> Machine<'mir, 'tcx> for Evaluator<'tcx> {
|
|||
}
|
||||
|
||||
fn validation_op<'a>(
|
||||
ecx: &mut EvalContext<'a, 'mir, 'tcx, Self>,
|
||||
op: ::rustc::mir::ValidationOp,
|
||||
operand: &::rustc::mir::ValidationOperand<'tcx, ::rustc::mir::Place<'tcx>>,
|
||||
_ecx: &mut EvalContext<'a, 'mir, 'tcx, Self>,
|
||||
_op: ::rustc::mir::ValidationOp,
|
||||
_operand: &::rustc::mir::ValidationOperand<'tcx, ::rustc::mir::Place<'tcx>>,
|
||||
) -> EvalResult<'tcx> {
|
||||
// FIXME: prevent this from ICEing
|
||||
//ecx.validation_op(op, operand)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue