Camille GILLOT
db03a2deb0
Avoid accessing HIR from MIR queries.
2022-04-10 13:08:36 +02:00
Camille GILLOT
21a554caf6
Remember mutability in DefKind::Static.
...
This allows to compute the `BodyOwnerKind` from `DefKind` only, and
removes a direct dependency of some MIR queries onto HIR.
As a side effect, it also simplifies metadata, since we don't need 4
flavours of `EntryKind::*Static` any more.
2022-03-29 18:50:52 +02:00
Camille GILLOT
04d5f41c97
Make node_id_to_hir_id owner-local.
2022-02-20 10:17:27 -03:00
Ellen
5e0e7ff068
trailing whitespace
2022-02-12 11:48:58 +00:00
Ellen
9130af2e4d
change docs on Res::SelfTy
2022-02-12 11:23:53 +00:00
Ellen
e81e09a24e
change to a struct variant
2022-02-12 11:23:53 +00:00
Amanieu d'Antras
d1204ac3b1
Remove invalid doc links.
2021-12-13 20:40:17 +00:00
Mara Bos
1acb44f03c
Use IntoIterator for array impl everywhere.
2021-12-04 19:40:33 +01:00
Gary Guo
02c1774cd3
Give inline const separate DefKind
2021-11-07 03:59:06 +00:00
Vadim Petrochenkov
294510e1bb
rustc: Remove local variable IDs from Exports
...
Local variables can never be exported.
2021-09-10 23:41:48 +03:00
Ellen
c0e853f274
remove lazy_normalization_consts
2021-08-30 11:00:21 +02:00
Matthias Krüger
053aedce2c
clippy::filter_map_identity
2021-07-25 12:26:03 +02:00
Camelid
8563a19384
Document Res and its friends
2021-04-07 18:03:38 -07:00
Vadim Petrochenkov
7f9a2cfa1b
resolve: Reject ambiguity built-in attr vs different built-in attr
2021-01-17 01:48:17 +03:00
Vadim Petrochenkov
69894ce9ac
resolve: Introduce a separate NonMacroAttrKind for legacy derive helpers
2020-11-19 19:25:20 +03:00
Fabian Zaiser
de84ad95b4
Implement destructuring assignment for structs and slices
...
Co-authored-by: varkor <github@varkor.com >
2020-11-11 12:10:52 +00:00
Bastian Kauschke
83ecbb4a29
add tests for self with const params
2020-10-23 22:10:44 +02:00
Scott McMurray
d74b8e0505
Replace some once(x).chain(once(y)) with [x, y] IntoIter
...
Now that we have by-value array iterators...
2020-10-03 16:51:43 -07:00
Bastian Kauschke
c552717e9d
review, improve note span
2020-09-13 22:53:51 +02:00
Bastian Kauschke
e5b82a56c5
allow concrete self types in consts
2020-09-13 22:53:51 +02:00
Joshua Nelson
3797f29aad
[WIP] give better errors for broken intra doc links
2020-09-05 13:48:19 -04:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00