Eduard-Mihai Burtescu
|
874f406ffd
|
Use 'tcx for references to AccessLevels wherever possible.
|
2020-07-03 00:04:48 +03:00 |
|
Mazdak Farrokhzad
|
1ccb0b4a02
|
rustc -> rustc_middle part 3 (rustfmt)
|
2020-03-30 07:19:55 +02:00 |
|
Mazdak Farrokhzad
|
0cb9e36090
|
rustc -> rustc_middle part 2
|
2020-03-30 07:16:56 +02:00 |
|
Mark Mansi
|
7bd8ce2e50
|
More Method->Fn renaming
|
2020-03-15 19:15:55 -05:00 |
|
Mark Mansi
|
3aeb9f0faf
|
rename TraitItemKind::Method -> Fn
|
2020-03-03 12:49:58 -06:00 |
|
Vadim Petrochenkov
|
e08c279eac
|
Rename syntax to rustc_ast in source code
|
2020-02-29 21:59:09 +03:00 |
|
jumbatm
|
e450996193
|
Avoid allocs in a few places.
- AnonymousParameters::check_trait_item
- TypeAliasBounds::check_item
- NonSnakeCase::check_snake_case
|
2020-02-11 19:50:26 +10:00 |
|
jumbatm
|
b2e78faa15
|
Move more work into decorate functions.
|
2020-02-11 19:49:01 +10:00 |
|
jumbatm
|
d246385122
|
Run RustFmt
|
2020-02-11 19:49:01 +10:00 |
|
jumbatm
|
7c58ffe874
|
Invert control in struct_lint_level.
Caller now passes in a `decorate` function, which is only run if the
lint is allowed.
|
2020-02-11 19:47:40 +10:00 |
|
Mazdak Farrokhzad
|
93a8283614
|
Move builtin attribute logic to new rustc_attr crate.
For now, this is all the crate contains, but more
attribute logic & types will be moved there over time.
|
2020-02-01 18:54:56 +01:00 |
|
jumbatm
|
25a8f9473f
|
Don't warn about snake case for field puns that don't introduce a new name.
|
2020-01-17 05:57:39 +10:00 |
|
Mazdak Farrokhzad
|
f58db20362
|
move rustc::lint::{context, passes} to rustc_lint.
Also do some cleanup of the interface.
|
2020-01-11 07:42:26 +01:00 |
|
Mazdak Farrokhzad
|
45f27643db
|
prepare moving HardwiredLints to rustc_session
|
2020-01-11 03:26:16 +01:00 |
|
Mazdak Farrokhzad
|
8bd3d240e3
|
nix syntax::errors & prefer rustc_errors over errors
|
2020-01-10 07:41:30 +01:00 |
|
Mazdak Farrokhzad
|
0997388b87
|
normalize rustc::hir::intravisit imports
|
2020-01-08 22:09:42 +01:00 |
|
Yuki Okushi
|
b065031096
|
Rollup merge of #67936 - euclio:assoc-type-bad-style, r=Centril
fire "non_camel_case_types" for associated types
Fixes #67920.
|
2020-01-07 13:46:13 +09:00 |
|
Andy Russell
|
a7727c59ac
|
fire "non_camel_case_types" for associated types
|
2020-01-06 09:51:23 -05:00 |
|
Mazdak Farrokhzad
|
ebfd8673a7
|
Remove rustc_hir reexports in rustc::hir.
|
2020-01-05 12:49:22 +01:00 |
|
Mazdak Farrokhzad
|
4ff12ce4c1
|
Normalize syntax::symbol imports.
|
2020-01-02 13:57:04 +01:00 |
|
Vadim Petrochenkov
|
70f1d57048
|
Rename syntax_pos to rustc_span in source code
|
2020-01-01 09:15:18 +03:00 |
|
Camille GILLOT
|
36f95ab3fa
|
Fallout in other crates.
|
2019-12-27 19:20:28 +01:00 |
|
Camille GILLOT
|
66f9198047
|
Use Arena inside hir::TraitMethod.
|
2019-12-27 19:20:28 +01:00 |
|
Camille GILLOT
|
8284035372
|
Fallout in other crates.
|
2019-12-26 23:38:46 +01:00 |
|
Mark Rousskov
|
a06baa56b9
|
Format the world
|
2019-12-22 17:42:47 -05:00 |
|
Camille GILLOT
|
5f5b6e7c67
|
Tidy.
|
2019-12-21 23:40:55 +01:00 |
|
Camille GILLOT
|
9694ab9e18
|
Use Arena inside hir::Body.
|
2019-12-21 23:39:19 +01:00 |
|
Camille GILLOT
|
42c03e4bb4
|
Use Arena inside hir::Mod.
|
2019-12-21 23:34:34 +01:00 |
|
Camille GILLOT
|
4f1c88be46
|
Use Arena inside hir::EnumDef.
|
2019-12-21 23:32:42 +01:00 |
|
Camille GILLOT
|
5fec1ca0ff
|
Use Arena inside hir::ImplItem.
|
2019-12-21 23:31:47 +01:00 |
|
Camille GILLOT
|
0f7d77363b
|
Use Arena inside hir::TraitItem.
|
2019-12-21 23:30:52 +01:00 |
|
Camille GILLOT
|
084e6722f9
|
Use Arena inside hir::Item.
|
2019-12-21 23:17:29 +01:00 |
|
varkor
|
7bc94cc3c2
|
Rename Item.node to Item.kind
|
2019-09-26 18:21:48 +01:00 |
|
varkor
|
d4573c9c1e
|
Rename TraitItem.node to TraitItem.kind
|
2019-09-26 18:21:09 +01:00 |
|
varkor
|
17726f6b52
|
Rename Lit.node to Lit.kind
|
2019-09-26 18:21:09 +01:00 |
|
varkor
|
ce6aabbaa1
|
Rename ImplItem.node to ImplItem.kind
|
2019-09-26 18:21:09 +01:00 |
|
varkor
|
8bd0382134
|
Rename Pat.node to Pat.kind
|
2019-09-26 18:21:09 +01:00 |
|
Caio
|
6a3d517314
|
Modifies how Arg, Arm, Field, FieldPattern and Variant are visited
Part of the necessary work to accomplish #63468.
|
2019-08-24 13:54:40 -03:00 |
|
Caio
|
6a42b0b28d
|
Merge Variant and Variant_
|
2019-08-14 14:47:01 -03:00 |
|
varkor
|
8aa45c65d8
|
Rename ItemKind::Ty to ItemKind::TyAlias
|
2019-08-04 20:13:37 +01:00 |
|
ljedrz
|
37d7e1f22a
|
rename hir::map::local_def_id_from_hir_id to local_def_id
|
2019-07-04 12:53:12 +02:00 |
|
ljedrz
|
d996c4d5a3
|
remove _by_hir_id if there is no NodeId counterpart
|
2019-06-17 18:57:21 +02:00 |
|
chansuke
|
b9266794da
|
Separate librustc_lint module
|
2019-06-16 14:17:01 +03:00 |
|
Nicholas Nethercote
|
fb084a48e2
|
Pass a Symbol to check_name , emit_feature_err , and related functions.
|
2019-05-13 09:29:22 +10:00 |
|
Eduard-Mihai Burtescu
|
ff174fe09e
|
rustc: rename hir::def::Def to Res (short for "resolution").
|
2019-05-03 22:50:19 +03:00 |
|
Eduard-Mihai Burtescu
|
a3fcab36d2
|
rustc: factor most DefId-containing variants out of Def and into DefKind.
|
2019-05-03 22:48:27 +03:00 |
|
Mazdak Farrokhzad
|
fba110c805
|
reduce repetition in librustc(_lint) wrt. impl LintPass
|
2019-04-03 23:37:31 +02:00 |
|
John Kåre Alsaker
|
32bc4a50c0
|
Make more lints incremental
|
2019-03-25 23:00:59 +01:00 |
|
ljedrz
|
558a07b896
|
hir: remove NodeId from PatKind
|
2019-03-07 12:18:59 +01:00 |
|
ljedrz
|
6536dbb640
|
hir: HirId-ify intravisit
|
2019-02-20 11:00:43 +01:00 |
|