We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b2455 commit 109da9aCopy full SHA for 109da9a
compiler/rustc_parse/src/parser/mod.rs
@@ -919,7 +919,7 @@ impl<'a> Parser<'a> {
919
// Parsed successfully, therefore most probably the code only
920
// misses a separator.
921
922
- // FIXME(xizheyin): This is a hack to avoid adding suggestions for doc comments in item list.
+ // This is to avoid adding suggestions twice for doc comments in item list.
923
let contains_missing_comma_suggestion =
924
expect_err.suggestions.clone().unwrap_tag().iter().any(
925
|s| {
0 commit comments