mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
minor: Remove dead code
This commit is contained in:
parent
3427d36d0e
commit
879cac4b28
3 changed files with 7 additions and 51 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue