summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late/diagnostics.rs
AgeCommit message (Expand)AuthorLines
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
2020-12-28Rollup merge of #80344 - matthiaskrgr:matches, r=Dylan-DPCDylan DPC-11/+8
2020-12-26stabilize min_const_genericsBastian Kauschke-3/+3
2020-12-24use matches!() macro in more placesMatthias Krüger-11/+8
2020-12-17Enhance error message when misspelled label to value in break expressionDaiki Ihara-0/+20
2020-11-24Move lev_distance to rustc_ast, make non-genericArlie Davis-4/+5
2020-11-15Rollup merge of #77802 - jyn514:bootstrap-specific, r=nikomatsakisJonas Schievink-3/+2
2020-11-08rustc_resolve: Use `#![feature(format_args_capture)]`Vadim Petrochenkov-1/+1
2020-11-07Allow making `RUSTC_BOOTSTRAP` conditional on the crate nameJoshua Nelson-3/+2
2020-11-04fix a couple of clippy warnings:Matthias Krüger-3/+2
2020-11-01Auto merge of #78420 - estebank:suggest-assoc-fn, r=petrochenkovbors-11/+47
2020-10-30Fix even more clippy warningsJoshua Nelson-8/+4
2020-10-26Suggest calling associated `fn` inside `trait`sEsteban Küber-11/+47
2020-10-26resolve: private fields in tuple struct ctor diagDavid Wood-44/+61
2020-10-15resolve: improve "try using tuple struct" messageDavid Wood-11/+11
2020-10-15resolve: suggest variants with placeholdersDavid Wood-60/+86
2020-10-09address review commentsEsteban Küber-8/+16
2020-10-09Given `<T as Trait>::A: Ty` suggest `T: Trait<A = Ty>`Esteban Küber-0/+118