about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/item.rs
AgeCommit message (Expand)AuthorLines
2022-07-29Recover from c++ style `enum struct`Obei Sideg-0/+19
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-2/+2
2022-07-28remove an unnecessary line breakTakayuki Maeda-1/+0
2022-06-28Use pre-interned symbols in import recoverybjorn3-2/+1
2022-06-16Do not suggest adding semicolon/changing delimiters for macros in item positi...Chayim Refael Friedman-21/+25
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-23/+18
2022-06-07recover `import` instead of `use` in itemMichael Goulet-20/+49
2022-05-30Rollup merge of #97172 - SparrowLii:unsafe_extern, r=compiler-errorsMichael Goulet-26/+15
2022-05-30Optimize the diagnostic generation for `extern unsafe`SparrowLii-26/+15
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-2/+1
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-5/+5
2022-05-02fix most compiler/ doctestsElliot Roberts-5/+5
2022-05-02Fix invalid keyword order for function declarationsKen Matsui-2/+2
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-5/+5
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-42/+43
2022-04-12use `to_string` instead of `format!`Takayuki Maeda-1/+1
2022-04-05errors: implement fallback diagnostic translationDavid Wood-1/+1
2022-04-05errors: introduce `DiagnosticMessage`David Wood-1/+2
2022-03-20fix a not emitted unmatched angle bracket errorTakayuki Maeda-1/+1
2022-03-17Rollup merge of #94960 - codehorseman:master, r=oli-obkDylan DPC-1/+1
2022-03-17Rollup merge of #93222 - mark-i-m:errorreported, r=oli-obkDylan DPC-3/+3
2022-03-17Rollup merge of #91133 - terrarier2111:unsafe-diagnostic, r=jackh726Dylan DPC-3/+25
2022-03-16rustc_error: make ErrorReported impossible to constructmark-3/+3
2022-03-16resolve the conflict in compiler/rustc_session/src/parse.rscodehorseman-1/+1
2022-03-15use `format_args_capture` in some parts of rustc_parseTakayuki Maeda-27/+26
2022-03-15Auto merge of #94584 - pnkfelix:inject-use-suggestion-sites, r=ekuberbors-4/+7
2022-03-11Rollup merge of #94839 - TaKO8Ki:suggest-using-double-colon-for-struct-field-...Dylan DPC-0/+10
2022-03-11fix a suggestion messageTakayuki Maeda-1/+1
2022-03-11suggest using double colon when using single colon in struct field type pathTakayuki Maeda-0/+10
2022-03-07diagnostics: only talk about `Cargo.toml` if running under CargoMichael Howell-3/+2
2022-03-06Auto merge of #90076 - jackh726:wherethewhere, r=nikomatsakisbors-53/+29
2022-03-05Change syntax for TyAlias where clausesJack Huey-53/+29
2022-03-06suggest removing a semicolon after derive attributesTakayuki Maeda-0/+10
2022-03-03Adjusted diagnostic output so that if there is no `use` in a item sequence,Felix S. Klock II-1/+4
2022-03-03Associate multiple with a crate too.Felix S. Klock II-2/+1
2022-03-03refactor: prepare to associate multiple spans with a module.Felix S. Klock II-3/+4
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-2/+2
2022-02-284 - Make more use of `let_chains`Caio-7/+5
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-2/+2
2022-02-23rustc_errors: take `self` by value in `DiagnosticBuilder::cancel`.Eduard-Mihai Burtescu-5/+7
2022-02-19Adopt let else in more placesest31-3/+2
2022-02-02better suggestion for duplicated `where`Michael Goulet-7/+22
2022-01-26Introduce a limit to Levenshtein distance computationTomasz Miąsko-1/+1
2022-01-05ast: Always keep a `NodeId` in `ast::Crate`Vadim Petrochenkov-1/+1
2021-12-28Parse and suggest moving where clauses after equals for type aliasesJack Huey-0/+53
2021-12-13Use Inherited Visibility instead of None when no vis is presentAlexis Bourget-13/+14
2021-12-13Update test to new error messageAlexis Bourget-1/+1
2021-12-13Suggest remove on const async const instead of const const asyncAlexis Bourget-16/+45
2021-12-13Fix broken span and related testsAlexis Bourget-1/+1
2021-12-13Change error for pub in fn decl if already presentAlexis Bourget-13/+37