]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/traits/mod.rs
bring Ty into scope
[rust.git] / src / librustc / traits / mod.rs
index fb71d9cc49b9e1efe1b0585bfcb17cb6b907d24a..a1817f181066c54c8b5ed844d96c1161c9684fd8 100644 (file)
@@ -381,7 +381,7 @@ pub struct VtableObjectData<'tcx, N> {
 
 #[derive(Clone, PartialEq, Eq)]
 pub struct VtableFnPointerData<'tcx, N> {
-    pub fn_ty: ty::Ty<'tcx>,
+    pub fn_ty: Ty<'tcx>,
     pub nested: Vec<N>
 }