summary refs log tree commit diff
path: root/src/librustc/infer/error_reporting/mod.rs
AgeCommit message (Expand)AuthorLines
2019-01-13Suggest removal of semicolon when appropriateEsteban Küber-1/+9
2019-01-13Tweak output of type mismatch between "then" and `else` `if` armsEsteban Küber-2/+6
2019-01-12Don't add label to the match expr when the type is not fully realizedEsteban Küber-1/+3
2019-01-12Reword label as per review commentEsteban Küber-1/+1
2019-01-12Point at the match discriminant when arm pattern has a type mismatchEsteban Küber-0/+3
2019-01-02improve handling for subtypeNiko Matsakis-11/+36
2019-01-02introduce placeholder-placeholder errors for trait matchingNiko Matsakis-1/+2
2019-01-02dump out the exact state in error reporting debugsNiko Matsakis-0/+10
2018-12-29Use `same_type` instead of duplicating logicEsteban Küber-19/+12
2018-12-28Suggest `.as_ref()` when appropriate for `Option` and `Result`Esteban Küber-0/+74
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-12Account for `impl Trait` when suggesting lifetimeEsteban Küber-11/+20
2018-12-06Use a function to access the Hir map to be able to turn it into a query laterJohn Kåre Alsaker-13/+13
2018-11-14capture_disjoint_fields(rust-lang#53488)Blitzerr-1/+1
2018-11-08Rollup merge of #55638 - pnkfelix:issue-55608-ice-reempty-msg_span_from_free_...Mark Rousskov-0/+1
2018-11-03Remove `ReCanonical` in favor of `ReLateBound`scalexm-1/+1
2018-11-03Sidestep an ICE by providing *some* description for `ReEmpty` when it arises.Felix S. Klock II-0/+1
2018-10-27back out bogus `Ok`-wrapping suggestion on `?` arm type mismatchZack M. Davis-11/+1
2018-10-04rename skolemized to placeholderNiko Matsakis-2/+2
2018-10-01Rollup merge of #54641 - ljedrz:cleanup_rustc_infer, r=estebankkennytm-9/+8
2018-09-29don't elide lifetimes in paths in librustc/Zack M. Davis-6/+6
2018-09-29rustc/infer: miscellaneous minor code improvementsljedrz-4/+4
2018-09-29rustc/infer: convert single-branch matches to if-letljedrz-5/+4
2018-09-26rustfmt `error_reporting/mod.rs` and `dropck.rs`Niko Matsakis-63/+69
2018-09-26convert from an `UnlessNll` flag to a `SuppressRegionErrors` flagNiko Matsakis-15/+6
2018-09-26use a `UnlessNll` flag to consolidate error reporting pathsNiko Matsakis-3/+3
2018-09-15Make rustc::middle::region::Scope's fields publicMarshall Bowers-1/+1
2018-09-11Simplify Scope/ScopeData to have less chance of introducing UB or size increasesOliver Schneider-6/+6
2018-09-07make field always private, add `From` implsNiko Matsakis-2/+0
2018-09-01Remove 'not reporting regions error due to nll' warningBasile Desloges-33/+10
2018-08-27Rename hir::map::NodeKind to hir::Nodevarkor-12/+12
2018-08-27Remove path prefixes from NodeKindvarkor-12/+12
2018-08-27Rename hir::map::Node to hir::map::NodeKindvarkor-11/+11
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ...Matthias Krüger-1/+1
2018-08-22Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str}varkor-4/+4
2018-08-22Remove Ty prefix from Ty{Foreign|Param}varkor-1/+1
2018-08-22Remove Ty prefix from Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closu...varkor-16/+16
2018-08-22Rename ty::TyVariants to ty::TyKindvarkor-3/+3
2018-08-21Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkorkennytm-1/+1
2018-08-19mv codemap() source_map()Donato Sciarra-7/+7
2018-08-19Fix typos found by codespell.Matthias Krüger-1/+1
2018-08-04An attempt to fix NLL migration mode so that reports region errors when neces...Felix S. Klock II-1/+8
2018-07-29Auto merge of #52767 - ljedrz:avoid_format, r=petrochenkovbors-13/+13
2018-07-27Remove unnecessary `.collect()`Shotaro Yamada-1/+1
2018-07-27Prefer to_string() to format!()ljedrz-13/+13
2018-07-23Separate the construction of a generic bound failure from its emission.Felix S. Klock II-4/+20
2018-07-18Implement existential typesOliver Schneider-1/+3
2018-07-16ItemKindcsmoe-6/+6
2018-07-16ExprKindcsmoe-6/+6
2018-07-14Auto merge of #52244 - glandium:issue52097, r=estebankbors-7/+63