use hair::*;
use rustc::mir::interpret::EvalErrorKind::BoundsCheck;
use rustc::mir::*;
-use rustc::ty::Variance;
+use rustc::ty::{CanonicalUserTypeAnnotation, Variance};
use rustc_data_structures::indexed_vec::Idx;
let place = unpack!(block = this.as_place(block, source));
if let Some(user_ty) = user_ty {
let annotation_index = this.canonical_user_type_annotations.push(
- (source_info.span, user_ty)
+ CanonicalUserTypeAnnotation { span: source_info.span, user_ty }
);
this.cfg.push(
block,
);
if let Some(user_ty) = user_ty {
let annotation_index = this.canonical_user_type_annotations.push(
- (source_info.span, user_ty)
+ CanonicalUserTypeAnnotation { span: source_info.span, user_ty }
);
this.cfg.push(
block,