Alexander Regueiro
|
4c9b1b13dd
|
Initial changes to librustc to support const trait fns.
|
2018-03-08 08:08:14 +01:00 |
|
Michael Woerister
|
c9d25e3269
|
Use different DefIndex representation that is better suited for variable length integer encodings.
|
2018-01-08 14:15:17 +01:00 |
|
Ariel Ben-Yehuda
|
e7c8fbf1f7
|
clean the Debug impl for CrateNum and DefId
before: DefId { krate: CrateNum(11), index: DefIndex(0:6) => foo[8787]::Mapper[0]::OtherType[0] } }
after: DefId(11:0:6 ~ foo[8787]::Mapper[0]::OtherType[0])
|
2017-11-21 15:35:04 +02:00 |
|
Michael Woerister
|
0a1f6dd8a8
|
Add doc comment for LocalDefId.
|
2017-11-16 18:09:04 +01:00 |
|
Michael Woerister
|
cb1ff24425
|
incr.comp.: Remove default serialization implementations for things in rustc::hir::def_id so that we get an ICE instead of silently doing the wrong thing.
|
2017-11-16 17:13:39 +01:00 |
|
Michael Woerister
|
24e54ddefa
|
Introduce LocalDefId which provides a type-level guarantee that the DefId is from the local crate.
|
2017-11-16 14:04:01 +01:00 |
|
Michael Woerister
|
2c1aeddf27
|
incr.comp.: Cache TypeckTables and add -Zincremental-queries flag.
|
2017-11-14 19:52:49 +01:00 |
|
Michael Woerister
|
15db1652f8
|
incr.comp.: Implement TyDecoder for on_disk_cache::CacheDecoder.
|
2017-11-14 12:03:57 +01:00 |
|
Michael Woerister
|
bc96d9d8c9
|
incr.comp.: Implement UseSpecializedXXcodable for DefIndex and DefId.
|
2017-11-13 15:46:46 +01:00 |
|
Santiago Pastorino
|
d19faead2d
|
Make DefIndex use newtype_index macro
|
2017-11-04 19:22:37 -03:00 |
|
Paul Daniel Faria
|
97692afda9
|
newindex_type macro: make index private by default and allow pub through config
|
2017-11-01 21:25:37 -04:00 |
|
Paul Daniel Faria
|
bf1198eb1f
|
newtype_index: Support simpler serializable override, custom derive, and fix mir_opt tests
|
2017-11-01 20:12:53 -04:00 |
|
Paul Daniel Faria
|
b46e42fe2a
|
Clean up macro argument matches so they satisfy tidy checks
|
2017-11-01 20:12:10 -04:00 |
|
Paul Daniel Faria
|
4e496de26d
|
Add derive and doc comment capabilities to newtype_index macro
|
2017-11-01 20:12:10 -04:00 |
|
Michael Woerister
|
b50e8ebbba
|
Fix infinite recursion in <DepNode as Debug>.
|
2017-10-05 10:20:13 +02:00 |
|
Michael Woerister
|
a7428da415
|
incr.comp.: Do some various cleanup.
|
2017-09-23 19:47:20 +02:00 |
|
est31
|
b8cf07ee1f
|
Improve DefIndex formatting to be more semantic
|
2017-09-04 22:57:22 +02:00 |
|
Michael Woerister
|
fa91eeb99f
|
Remove unused DefTable::retrace_path().
|
2017-07-20 15:32:06 +02:00 |
|
Taylor Cramer
|
c98ca953b0
|
Switch CrateNum queries to DefId
|
2017-06-14 22:49:07 -07:00 |
|
bjorn3
|
8df5dfbb57
|
Add single doc comment to librustc/hir/def_id.rs
|
2017-06-03 18:21:43 +02:00 |
|
Michael Woerister
|
115602b1be
|
Add INVALID_CRATE CrateNum constant.
|
2017-05-09 12:46:43 +02:00 |
|
Michael Woerister
|
090767b5ef
|
Allocate numerical values of DefIndexes from two seperate ranges.
This way we can have all item-likes occupy a dense range of
DefIndexes, which is good for making fast, array-based
dictionaries.
|
2017-03-22 17:07:19 +01:00 |
|
Michael Woerister
|
70944c2b5f
|
No need to have tcx::opt_def_path() now that we store all DefPaths
|
2016-12-16 19:14:16 -05:00 |
|
Jeffrey Seyfried
|
872943c317
|
Improve macro reexports.
|
2016-11-10 10:04:24 +00:00 |
|
Eduard Burtescu
|
221d1a97e5
|
serialize: allow specifying the default behavior for specializations.
|
2016-09-20 20:08:06 +03:00 |
|
Eduard Burtescu
|
fc363cb482
|
rustc_metadata: go only through rustc_serialize in astencode.
|
2016-09-20 20:07:54 +03:00 |
|
Niko Matsakis
|
dadce2521e
|
always print def-path in Debug impl for DefId
I also added an `opt_def_path` so that we can deal with DefIds that are
missing a `DefPath` entry.
|
2016-09-06 11:18:10 -04:00 |
|
Eduard Burtescu
|
ffca6c3e15
|
rustc: move middle::{def,def_id,pat_util} to hir.
|
2016-04-06 09:14:21 +03:00 |
|