about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/item.rs
AgeCommit message (Expand)AuthorLines
2022-08-15Rollup merge of #100458 - compiler-errors:fn-argument-span, r=estebankMatthias Krüger-1/+1
2022-08-15Rollup merge of #100566 - TaKO8Ki:use-create-snapshot-for-diagnostic, r=cjgillotMatthias Krüger-2/+2
2022-08-15use `create_snapshot_for_diagnostic` instead of `clone` for `Parser`Takayuki Maeda-2/+2
2022-08-14Rollup merge of #100115 - obeis:issue-99910, r=cjgillotDylan DPC-0/+10
2022-08-13Rollup merge of #100446 - TaKO8Ki:suggest-removing-semicolon-after-impl-trait...Michael Goulet-4/+34
2022-08-13Rollup merge of #100475 - chenyukang:fix-100461, r=fee1-deadMichael Goulet-2/+6
2022-08-13use `span_suggestion` instead of `span_suggestion_verbose`Takayuki Maeda-1/+1
2022-08-13give a helpful diagnostic even when the next struct field has an attributeyukang-2/+6
2022-08-12Adjust span of fn argumentsMichael Goulet-1/+1
2022-08-12suggest removing a semicolon after impl/trait itemsTakayuki Maeda-4/+34
2022-08-11suggest const or static for global variablechenyukang-1/+6
2022-08-06Rollup merge of #100167 - chenyukang:require-suggestion, r=estebankMatthias Krüger-1/+4
2022-08-05Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_i...Dylan DPC-11/+19
2022-08-05Improve diagnostics for `const a: = expr;`Maybe Waffle-11/+19
2022-08-05recover require,include instead of use in itemyukang-1/+4
2022-08-03Rollup merge of #99786 - obeis:issue-99625, r=compiler-errorsMatthias Krüger-0/+19
2022-08-03Suggest removing `let` if `const let` is usedObei Sideg-0/+10
2022-07-30Auto merge of #99887 - nnethercote:rm-TreeAndSpacing, r=petrochenkovbors-2/+2
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