minor: Remove dead code

This commit is contained in:
Lukas Wirth 2023-03-09 15:40:51 +01:00
parent 3427d36d0e
commit 879cac4b28
3 changed files with 7 additions and 51 deletions

View file

@ -2501,10 +2501,6 @@ impl GenericDef {
}
/// A single local definition.
///
/// If the definition of this is part of a "MultiLocal", that is a local that has multiple declarations due to or-patterns
/// then this only references a single one of those.
/// To retrieve the other locals you should use [`Local::associated_locals`]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
pub struct Local {
pub(crate) parent: DefWithBodyId,