summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2021-10-02resolve: Avoid comparing modules by optional def-idVadim Petrochenkov-1/+1
2021-09-30Rollup merge of #89248 - hkmatsumoto:suggest-similarly-named-assoc-items, r=e...Manish Goregaokar-2/+36
2021-09-29Suggest similarly named assoc items in trait implsHirochika Matsumoto-2/+36
2021-09-27suggest path for tuple structTakayuki Maeda-1/+7
2021-09-13Auto merge of #87915 - estebank:fancy-spans, r=oli-obkbors-11/+6
2021-09-10Keep a parent LocalDefId in SpanData.Camille GILLOT-0/+1
2021-09-03Detect bare blocks with type ascription that were meant to be a `struct` literalEsteban Kuber-0/+10
2021-08-31some low hanging clippy::perf fixesMatthias Krüger-1/+1
2021-08-30`feature(const_generics)` -> `feature(const_param_types)`lcnr-2/+2
2021-08-27Remove `Session.if_let_suggestions`Aaron Hill-1/+0
2021-08-22Fix more “a”/“an” typosFrank Steffahn-1/+1
2021-08-18review comment: use newtype to deduplicate logicEsteban Kuber-32/+70
2021-08-18review comment: reduce duplicationEsteban Kuber-24/+27
2021-08-18Use more accurate spans when proposing adding lifetime to itemEsteban Kuber-7/+32
2021-08-12Use smaller spans for some structured suggestionsEsteban Kuber-11/+6
2021-08-06Add hint for unresolved associated trait items if the trait has a single itemJakub Beránek-7/+45
2021-07-25clippy::useless_formatMatthias Krüger-1/+1
2021-06-28Fix garbled suggestion for missing lifetime specifierFabian Wolff-0/+2
2021-05-13Auto merge of #85041 - mibac138:suggest-generics, r=estebankbors-5/+14
2021-05-12Fix diagnostics spans for missing lifetimes in edge casesGiacomo Stevanato-6/+28
2021-05-10More minor fixes suggested by @jackh726Fabian Wolff-2/+4
2021-05-09Implement @jackh726's suggestionsFabian Wolff-72/+59
2021-05-07Fix suggestions for missing return type lifetime parametersFabian Wolff-146/+205
2021-05-07Fix impl type parameter suggestion involving constsmibac138-1/+8
2021-05-05Suggest adding a type parameter for implsmibac138-4/+6
2021-05-02add suggestion for unit enum variant when matched with a paternAliénore Bouttefeux-12/+31
2021-04-23Auto merge of #83729 - JohnTitor:issue-43913, r=estebankbors-1/+8
2021-04-01Add a suggestion when using a type alias instead of trait aliasYuki Okushi-1/+8
2021-03-29Do not emit the advanced diagnostics on macrosJohnTitor-1/+3
2021-03-27Rollup merge of #82917 - cuviper:iter-zip, r=m-ou-seDylan DPC-3/+3
2021-03-27lazily calls some fnsklensy-5/+5
2021-03-26Use iter::zip in compiler/Josh Stone-3/+3
2021-03-15Custom error on literal names from other languagesSmitty-0/+26
2021-03-10Rollup merge of #82942 - m-ou-se:diagnostics-hardcoded-prelude-v1, r=estebankYuki Okushi-1/+1
2021-03-09Don't hardcode the `v1` prelude in diagnostics.Mara Bos-1/+1
2021-03-07diagnostics: Differentiate between edition meanings of ::foo in resolve diagn...Manish Goregaokar-1/+11
2021-03-03reworded messageEsteban Küber-4/+8
2021-03-02Account for macros when suggesting adding lifetimeEsteban Küber-8/+17
2021-02-25Rollup merge of #82087 - estebank:abolish-ice, r=oli-obkDylan DPC-20/+8
2021-02-16avoid full-slicing slicesMatthias Krüger-1/+1
2021-02-13Fix ICE caused by suggestion with no code substitutionsEsteban Küber-20/+8
2021-02-06Rollup merge of #81680 - camsteffen:primty, r=oli-obkJonas Schievink-2/+2
2021-02-03Refactor out PrimitiveTypeTableCameron Steffen-2/+2
2021-02-02Auto merge of #81405 - bugadani:ast, r=cjgillotbors-1/+3
2021-02-02Bump rustfmt versionMark Rousskov-10/+16
2021-02-01Box the biggest ast::ItemKind variantsDániel Buga-1/+3
2021-01-21Avoid emitting redundant "unused label" lintEsteban Küber-1/+3
2021-01-21Suggest `'a` when given `a` only when appropriateEsteban Küber-9/+13
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-3/+2
2020-12-31Consistently call editions "Rust 20xx" in messages.Mara Bos-2/+2