mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Parse more repr options
This commit is contained in:
parent
6d0d051628
commit
9f233cd5d2
5 changed files with 74 additions and 19 deletions
|
@ -479,7 +479,6 @@ pub enum DefWithBodyId {
|
|||
|
||||
impl_from!(FunctionId, ConstId, StaticId for DefWithBodyId);
|
||||
|
||||
// FIXME: Rename EnumVariantId to VariantId so that the macro above can be used
|
||||
impl From<EnumVariantId> for DefWithBodyId {
|
||||
fn from(id: EnumVariantId) -> Self {
|
||||
DefWithBodyId::VariantId(id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue