Jeffrey Seyfried
37ba66a66e
Rename middle::ty::ctxt to TyCtxt
2016-03-03 07:37:56 +00:00
Vadim Petrochenkov
9047b201bf
Move span into StructField
...
+ some cleanup in rustdoc
2016-03-02 10:32:04 +03:00
Vadim Petrochenkov
8b026a6e48
Use numeric field Name
s ("0", "1" etc) for positional fields
2016-03-02 10:31:19 +03:00
Vadim Petrochenkov
8b60b948d9
Get rid of hir::StructFieldKind
2016-03-02 10:31:19 +03:00
Vadim Petrochenkov
9b40e1e5b3
Rename hir::Pat_ and its variants
2016-02-14 15:25:12 +03:00
Oliver 'ker' Schneider
14e09ad468
[breaking-change] don't glob export ast::MetaItem_
2016-02-11 12:34:48 +01:00
Oliver Schneider
69072c4f5d
[breaking-change] don't pub export ast::Lit_ variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
243a30c931
[breaking-change] don't glob import/export syntax::abi enum variants
2016-02-11 12:34:48 +01:00
Ariel Ben-Yehuda
29c296f90b
clean up trans_static_method_callee and friends
2016-01-21 14:42:09 +02:00
Vadim Petrochenkov
2084c2c33a
Rename Def's variants and don't reexport them
2016-01-20 22:31:10 +03:00
Vadim Petrochenkov
ceaaa1bc33
Refactor definitions of ADTs in rustc::middle::def
2016-01-20 21:50:57 +03:00
Niko Matsakis
0defb158aa
implement the obligation forest data structure and add some unit tests
2016-01-14 12:59:50 -05:00
Nick Cameron
aaa02b3ff9
Refactoring
2015-12-30 14:27:59 +13:00
Nick Cameron
95dc7efad0
use structured errors
2015-12-30 14:27:59 +13:00
bors
d4ffaf6f83
Auto merge of #30269 - sanxiyn:no-mangle-generic, r=Aatch
...
Fix #15844 .
Should the default be Deny instead?
2015-12-16 14:12:43 +00:00
Vadim Petrochenkov
105bd15207
Address the review comments
2015-12-12 21:40:45 +03:00
Vadim Petrochenkov
e3ed7b0501
Implement #[deprecated]
attribute (RFC 1270)
2015-12-12 19:39:37 +03:00
Seo Sanghyeon
55ffc33b10
Warn no_mangle on generic functions
2015-12-09 01:48:40 +09:00
Vadim Petrochenkov
eb789de803
Do MTWT resolution during lowering to HIR
2015-12-05 00:40:21 +03:00
Ariel Ben-Yehuda
0a8bb4c509
split the metadata code into rustc_metadata
...
tests & rustdoc still broken
2015-11-26 18:22:40 +02:00
Ariel Ben-Yehuda
d45dd9423e
make CrateStore a trait object
...
rustdoc still broken
2015-11-26 18:21:17 +02:00
Ariel Ben-Yehuda
f5fbefa3af
remove csearch from resolve and typeck
2015-11-26 18:21:17 +02:00
bors
040a77f772
Auto merge of #29952 - petrochenkov:depr, r=brson
...
Part of https://github.com/rust-lang/rust/issues/29935
The deprecation lint is still called "deprecated", so people can continue using `#[allow(deprecated)]` and similar things.
2015-11-23 20:08:49 +00:00
Vadim Petrochenkov
a613059e3f
Rename #[deprecated] to #[rustc_deprecated]
2015-11-20 16:11:20 +03:00
Vadim Petrochenkov
c1ad5af4a6
Changes to data produced by privacy pass
2015-11-19 14:16:35 +03:00
Niko Matsakis
e4ff9f71db
Port a bunch of code new-visitor; all of these ports were
...
straightforward uses of `visit_all_items`. In some cases I had to remove
empty `visit_item` calls that were just to suppress visiting nested
items.
2015-11-18 19:22:18 -05:00
bors
50b969d3b2
Auto merge of #29882 - devonhollowood:master, r=Manishearth
...
Implement #14615
2015-11-18 02:02:00 +00:00
Devon Hollowood
5e8225af91
Remove unused imports
2015-11-17 01:19:14 -08:00
Devon Hollowood
07e108f038
Remove 'raw_pointer_derive' lint ( #14615 )
2015-11-17 01:19:14 -08:00
Oliver Schneider
e36872da5b
ImplItem_ -> ImplItemKind rename
2015-11-16 10:35:30 +01:00
Oliver Schneider
eaaa60dbea
rename ImplItem_::*ImplItem to ImplItem_::*
...
[breaking change]
2015-11-16 10:34:45 +01:00
bors
cd79acf21e
Auto merge of #29109 - nxnfufunezn:master, r=Manishearth
...
Fixes : #19668
r? @Manishearth
2015-10-17 08:04:32 +00:00
nxnfufunezn
72e0e59574
Updated librustc_lint/builtin.rs to use span_lint_note
2015-10-17 02:14:26 +05:30
bors
747d951e88
Auto merge of #29014 - petrochenkov:stability, r=brson
...
Stricter checking of stability attributes + enforcement of their invariants at compile time
(+ removed dead file librustc_front/attr.rs)
I intended to enforce use of `reason` for unstable items as well (it normally presents for new items), but it turned out too intrusive, many older unstable items don't have `reason`s.
r? @aturon
I'm studying how stability works and do some refactoring along the way, so it's probably not the last PR.
2015-10-16 17:47:01 +00:00
Vadim Petrochenkov
46750d0409
Merge VariantData and VariantData_
2015-10-13 15:19:27 +03:00
Vadim Petrochenkov
40aa09e4c9
Merge struct fields and struct kind
2015-10-13 15:19:25 +03:00
Vadim Petrochenkov
30af54dede
Dict -> Struct, StructDef -> VariantData, def -> data
2015-10-13 15:19:24 +03:00
Vadim Petrochenkov
877c35e8a2
Remove now redundant NodeId from Variant
2015-10-13 15:19:18 +03:00
Vadim Petrochenkov
ab671552c3
Refactor attr::Stability
...
Stricter checking + enforcement of invariants at compile time
2015-10-13 06:01:31 +03:00
Niko Matsakis
01f32ace03
Convert DefId to use DefIndex, which is an index into a list of
...
paths, and construct paths for all definitions. Also, stop rewriting
DefIds for closures, and instead just load the closure data from
the original def-id, which may be in another crate.
2015-10-01 10:43:07 -04:00
Niko Matsakis
d7b0eb0f39
build up a set of node-ids that we can construct def-ids from
2015-10-01 10:42:37 -04:00
Niko Matsakis
a0dc2d9a29
Introduce semi-duplicate DefIds into DefLocal/DefUpvar to remove use
...
of xxx_local.
2015-10-01 10:37:19 -04:00
Niko Matsakis
5600c6282e
move direct accesses of node
to go through as_local_node_id
, unless
...
they are being used as an opaque "position identifier"
2015-10-01 10:37:19 -04:00
Niko Matsakis
9ff4f57cd0
move job of creating local-def-ids to ast-map (with a few stragglers)
2015-10-01 10:28:28 -04:00
Manish Goregaokar
7e6e64b12d
Rollup merge of #28681 - arielb1:destructor-fixes, r=eddyb
...
Fixes #28568
r? @eddyb
2015-09-27 15:05:17 +05:30
Ariel Ben-Yehuda
f9b703e7ab
remove the destructors table
2015-09-26 23:11:52 +03:00
Vadim Petrochenkov
40ce80484c
Remove random Idents outside of libsyntax
2015-09-23 20:04:49 +03:00
bors
cefe5f25b2
Auto merge of #28580 - wesleywiser:split_out_type_lints, r=alexcrichton
...
Move out the `TypeLimits` and `ImproperCTypes` lints into a separate module.
Part of #22206
2015-09-23 02:11:18 +00:00
Vadim Petrochenkov
2a779062d8
Use Names in the remaining HIR structures with exception of...
...
PathSegment, PatIdent, ExprWhile, ExprLoop, ExprBreak and ExprAgain - they need Idents for resolve
2015-09-22 19:58:29 +03:00
Vadim Petrochenkov
a4af958786
Use Names in HIR Items
2015-09-22 19:53:52 +03:00