about summary refs log tree commit diff
path: root/src/test/incremental/hashes/trait_defs.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-1409/+0
2022-12-25Remove references to removed option from tests.Camille GILLOT-3/+0
2022-08-03Bless incremental tests.Camille GILLOT-8/+8
2022-08-01Bless incremental tests.Camille GILLOT-16/+28
2022-05-27Switch incremental/hashes tests to all use optimizations.Jakob Degen-1/+1
2022-04-23Bless incremental tests.Camille GILLOT-2/+2
2022-01-26Bless incremental tests.Camille GILLOT-115/+133
2022-01-03Hash `Ident` spans in all HIR structuresAaron Hill-2/+2
This PR removes all of the `#[stable_hasher(project(name))]` attributes used in HIR structs. While these attributes are not known to be causing any issues in practice, we need to hash these in order for the incremental system to work correctly - a query could be otherwise be incorrectly marked green when a change occures in one of the `Span`s that it uses.
2021-11-20Change `trait_defs.rs` incremental hash testEsteban Kuber-3/+3
`predicates_of` no longer changes when changing a trait's front matter because we no longer include the trait's span in the identity trait obligation.
2021-09-10Duplicate tests for incremental spans mode.Camille GILLOT-166/+503
2021-05-15Fix tests on traits.Camille GILLOT-65/+71
2021-05-15Remove `label` in dirty/clean annotations.Camille GILLOT-212/+208
2021-01-13Update code to account for extern ABI requirementMark Rousskov-1/+1
2020-03-19hir: replace "items" terminology with "nodes" where appropriate.Eduard-Mihai Burtescu-4/+4
2020-03-14Replace `Hir` with `hir_owner` in testsJohn Kåre Alsaker-208/+208
2020-03-14Replace `HirBody` with `hir_owner_items` in testsJohn Kåre Alsaker-4/+4
2019-09-14Ban non-extern rust intrinsicsMark Rousskov-3/+2
Intrinsics can only be defined by the compiler.
2019-08-19Cherry-pick src/test changes with Centril's changessd234678-61/+60
2019-07-03Migrate compile-pass annotations to build-passYuki Okushi-1/+1
2018-12-25Remove licensesMark Rousskov-11/+0
2018-10-02Improve implicit self mutability suggestions.David Wood-1/+1
This commit adds an `ImplicitSelfKind` to the HIR and the MIR that keeps track of whether a implicit self argument is immutable by-value, mutable by-value, immutable reference or mutable reference so that the addition of the `mut` keyword can be suggested for the immutable by-value case.
2018-04-13Rename must-compile-successfully into compile-passGuillaume Gomez-1/+1
2017-12-08incr.comp.: Hash spans unconditionally for full accuracy.Michael Woerister-1/+1
2017-11-29incr.comp.: Update test cases after metadata hashing removal.Michael Woerister-207/+0
2017-11-03[Syntax Breaking] Rename DefaultImpl to AutoImplleonardo.yvens-2/+2
DefaultImpl is a highly confusing name for what we now call auto impls, as in `impl Send for ..`. The name auto impl is not formally decided but for sanity anything is better than `DefaultImpl` which refers neither to `default impl` nor to `impl Default`.
2017-07-18Prohibit lifetime arguments in path segments with late bound lifetime parametersVadim Petrochenkov-1/+1
2017-07-06remove associated_consts feature gateSean McArthur-1/+0
2017-04-12ICH: Replace old, transitive metadata hashing with direct hashing approach.Michael Woerister-48/+73
Instead of collecting all potential inputs to some metadata entry and hashing those, we directly hash the values we are storing in metadata. This is more accurate and doesn't suffer from quadratic blow-up when many entries have the same dependencies.
2017-02-03Let the ICH testing framework check that all #[rustc_dirty] attrs have been ↵Michael Woerister-1/+3
actually checked.
2016-12-28rustc: move function arguments into hir::Body.Eduard-Mihai Burtescu-1/+11
2016-12-28rustc: separate TraitItem from their parent Item, just like ImplItem.Eduard-Mihai Burtescu-28/+140
2016-10-26Prohibit patterns in trait methods without bodiesVadim Petrochenkov-4/+4
2016-10-10ICH: Enable some cases in trait definition hashing.Michael Woerister-91/+85
2016-10-06Changed some namesAndrea Pretto-6/+6
2016-10-05Added the third parameter to the "add second lifetime bound to method type ↵Andrea Pretto-1/+1
parameter"
2016-10-05Fixes requested by @michaelwoeristerAndrea Pretto-31/+32
2016-10-03Fixed lines longer than 100.Andrea Pretto-3/+6
2016-10-03Test Case for Incr. Comp. Hash for traits #36681.Andrea Pretto-0/+1117