Camille GILLOT
40bde9902c
Address review.
2023-02-25 13:43:21 +00:00
Camille GILLOT
f38f3af22a
Remove some resolver outputs.
2023-02-22 20:48:39 +00:00
Camille GILLOT
958419d354
Move the unused extern crate check back to the resolver.
2023-02-22 20:48:27 +00:00
Oli Scherer
d191de63f0
Prepare for adding a TyCtxt
to Resolver
2023-02-20 10:38:48 +00:00
Oli Scherer
43a5cc383d
Separate the lifetime of the session and the arena in the resolver
2023-02-14 10:01:25 +00:00
Michael Woerister
c3d2573120
Use UnordMap instead of FxHashMap in define_id_collections!().
2023-01-19 10:40:47 +01:00
Vadim Petrochenkov
637bfe68a1
resolve: Not all imports have their own NodeId
2022-10-31 20:25:27 +04:00
lcnr
1fc86a63f4
rustc_typeck to rustc_hir_analysis
2022-09-27 10:37:23 +02:00
Vadim Petrochenkov
fc3f3c304b
rustc_middle: Remove Visibility::Invisible
2022-08-27 22:34:18 +03:00
Camille GILLOT
603746a35e
Make ResolverAstLowering a struct.
2022-06-14 22:44:27 +02:00
Jacob Pratt
49c82f31a8
Remove crate
visibility usage in compiler
2022-05-20 20:04:54 -04:00
Ken Matsui
03007dee79
Omit unnecessary help to add #[cfg(test)]
when already annotated
2022-05-17 06:50:07 +09:00
David Wood
c45f29595d
span: move MultiSpan
...
`MultiSpan` contains labels, which are more complicated with the
introduction of diagnostic translation and will use types from
`rustc_errors` - however, `rustc_errors` depends on `rustc_span` so
`rustc_span` cannot use types like `DiagnosticMessage` without
dependency cycles. Introduce a new `rustc_error_messages` crate that can
contain `DiagnosticMessage` and `MultiSpan`.
Signed-off-by: David Wood <david.wood@huawei.com>
2022-04-05 07:01:00 +01:00
Takayuki Maeda
6f8ad6d83a
suggest adding a #[cfg(test)]
to test modules
...
remove a empty line
import `module_to_string`
use `contains("test")`
show a suggestion in case module starts_with/ends_with "test"
replace `parent` with `containing`
2021-12-16 11:48:58 +09:00
inquisitivecrystal
9a987b0466
Add ty::Visibility::is_public()
2021-11-09 18:35:00 -08:00
Mara Bos
abab99e02b
Stop tracking namespce in used_imports.
...
The information was tracked, but unused.
2021-08-22 16:50:59 +02:00
Mara Bos
f1860d1901
Include attributes in removal span for unused imports.
2021-08-12 17:35:52 +02:00
Aaron Hill
c1011165e6
Attach TokenStream
to ast::Visibility
...
A `Visibility` does not have outer attributes, so we only capture tokens
when parsing a `macro_rules!` matcher
2020-09-10 17:33:06 -04:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00