Commit Graph

1829 Commits

Author SHA1 Message Date
Niko Matsakis cc1282c9a6 Clarify that new lints are are T-lang changes
They therefore require an RFC.
2016-02-11 14:33:15 -05:00
Niko Matsakis ee281d7119 Correct a few more references to `try` in RFC 243 2016-02-05 18:03:29 -05:00
Niko Matsakis d9e79e4c57 s/try/catch 2016-02-05 17:59:03 -05:00
Niko Matsakis 00e839fe4d Update "metadata" 2016-02-05 15:54:29 -05:00
Niko Matsakis 94390a2ce4 Adjust to narrow to the keyword `catch` 2016-02-05 14:47:00 -05:00
Niko Matsakis 9f7dc89ee6 Merge and rename RFC #243. 2016-02-05 14:31:13 -05:00
Niko Matsakis 310e9ef4c6 Merge remote-tracking branch 'glaebhoerl/trait-based-exception-handling' 2016-02-05 14:30:41 -05:00
Niko Matsakis 6b0f3ae0fd Merge branch 'master' of github.com:rust-lang/rfcs 2016-02-05 14:02:39 -05:00
Niko Matsakis 3855c84457 Merge RFC #1445: restrict constants in patterns. 2016-02-05 14:02:17 -05:00
Niko Matsakis 74c01e9d8c Merge branch 'restrict-constants-in-patterns' 2016-02-05 13:59:52 -05:00
Niko Matsakis 120c28b13c Update unresolved question about exhaustiveness. 2016-02-05 13:59:04 -05:00
Alex Crichton d975dce592 RFC 1359 is CommandExt::{exec, before_exec} 2016-02-03 16:23:01 -08:00
Alex Crichton 8d4a81f552 Merge branch 'process-ext' 2016-02-03 16:21:35 -08:00
Alex Crichton 502ecca5b2 Merge pull request #1423 from durka/patch-1
Amend RFC 1270 to describe actual implementation
2016-02-03 16:18:58 -08:00
Alex Crichton 667f316757 Merge pull request #1482 from petrochenkov/patch-1
Add extension ".md" to text/1361-cargo-cfg-dependencies
2016-01-28 23:34:05 -08:00
Vadim Petrochenkov 531cddfe41 Add extension ".md" to text/1361-cargo-cfg-dependencies
Otherwise GitHub doesn't render it properly
2016-01-29 10:23:28 +03:00
Alex Crichton 4cdc21a0b2 RFC 1361 is #[cfg] in Cargo dependencies 2016-01-28 23:12:14 -08:00
Alex Crichton 477681de65 Merge branch 'print-cfg' 2016-01-28 23:12:11 -08:00
Gábor Lehel 2daab8052e Merge pull request #1 from aturon/explicate-gates
Add specifics around feature gates
2016-01-25 02:18:49 +01:00
Alex Crichton 60e6d04e5b The TOML spec has been updated to allow literal strings
Note is now removed
2016-01-22 23:53:19 -08:00
Niko Matsakis 8272bf6449 add second issue for later amendment 2016-01-22 16:29:50 -05:00
Niko Matsakis 1a2f6898c6 Merge remote-tracking branch 'pnkfelix/add-sqbracket-to-follow-of-ty' 2016-01-22 16:27:54 -05:00
Niko Matsakis 841644f279 Merge remote-tracking branch 'Stebalien/amend-1192' 2016-01-22 16:24:51 -05:00
Alex Crichton 4967db5016 Merge pull request #1473 from cardoe/rfc131-fix
target spec: remove /etc/rustc as default path
2016-01-22 12:54:27 -08:00
Doug Goldstein 063d0ad139 target spec: remove /etc/rustc as default path
The RFC specifies that if RUST_TARGET_PATH is unset then the default is
/etc/rustc but this won't work on all systems (e.g. Windows) and the
Rust compiler never actually implemented this behavior so remove it from
the RFC. closes rust-lang/rust#31117

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2016-01-22 12:49:00 -06:00
Aaron Turon fd358fba36 Add specifics around feature gates 2016-01-22 10:41:23 -08:00
Niko Matsakis 55786e7e06 start adding structural_match 2016-01-19 20:44:05 -05:00
Steven Allen 2025389e10 Add amendments section to note change.
At @nikomatsakis request.
2016-01-15 21:50:12 -05:00
Niko Matsakis a2968d4185 merge and rename RFC #1331 2016-01-15 14:45:49 -05:00
Niko Matsakis 5ca9e54d6d Merge remote-tracking branch 'nagisa/grammar' 2016-01-15 14:42:12 -05:00
Felix S. Klock II 6fef0b3439 added self-referential note to the Edit History for RFC 550. 2016-01-15 00:56:23 +01:00
Felix S. Klock II c39a7cb55e Add `[` to the FOLLOW(ty) in macro future-proofing rules. 2016-01-15 00:28:01 +01:00
Niko Matsakis 4b471de048 add new RFC 2016-01-06 13:03:05 -05:00
Gábor Lehel a12bad60bd minor verbiage 2015-12-30 20:54:37 +01:00
Gábor Lehel 1a50c01eb7 wrap ALL the words; also mention lang items 2015-12-30 04:39:41 +01:00
Gábor Lehel f5bf33127b Add exception-upcasting with `Into` and minor other stuff 2015-12-30 04:25:41 +01:00
Gábor Lehel 4288a756fd add syntax as an unresolved question 2015-12-30 03:30:08 +01:00
Gábor Lehel ef6bb5c4c4 make clearer that early-exit-from-any-block is not proposed, mention it in "Future possibilities" 2015-12-29 22:24:04 +01:00
Gábor Lehel ab63c4fc3a RFC update, first pass:
* Monomorphize to `Result`, and move all `Carrier` stuff to a "Future possibilities" section.

 * Move `throw` and `throws` to "Future possibilities".

 * Move the irrefutable-pattern form of `catch` to "Future possibilities".

 * Early-exit using `break` instead of `return`.

 * Rename `Carrier` to `ResultCarrier`.

 * Miscellaneous other improvements.
2015-12-29 22:10:42 +01:00
Alex Burka b29c3f7420 Amend RFC 1270 to describe actual implementation
Change `reason` to `note` and remove `use`.
2015-12-22 16:37:56 -05:00
Alex Crichton 65ea6716d0 Typos 2015-12-21 09:25:15 -08:00
Felix S Klock II 3a16a14ca5 Merge pull request #1384 from pnkfelix/cleanup-macro-future-proofing
Amend RFC 550 with (expanded) abstract specification rather than algorithm
2015-12-18 00:03:42 +01:00
Alex Crichton 7654c007b7 RFC 1328 is global panic handlers 2015-12-17 14:21:00 -08:00
Alex Crichton 328542a82e Merge branch 'panic-handlers' of https://github.com/sfackler/rfcs 2015-12-17 14:20:17 -08:00
Felix S. Klock II 5aefeb5961 fixed poor wording in edit history 2015-11-30 17:26:15 +01:00
Felix S. Klock II 602bb545c8 updated edit history section to account for commit 13fcc38421 2015-11-30 17:08:50 +01:00
Felix S. Klock II fa24ae5dd1 fix typo noted by cmr. thanks! 2015-11-30 17:05:58 +01:00
Felix S. Klock II 13fcc38421 current macro_rules.rs has { if, in } \subset FOLLOW(pat) 2015-11-30 15:35:44 +01:00
Felix S. Klock II 2077d8d944 Add the self-referential PR number for the amendment. 2015-11-27 16:47:23 +01:00
Felix S. Klock II 3c4f0f6fb9 Massive redo of Detailed Design; expanded parts of spec in passing.
As noted in the Edit History addition:

  * replaced detailed design with a specification-oriented presentation rather than an implementation-oriented algorithm.

  * fixed some oversights in the specification (that led to matchers like `break { stuff }` being accepted),

  * expanded the follows sets for `ty` to include `OpenDelim(Brace), Ident(where), Or` (since Rust's grammar already requires all of `|foo:TY| {}`, `fn foo() -> TY {}` and `fn foo() -> TY where {}` to work).

  * expanded the follow set for `pat` to include `Or` (since Rust's grammar already requires `match (true,false) { PAT | PAT => {} }` and `|PAT| {}` to work). See also [RFC issue 1336][].

Not noted in Edit History addition:

  * expanded/revised terminology section to fit new detailed design

  * added "examples of valid and invalid matchers" subsection, that uses the
    specification from detailed design to explain why each is valid/invalid.

  * rewrote the algorithm to actually implement the (new) specification, and
    moved the discussion of the algorithm to a non-binding appendix.
2015-11-27 16:34:00 +01:00