File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ use rustc::middle::resolve_lifetime as rl;
1717use rustc:: middle:: lang_items;
1818use rustc:: middle:: stability;
1919use rustc:: mir:: interpret:: { GlobalId , ConstValue } ;
20- use rustc:: hir:: { self , GenericArg , HirVec } ;
20+ use rustc:: hir:: { self , HirVec } ;
2121use rustc:: hir:: def:: { self , Def , CtorKind } ;
2222use rustc:: hir:: def_id:: { CrateNum , DefId , CRATE_DEF_INDEX , LOCAL_CRATE } ;
2323use rustc:: hir:: map:: DisambiguatedDefPathData ;
@@ -2931,16 +2931,6 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
29312931 }
29322932}
29332933
2934- impl < ' tcx > Clean < Constant > for ty:: LazyConst < ' tcx > {
2935- fn clean ( & self , cx : & DocContext < ' _ > ) -> Constant {
2936- if let ty:: LazyConst :: Evaluated ( ct) = self {
2937- ct. clean ( cx)
2938- } else {
2939- unimplemented ! ( ) // FIXME(const_generics)
2940- }
2941- }
2942- }
2943-
29442934impl < ' tcx > Clean < Constant > for ty:: Const < ' tcx > {
29452935 fn clean ( & self , cx : & DocContext < ' _ > ) -> Constant {
29462936 Constant {
You can’t perform that action at this time.
0 commit comments