|
1 | | -use std::{any::Any, borrow::Cow, convert::identity}; |
| 1 | +use std::{borrow::Cow, convert::identity}; |
2 | 2 |
|
3 | 3 | use log::{trace, warn}; |
4 | 4 | use rustc_ast::Attribute; |
5 | 5 | use rustc_hir::def_id::{DefId, LOCAL_CRATE}; |
6 | 6 | use rustc_middle::ty::{ |
7 | | - print::Print, AdtDef, FieldDef, GenericArg, GenericParamDefKind, ParamTy, TraitRef, Ty, TyKind, |
8 | | - TypeFoldable, TypingEnv, |
| 7 | + AdtDef, FieldDef, GenericArg, GenericParamDefKind, TraitRef, Ty, TyKind, TypingEnv, |
9 | 8 | }; |
10 | 9 | use rustc_span::Symbol; |
11 | 10 |
|
12 | 11 | use crate::{ |
13 | | - Arg, Args, BevyCtxt, Field, Function, FunctionContext, ImportPathFinder, Item, Output, |
14 | | - ReflectType, TemplateContext, Variant, |
| 12 | + Arg, Args, BevyCtxt, Field, Function, FunctionContext, Item, Output, ReflectType, |
| 13 | + TemplateContext, Variant, |
15 | 14 | }; |
16 | 15 | /// Converts the BevyCtxt into simpler data that can be used in templates directly, |
17 | 16 | /// Clears the BevyCtxt by clearing data structures after it uses them. |
|
0 commit comments