summary refs log tree commit diff
path: root/src/librustc_resolve/late/diagnostics.rs
AgeCommit message (Expand)AuthorLines
2020-05-17Emit a better diagnostic when function actually has a 'self' parameterAaron Hill-2/+9
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-3/+3
2020-05-07Rollup merge of #71903 - euclio:reword-possible-better, r=petrochenkovDylan DPC-1/+4
2020-05-07reword "possible candidate" import suggestionAndy Russell-1/+4
2020-05-05Detect errors caused by `async` block in 2015 editionEsteban Küber-1/+5
2020-04-27Rollup merge of #71438 - estebank:resolve-sugg-tiny, r=petrochenkovDylan DPC-15/+24
2020-04-26Tweak some suggestions in `rustc_resolve`Esteban Küber-15/+24
2020-04-22Tweak wordingEsteban Küber-2/+17
2020-04-22Tweak `'static` suggestion codeEsteban Küber-88/+97
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-15/+14
2020-03-22Normalize wording of privacy access labelsEsteban Küber-3/+3
2020-03-20remove redundant returns (clippy::needless_return)Matthias Krüger-2/+2
2020-03-16use direct imports for `rustc::{lint, session}`.Mazdak Farrokhzad-1/+1
2020-03-14Rollup merge of #69802 - matthiaskrgr:cl1ppy, r=Dylan-DPCYuki Okushi-5/+1
2020-03-12Rollup merge of #69674 - mark-i-m:assoc-fn, r=matthewjasperMazdak Farrokhzad-1/+1
2020-03-07call .as_deref() instead of .as_ref().map(Deref::deref) (clippy::option_as_re...Matthias Krüger-5/+1
2020-03-04Use single-char patter on {ends,starts}_with and remove clone on copy type.Matthias Krüger-3/+3
2020-03-03DefKind::Method -> DefKind::AssocFnMark Mansi-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-2/+2
2020-02-29Rollup merge of #69567 - matthiaskrgr:useless_fmt, r=nagisaDylan DPC-8/+6
2020-02-29Rollup merge of #69551 - matthiaskrgr:len_zero, r=Mark-SimulacrumDylan DPC-1/+1
2020-02-29use .to_string() instead of format!() macro to create stringsMatthias Krüger-8/+6
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-8/+4
2020-02-28remove redundant clones, references to operands, explicit boolean comparisons...Matthias Krüger-38/+32
2020-02-27Rollup merge of #69439 - petrochenkov:latelife, r=matthewjasperYuki Okushi-1/+242
2020-02-24resolve: `lifetimes.rs` -> `late/lifetime.rs`Vadim Petrochenkov-1/+242
2020-02-24don't explicitly compare against true or falseMatthias Krüger-1/+1
2020-02-22Rename CodeMap to SourceMap follow upMaxim Zholobak-11/+11
2020-01-26Suggest defining type parameter when appropriateEsteban Küber-3/+48
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-1/+0
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-5/+5
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-7/+4
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-4/+4
2020-01-04canonicalize FxHash{Map,Set} importsMazdak Farrokhzad-1/+1
2020-01-04Rollup merge of #67786 - Centril:canon-span, r=petrochenkovMazdak Farrokhzad-1/+1
2020-01-04Rollup merge of #66913 - VirrageS:help-self, r=varkor,CentrilMazdak Farrokhzad-0/+55
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-2/+2
2019-12-23Simplify match exprJanusz Marcinkiewicz-2/+2
2019-12-23Extract checking for self arg to separate methodJanusz Marcinkiewicz-35/+40
2019-12-23Extend suggestion span to whole method callJanusz Marcinkiewicz-11/+15
2019-12-23Add arguments to suggestion method callJanusz Marcinkiewicz-1/+16
2019-12-23Add more detailed suggestionJanusz Marcinkiewicz-3/+3
2019-12-23Suggest calling method when first argument is `self`Janusz Marcinkiewicz-0/+31
2019-12-22Format the worldMark Rousskov-114/+114
2019-11-14Update to use new librustc_error_codes libraryGuillaume Gomez-0/+2
2019-10-28Auto merge of #65421 - estebank:variants, r=petrochenkovbors-10/+11
2019-10-28Rollup merge of #65792 - Centril:split-syntax-2, r=petrochenkovMazdak Farrokhzad-1/+1
2019-10-27Point at local similarly named element and tweak references to variantsEsteban Küber-10/+11
2019-10-27rustc, rustc_passes: don't depend on syntax_expand.Mazdak Farrokhzad-1/+1