summary refs log tree commit diff
path: root/src/librustc/traits/error_reporting.rs
AgeCommit message (Expand)AuthorLines
2017-12-18Rollup merge of #46801 - estebank:impl-extra-req-def-span, r=arielb1Guillaume Gomez-7/+4
2017-12-18Rework expected closure errorEsteban Küber-3/+7
2017-12-18Point at def span in "impl has stricter requirements" diagnosticEsteban Küber-7/+4
2017-12-10Point at whole method call instead of argsEsteban Küber-2/+2
2017-11-27reword to "consider borrowing here: `{suggestion}`"Esteban Küber-1/+1
2017-11-25Remove index type check (review comment)Esteban Küber-11/+5
2017-11-25Suggest using slice when encountering `let x = ""[..];`Esteban Küber-0/+29
2017-11-18convert the `closure_kinds` map to just store the origin informationNiko Matsakis-5/+5
2017-11-18stop using the `closure_kinds` query / table for anythingNiko Matsakis-2/+2
2017-11-18make `ty::Predicate` carry a `ClosureSubsts`Niko Matsakis-1/+1
2017-11-15convert EXTRA_REQUIREMENT_IN_IMPL into a hard errorNiko Matsakis-25/+7
2017-11-12deduplicate projection error (E0271) messagesZack M. Davis-7/+14
2017-10-27Implement RFC 1861: Extern typesPaul Lietar-0/+1
2017-10-13Rewordsinkuu-21/+30
2017-10-10Rewordsinkuu-12/+13
2017-10-07Add suggestionsinkuu-31/+100
2017-10-07Rename variablessinkuu-21/+21
2017-10-07Better error for missing tuple pattern in args (#44150)sinkuu-22/+72
2017-09-23Print fn signature when there is closure argument type mismatchWonwoo Choi-66/+75
2017-09-11rustc: evaluate fixed-length array length expressions lazily.Eduard-Mihai Burtescu-0/+17
2017-09-05rustc: Store InternedString in `DefPathData`Alex Crichton-1/+1
2017-09-05rustc: Migrate lang items to a queryAlex Crichton-1/+1
2017-09-03on_unimplemented: add method-name checks and use them in TryAriel Ben-Yehuda-3/+17
2017-09-03address review commentsAriel Ben-Yehuda-3/+6
2017-09-03enable desugaring-sensitive error messages and use them in TryAriel Ben-Yehuda-1/+17
2017-09-03implement improved on_unimplemented directivesAriel Ben-Yehuda-16/+27
2017-09-03move the on_unimplemented logic to its own fileAriel Ben-Yehuda-141/+2
2017-09-03refactor and centralize `on_unimplemented` parsingAriel Ben-Yehuda-63/+144
2017-08-21Merge remote-tracking branch 'origin/master' into genAlex Crichton-4/+14
2017-08-18Handle structs, unions and enums unsized field/variant separatelyGuillaume Gomez-5/+14
2017-08-16udpdate error message for unsized union fieldGuillaume Gomez-1/+2
2017-08-14Merge remote-tracking branch 'origin/master' into genAlex Crichton-3/+5
2017-08-14Auto merge of #43740 - michaelwoerister:local-id-in-typecktables, r=arielb1bors-1/+3
2017-08-12Fix some typosBastien Orivel-2/+2
2017-08-11Encapsulate sub-table access in TypeckTables and validate keys on each access.Michael Woerister-2/+1
2017-08-11Use ItemLocalId as key for closure_tys and closure_kinds in TypeckTables.Michael Woerister-1/+4
2017-08-10Merge remote-tracking branch 'origin/master' into genAlex Crichton-17/+19
2017-08-09rustc: Rearchitect lints to be emitted more eagerlyAlex Crichton-12/+15
2017-08-08make `for_all_relevant_impls` O(1) againAriel Ben-Yehuda-5/+4
2017-07-28Generator literal supportJohn Kåre Alsaker-0/+1
2017-07-05`rustc_on_unimplemented` supports referring to traitEsteban Küber-0/+4
2017-06-29Add unsized tuple coercions.Masaki Hara-1/+1
2017-06-29Check explicitly that tuple initializer is Sized.Masaki Hara-0/+3
2017-06-29Auto merge of #42642 - venkatagiri:issue_42312, r=nikomatsakisbors-7/+9
2017-06-28rustc_typeck: use body-id of type-checking item in need_type_infoVenkata Giri Reddy-7/+9
2017-06-24Detect missing `;` on methods with return type `()`Esteban Küber-1/+3
2017-06-14suppress trait errors that are implied by other errorsAriel Ben-Yehuda-154/+92
2017-06-10rustc: make the comon case of tcx.infer_ctxt(()) nicer.Eduard-Mihai Burtescu-8/+11
2017-06-10rustc: do not depend on infcx.tables in MemCategorizationContext.Eduard-Mihai Burtescu-11/+3
2017-06-07Cover all cases in closure errorsTommy Ip-5/+6