-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Description
Currently we can not get the span of mut keyword.
Example:-
fn foo(file:`& /* Some comment */ mut /* Another Comment */ File`) {}I like to work on this issue. But I need an advice. If I store the span in an enum field like Mutability::Mut(Span) I can not implement the invert function.
rust/compiler/rustc_ast/src/ast.rs
Line 752 in 7bade6e
| pub fn invert(self) -> Self { |
Metadata
Metadata
Assignees
Labels
No labels