about summary refs log tree commit diff
path: root/src/librustc_resolve/error_codes.rs
AgeCommit message (Collapse)AuthorLines
2019-11-14Remove unused error_codes.rs filesGuillaume Gomez-2048/+0
2019-10-31Add long error explanation for E0578Guillaume Gomez-1/+28
2019-10-30Add long error explanation for E0577Guillaume Gomez-1/+27
2019-10-29Change E0741 into E0742Guillaume Gomez-2/+3
2019-10-29Add long error explanation for E0740Guillaume Gomez-1/+38
2019-10-29Create new error code E0740 for visibility restrictions to ancestor module ↵Guillaume Gomez-0/+1
issues
2019-10-27Point at local similarly named element and tweak references to variantsEsteban Küber-3/+4
Point at the span for the definition of ADTs internal to the current crate. Look at the leading char of the ident to determine whether we're expecting a likely fn or any of a fn, a tuple struct or a tuple variant. Turn fn `add_typo_suggestion` into a `Resolver` method.
2019-10-25Rollup merge of #65390 - GuillaumeGomez:long-err-explanation-E0576, ↵Mazdak Farrokhzad-1/+25
r=matthewjasper,kinnison Add long error explanation for E0576 Part of #61137.
2019-10-24Rollup merge of #65627 - varkor:const-generics-forbid-non-structural_match, ↵Mazdak Farrokhzad-3/+4
r=petrochenkov Forbid non-`structural_match` types in const generics Fixes https://github.com/rust-lang/rust/issues/60286.
2019-10-23Rollup merge of #65691 - GuillaumeGomez:2018-edition-E0659, r=Dylan-DPCMazdak Farrokhzad-9/+9
Update E0659 error code long explanation to 2018 edition Fixes #65571 r? @Centril
2019-10-23Add long error explanation for E0576Guillaume Gomez-1/+25
2019-10-22Use E0741 for structural match errorvarkor-1/+1
2019-10-22Remove "type parameter depends on const parameter" error from resolutionvarkor-3/+4
2019-10-22Update E0659 error code long explanation to 2018 editionGuillaume Gomez-9/+9
2019-10-21Correctly note code as Ok not error for E0573Ryo Onodera-1/+1
2019-10-19Rollup merge of #65542 - estebank:kill-static-methods, r=CentrilMazdak Farrokhzad-8/+17
Refer to "associated functions" instead of "static methods" Fix #59782.
2019-10-18review commentsEsteban Küber-5/+7
2019-10-18review comments: help wordingEsteban Küber-10/+11
2019-10-17Refer to "associated functions" instead of "static methods"Esteban Küber-8/+14
2019-10-17Add long error explanation for E0575Guillaume Gomez-1/+53
2019-10-16Add long error explanation for E0573Guillaume Gomez-1/+74
2019-10-13Add long error explanation for E0574Guillaume Gomez-1/+50
2019-10-03Allocate a new diagnostic for defaulted type parameters cannot use `Self`Felix S. Klock II-4/+19
(Without this commit, you still get an error (a very similar one, at that), but it complains about use of forward declaration, which is confusing since people do not necessarily think of `Self` as being declared at all.) Update: incorporate review feedback.
2019-09-25Add long error explanation for E0531Guillaume Gomez-1/+45
2019-09-05Replace diagnostic plugins with macro_rulesMark Rousskov-7/+2
2019-08-17Move type parameter shadowing errors to resolveMatthew Jasper-3/+13
For some reason type checking did this. Further it didn't consider hygiene.
2019-07-28Remove lint annotations in specific crates that are already enforced by ↵Vadim Petrochenkov-2/+0
rustbuild Remove some random unnecessary lint `allow`s
2019-07-13Make `register_[long_]diagnostics` hygienicMatthew Jasper-1/+1
2019-04-25Fix error code descriptionvarkor-2/+5
2019-04-25Prevent const parameters having type parameters as typesvarkor-0/+10
2019-04-17Rename diagnostics to error_codesYuki OKUSHI-0/+1672