Alex Crichton
59d47a3ca4
rollup merge of #18132 : P1start/more-help
2014-11-03 15:28:54 -08:00
Niko Matsakis
319d778ed3
Restructure AST so that the associated type definition carries
...
bounds like any other "type parameter".
2014-11-03 17:41:00 -05:00
Jakub Bukaj
c77a313570
Mark the struct_inherit
feature as removed
2014-11-02 18:40:30 +01:00
P1start
5bf9ef2122
Convert some notes to help messages
...
Closes #18126 .
2014-11-02 16:12:23 +13:00
bors
c7e0724274
auto merge of #17733 : jgallagher/rust/while-let, r=alexcrichton
...
This is *heavily* based on `if let` (#17634 ) by @jakub- and @kballard
This should close #17687
2014-10-13 19:37:40 +00:00
Jakub Wieczorek
403cd40e6a
Remove virtual
structs from the language
2014-10-11 19:42:26 +02:00
John Gallagher
660cf18070
Move while let
behind while_let
feature gate
2014-10-10 20:30:32 -04:00
Nick Cameron
2d3823441f
Put slicing syntax behind a feature gate.
...
[breaking-change]
If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
2014-10-07 15:49:53 +13:00
bors
9a2286d3a1
auto merge of #16995 : kmcallister/rust/plugin-tutorial, r=alexcrichton
...
@steveklabnik, are you interested in looking this over?
2014-10-03 07:33:26 +00:00
Alex Crichton
7ae802f57b
rollup merge of #17666 : eddyb/take-garbage-out
...
Conflicts:
src/libcollections/lib.rs
src/libcore/lib.rs
src/librustdoc/lib.rs
src/librustrt/lib.rs
src/libserialize/lib.rs
src/libstd/lib.rs
src/test/run-pass/issue-8898.rs
2014-10-02 14:53:18 -07:00
Aaron Turon
7bf56df4c8
Revert "Put slicing syntax behind a feature gate."
...
This reverts commit 95cfc35607ccf5f02f02de56a35a9ef50fa23a82.
2014-10-02 11:47:51 -07:00
Eduard Burtescu
db55e70c97
syntax: mark the managed_boxes feature as Removed.
2014-10-02 17:02:03 +03:00
Eduard Burtescu
d1a57e479c
syntax: ast: remove TyBox and UnBox.
2014-10-02 16:36:01 +03:00
Nick Cameron
95cfc35607
Put slicing syntax behind a feature gate.
...
[breaking-change]
If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
2014-10-02 13:23:36 +13:00
Keegan McAllister
dfcfd008fa
Update some old references to rust.md
2014-10-01 13:21:52 -07:00
Kevin Ballard
13e00e4a3d
Update based on PR feedback
2014-09-30 18:54:03 +02:00
Kevin Ballard
8a60952100
Move if let
behind a feature gate
2014-09-30 18:54:03 +02:00
Keegan McAllister
fc1b908322
Hide the quote_*! macros when the feature gate is off
...
This makes it easier to experiment with improved quasiquoting as an ordinary
plugin library.
The list of quote macros in feature_gate.rs was already out of sync;
this commit also prevents that problem in the future.
2014-09-26 17:17:14 -07:00
Patrick Walton
e9ad12c0ca
librustc: Forbid private types in public APIs.
...
This breaks code like:
struct Foo {
...
}
pub fn make_foo() -> Foo {
...
}
Change this code to:
pub struct Foo { // note `pub`
...
}
pub fn make_foo() -> Foo {
...
}
The `visible_private_types` lint has been removed, since it is now an
error to attempt to expose a private type in a public API. In its place
a `#[feature(visible_private_types)]` gate has been added.
Closes #16463 .
RFC #48 .
[breaking-change]
2014-09-22 20:05:45 -07:00
Patrick Walton
78a841810e
librustc: Implement associated types behind a feature gate.
...
The implementation essentially desugars during type collection and AST
type conversion time into the parameter scheme we have now. Only fully
qualified names--e.g. `<T as Foo>::Bar`--are supported.
2014-09-17 16:38:57 -07:00
Nick Cameron
74db87b99d
move feature_gate to libsyntax
2014-09-17 16:53:20 +12:00