avoid processing mentioned items that are also still used
This commit is contained in:
parent
91b35a1b40
commit
ee4b758161
2 changed files with 28 additions and 4 deletions
|
@ -314,7 +314,7 @@ impl<'tcx> CoroutineInfo<'tcx> {
|
|||
}
|
||||
|
||||
/// Some item that needs to monomorphize successfully for a MIR body to be considered well-formed.
|
||||
#[derive(Copy, Clone, PartialEq, Debug, HashStable, TyEncodable, TyDecodable)]
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug, Hash, HashStable, TyEncodable, TyDecodable)]
|
||||
#[derive(TypeFoldable, TypeVisitable)]
|
||||
pub enum MentionedItem<'tcx> {
|
||||
Fn(DefId, GenericArgsRef<'tcx>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue