about summary refs log tree commit diff
path: root/src/librustc/traits
AgeCommit message (Expand)AuthorLines
2020-01-21Rollup merge of #68297 - Aaron1011:fix/new-const-prop-bounds, r=oli-obkYuki Okushi-34/+10
2020-01-20Add `ConstnessAnd` that implements `ToPredicate`Dylan MacKenzie-43/+66
2020-01-20Add `constness` field to `ty::Predicate::Trait`Dylan MacKenzie-17/+22
2020-01-20Rollup merge of #68353 - Centril:code-liberation, r=petrochenkovDylan DPC-10/+0
2020-01-20Auto merge of #68057 - Aaron1011:fix/marker-trait-selection, r=matthewjasperbors-6/+58
2020-01-19update test ui for raw-ptr borrow inside generatorcsmoe-1/+1
2020-01-19account temporary borrow by raw-ptrcsmoe-5/+32
2020-01-18remove rustc_error_codes deps except in rustc_driverMazdak Farrokhzad-10/+0
2020-01-17Use named fields for `hir::ItemKind::Impl`Dylan MacKenzie-8/+7
2020-01-17Rollup merge of #68195 - estebank:impl-trait-2000, r=CentrilDylan DPC-2993/+3342
2020-01-16Revert previous attempt at detecting unsatisfiable predicatesAaron Hill-34/+10
2020-01-16review commentsEsteban Küber-26/+23
2020-01-16Account for object safety when suggesting `Box<dyn Trait>`Esteban Küber-1/+3
2020-01-16review commentsEsteban Küber-166/+138
2020-01-16review commentsEsteban Küber-6/+3
2020-01-16review commentsEsteban Küber-122/+137
2020-01-16Split `librustc/traits/error_reporting.rs`Esteban Küber-1531/+1667
2020-01-16fmtEsteban Küber-3/+1
2020-01-16When trait bounds are missing for return values, point at themEsteban Küber-49/+73
2020-01-16Make `impl Trait` suggestion in E0746 `MachineApplicable`Esteban Küber-1/+1
2020-01-16Specific error for unsized `dyn Trait` return typeEsteban Küber-2/+210
2020-01-16Rollup merge of #68274 - matthiaskrgr:dead_code, r=Dylan-DPCDylan DPC-10/+6
2020-01-16remove dead codeMatthias Krüger-10/+6
2020-01-16Rollup merge of #68096 - varkor:diagnostic-cleanup, r=CentrilDylan DPC-1/+1
2020-01-15Rollup merge of #68212 - csmoe:temp, r=estebankDylan DPC-6/+26
2020-01-15wrap expr id into GeneratorInteriorTypeCausecsmoe-4/+3
2020-01-15update async-await send/sync testcsmoe-19/+19
2020-01-14suggest to limit lifetime of temporary borrow with letcsmoe-1/+1
2020-01-14record generoator interior exprs in typecktablecsmoe-6/+27
2020-01-13Use TraitQueryMode::Canonical when testing predicates in const propAaron Hill-9/+33
2020-01-12Diagnostics should start lowercasevarkor-1/+1
2020-01-12Rollup merge of #68045 - Centril:liberate-lints, r=Mark-SimulacrumMazdak Farrokhzad-8/+10
2020-01-12Rollup merge of #67867 - matthewjasper:opaque-assoc-lookup, r=oli-obkMazdak Farrokhzad-1/+1
2020-01-11Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obkbors-3/+11
2020-01-11reduce diversity in linting methodsMazdak Farrokhzad-3/+4
2020-01-11canonicalize some lint importsMazdak Farrokhzad-5/+6
2020-01-10Promote `Ref`s to constants instead of staticSantiago Pastorino-3/+11
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-7/+7
2020-01-10Rollup merge of #67922 - Centril:lowering-cleanup, r=petrochenkovMazdak Farrokhzad-2/+1
2020-01-10Rollup merge of #66463 - estebank:point-at-closure-and-opaque-types, r=CentrilMazdak Farrokhzad-6/+23
2020-01-09Don't discard marker trait impls when inference variables are presentAaron Hill-6/+58
2020-01-09refactor 'Output = $ty' & reduce rustc depMazdak Farrokhzad-2/+1
2020-01-08move code to method outside of happy pathEsteban Küber-19/+25
2020-01-08Explain that associated types and consts can't be accessed directly on the tr...Esteban Küber-1/+24
2020-01-08reduce code duplicationEsteban Küber-10/+3
2020-01-08Point at the def span of trait refs E0277Esteban Küber-5/+29
2020-01-08- remove syntax::{span_warn!, span_err!, span_fatal!. struct_err!}Mazdak Farrokhzad-9/+15
2020-01-07Rename traits::drop -> traits::misc.Camille GILLOT-2/+2
2020-01-07Move magic traits queries to rustc::traits::drop.Camille GILLOT-0/+204
2020-01-07Move required_region_bounds to rustc::infer::opaque_types.Camille GILLOT-2/+3