File tree 1 file changed +1
-11
lines changed
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;
17
17
use rustc:: middle:: lang_items;
18
18
use rustc:: middle:: stability;
19
19
use rustc:: mir:: interpret:: { GlobalId , ConstValue } ;
20
- use rustc:: hir:: { self , GenericArg , HirVec } ;
20
+ use rustc:: hir:: { self , HirVec } ;
21
21
use rustc:: hir:: def:: { self , Def , CtorKind } ;
22
22
use rustc:: hir:: def_id:: { CrateNum , DefId , CRATE_DEF_INDEX , LOCAL_CRATE } ;
23
23
use rustc:: hir:: map:: DisambiguatedDefPathData ;
@@ -2931,16 +2931,6 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
2931
2931
}
2932
2932
}
2933
2933
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
-
2944
2934
impl < ' tcx > Clean < Constant > for ty:: Const < ' tcx > {
2945
2935
fn clean ( & self , cx : & DocContext < ' _ > ) -> Constant {
2946
2936
Constant {
You can’t perform that action at this time.
0 commit comments