Esteban Kuber
d8a3d7d0b8
Change trait_defs.rs
incremental hash test
...
`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-11-20 18:54:31 +00:00
Camille GILLOT
11a999e634
Duplicate tests for incremental spans mode.
2021-09-10 20:19:38 +02:00
Camille GILLOT
175345b864
Fix tests on traits.
2021-05-15 14:38:32 +02:00
Camille GILLOT
da093d713a
Remove label
in dirty/clean annotations.
2021-05-15 13:20:42 +02:00
Mark Rousskov
4614671cae
Update code to account for extern ABI requirement
2021-01-13 07:49:45 -05:00
Eduard-Mihai Burtescu
e8f1dfae64
hir: replace "items" terminology with "nodes" where appropriate.
2020-03-19 14:36:04 +02:00
John Kåre Alsaker
274fb668b4
Replace Hir
with hir_owner
in tests
2020-03-14 22:52:31 +01:00
John Kåre Alsaker
c0b60c428a
Replace HirBody
with hir_owner_items
in tests
2020-03-14 22:52:31 +01:00
Mark Rousskov
7b3adc289e
Ban non-extern rust intrinsics
...
Intrinsics can only be defined by the compiler.
2019-09-14 11:47:02 -04:00
sd234678
4eec03d33e
Cherry-pick src/test changes with Centril's changes
2019-08-19 22:31:46 +01:00
Yuki Okushi
c004451a20
Migrate compile-pass annotations to build-pass
2019-07-03 06:30:28 +09:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
David Wood
43b5d725d0
Improve implicit self mutability suggestions.
...
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-10-02 00:35:15 +02:00
Guillaume Gomez
812656dc95
Rename must-compile-successfully into compile-pass
2018-04-13 23:28:03 +02:00
Michael Woerister
c5dd9f5301
incr.comp.: Hash spans unconditionally for full accuracy.
2017-12-08 10:02:26 +01:00
Michael Woerister
7ebccbb7a4
incr.comp.: Update test cases after metadata hashing removal.
2017-11-29 16:29:13 +01:00
leonardo.yvens
06506bb751
[Syntax Breaking] Rename DefaultImpl to AutoImpl
...
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-11-03 16:13:20 -02:00
Vadim Petrochenkov
7ca378b251
Prohibit lifetime arguments in path segments with late bound lifetime parameters
2017-07-18 00:12:48 +03:00
Sean McArthur
74b2d69358
remove associated_consts feature gate
2017-07-06 11:52:25 -07:00
Michael Woerister
ca2dce9b48
ICH: Replace old, transitive metadata hashing with direct hashing approach.
...
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-04-12 11:47:26 +02:00
Michael Woerister
14191eed41
Let the ICH testing framework check that all #[rustc_dirty] attrs have been actually checked.
2017-02-03 15:08:42 -05:00
Eduard-Mihai Burtescu
f89856be6c
rustc: move function arguments into hir::Body.
2016-12-28 11:29:19 +02:00
Eduard-Mihai Burtescu
864928297d
rustc: separate TraitItem from their parent Item, just like ImplItem.
2016-12-28 11:21:45 +02:00
Vadim Petrochenkov
811a2b91de
Prohibit patterns in trait methods without bodies
2016-10-26 20:55:16 +03:00
Michael Woerister
f52723c330
ICH: Enable some cases in trait definition hashing.
2016-10-10 11:57:49 -04:00
Andrea Pretto
bd77b3972f
Changed some names
2016-10-06 10:05:48 +02:00
Andrea Pretto
0004698a88
Added the third parameter to the "add second lifetime bound to method type parameter"
2016-10-05 23:02:01 +02:00
Andrea Pretto
a12d763602
Fixes requested by @michaelwoerister
2016-10-05 22:05:54 +02:00
Andrea Pretto
801a580aa8
Fixed lines longer than 100.
2016-10-03 23:51:22 +02:00
Andrea Pretto
cf26cae4ee
Test Case for Incr. Comp. Hash for traits #36681 .
2016-10-03 22:59:16 +02:00