File tree 2 files changed +2
-11
lines changed
2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -882,15 +882,6 @@ pub(crate) struct SuggRemoveComma {
882
882
pub span : Span ,
883
883
}
884
884
885
- //TODO: SHREYS - should this be help, or a suggestion?
886
- // #[derive(Subdiagnostic)]
887
- // pub(crate) struct SuggMisplacedGeneric {
888
- // pub snippet: String,
889
- // #[suggestion(code = "<{snippet}>")]
890
- // #[primary_span]
891
- // pub span: Span,
892
- // }
893
-
894
885
#[ derive( Subdiagnostic ) ]
895
886
pub ( crate ) enum ExpectedIdentifierFound {
896
887
#[ label( parser_expected_identifier_found_reserved_identifier) ]
Original file line number Diff line number Diff line change @@ -341,8 +341,8 @@ impl<'a> Parser<'a> {
341
341
// at this point, token should be Ident with the fn name
342
342
343
343
// FIXME: shreys the span should be the span of where the gneeric SHOULD go.
344
- // TODO : shreys what does this look like with invalid generic
345
- // TODO : shreys - what to do if no snippet? probably just HELP not suggestion
344
+ // FIXME : shreys what does this look like with invalid generic
345
+ // FIXME : shreys - what to do if no snippet? probably just HELP not suggestion
346
346
347
347
let snippet = match self . sess . source_map ( ) . span_to_snippet ( generic. span ) {
348
348
Ok ( snippet) => snippet,
You can’t perform that action at this time.
0 commit comments