Commit Graph

4346 Commits

Author SHA1 Message Date
Erin Power 6baa18a9ab Add Project Group RFC
Co-Authored-By: Niko Matsakis <niko@alum.mit.edu>
Co-Authored-By: valgrimm <56933147+valgrimm@users.noreply.github.com>
2020-04-16 15:15:10 +02:00
Mark Rousskov 3df38f62c4
Merge pull request #2847 from LukasKalbertodt/fix-linked-list-cursor-names
Fix linked list cursor names
2020-01-14 10:44:15 -05:00
Lukas Kalbertodt 772fb67c7e
Rename a few more methods in Linked List Cursor RFC
These are just the names of the initially implementation.
2020-01-14 16:12:22 +01:00
Lukas Kalbertodt 41a81ea160
Replace `pop` and `pop_before` with `remove_current` in Linked List Cusors
The name "pop" was critized in the discussion thread but despite agreement
it should be changed, no one did. This commit implements basically the
suggestion by Amanieu (but `remove_current` instead of `remove`). There is
some discussion however, over if there should be two methods (differing in
what element is the current one after deletion). This should be discussed
in the tracking issue before stabilizing the feature.
2020-01-11 19:11:21 +01:00
Lukas Kalbertodt b486793c2e
Rename some methods of Linked List Cursor
These changes is where everyone seems to agree on.

- peek -> peek_next
- peek_before -> peek_prev
- insert -> insert_after
- insert_list -> splice_after
- insert_list_before -> splice_before
- split -> split_after
2020-01-11 17:20:24 +01:00
Lukas Kalbertodt 498c10a62e
Convert tabs to space in RFC 2570 Linked List Cursors
Tabs render as 8 spaces on GitHub which is different from the
standard Rust style (4 spaces).
2020-01-11 16:53:27 +01:00
Niko Matsakis 81c6debd8e
Merge pull request #2828 from ultrasaurus/patch-1
Add tracking issue for #!feature(async_closure)]
2020-01-08 14:49:46 -05:00
Niko Matsakis 095ac2f65c fix link to PR 2020-01-07 17:05:01 -05:00
Niko Matsakis 1c6301a5a1 link tracking issue for RFC 2795 2020-01-07 14:24:00 -05:00
Niko Matsakis 9265541af5 rename RFC 2795 2020-01-07 14:21:40 -05:00
Niko Matsakis c68def6810 Merge remote-tracking branch 'davidhewitt/format-args-implicit-identifiers' 2020-01-07 14:21:17 -05:00
Niko Matsakis 05542d81ca remove mention of rust issue 2020-01-07 14:20:32 -05:00
Niko Matsakis b4fd2ea5b5 rename RFC 2020-01-07 14:19:59 -05:00
Niko Matsakis 494841e918 Merge remote-tracking branch 'rylev/project-safe-transmute' 2020-01-07 14:19:36 -05:00
Mazdak Farrokhzad 6ad6edf3e8
Merge pull request #2842 from Manishearth/nonascii-fixes
Update unicodeset link
2020-01-01 05:24:31 +01:00
Manish Goregaokar be2e05ce92 Update unicodeset link 2020-01-01 09:51:46 +05:30
Mazdak Farrokhzad 751cf11417
Merge pull request #2840 from rust-lang/nfc-normalization-lexer-1
Non-ASCII identifiers: NFC normalization is performed by lexer, not parser
2019-12-31 07:14:42 +01:00
Pietro Albini 5b3220f162
rename to RFC 2837 2019-12-30 10:07:46 +01:00
Pietro Albini 76b9b2002f
Merge branch 'demote-apple-32bit' 2019-12-30 10:06:26 +01:00
Vadim Petrochenkov 4f27be4aa0
Non-ASCII identifiers: NFC normalization is performed by lexer, not parser
cc https://github.com/rust-lang/rust/issues/55467#issuecomment-569484220
2019-12-29 11:40:26 +03:00
Niko Matsakis 0fb14f27a4 Merge branch 'ProjectFfiUnwind' 2019-12-12 11:20:48 -05:00
Niko Matsakis 1fe0929aa3 rename to RFC 2797 2019-12-12 11:20:27 -05:00
Niko Matsakis 73fa873c29 rewrite the "TBD behavior" section 2019-12-12 11:18:30 -05:00
Niko Matsakis 81dd0bb447 clarify what we intend to specify for foreign exceptions 2019-12-12 11:04:41 -05:00
Ryan Levick 2c6f72095c Intial draft of project safe transmute proposal 2019-12-11 10:43:10 +01:00
Pietro Albini 1b7ccd217c
demote-apple-32bit: initial draft 2019-12-10 19:37:56 +01:00
Sarah Allen 25d62b0669
Add tracking issue for #!feature(async_closure)]
This RFC isn't fully implemented, but tracking bug is closed. 
This PR adds a tracking bug I found for part of the RFC that is not implemented.
There may be other open tracking bugs. This PR is intended to be an improvement,
may not be a complete fix for issue:  https://github.com/rust-lang/rust/issues/66909
2019-11-30 08:15:03 -08:00
Mazdak Farrokhzad 809a988511
Merge pull request #2825 from DustinByfuglien/patch-1
Fix some errors in type and parameter names
2019-11-28 16:35:36 +01:00
max_well 36930a3237
Fix some errors in type and parameter names
Suggest to fix a few errors/typos:
1. Erronously named type ```R``` renamed to ```Rhs```
2. Name some anonymous parameters (as later they are deprecated by RFC#1685)
2019-11-28 15:04:32 +03:00
Mazdak Farrokhzad a79bad2188
Merge pull request #2821 from Nemo157/patch-2
Fix more broken blog post links in 2592-futures
2019-11-22 15:12:39 +01:00
Nemo157 a31e594113
Fix more broken blog post links in 2592-futures 2019-11-22 00:20:07 +01:00
David Hewitt ba36e80903 Add discussion on `panic!("{foo}")`
The panic macro currently does not perform string formatting if
it only passed a single argument which is a string literal.

To be consistent with implicit named arguments and e.g.
`print!("{foo}")`, panic with a single string literal will need
to change to also use string formatting.
2019-11-08 19:16:27 +00:00
David Hewitt 1bd2bdc764 Discuss hygiene with format_args!(expr)
When format_args! recieves an expression as the first argument, it
attempts to expand it to a string literal. If successful, this is
used as the format string and format_args! macro expansion continues
as usual.

This has subtle interactions with macro hygiene when implicit named
arguments come into play. This commit adds dicussion around this case.
2019-11-08 12:46:57 +00:00
David Hewitt 270bada8ac State precedence of implicit named arguments
In RFC discussion it emerged that it was not clearly stated in the RFC
that implicit named arguments only apply if a corresponding explicit
named argument is not passed to the macro invocation.
2019-11-08 10:12:40 +00:00
Mazdak Farrokhzad 2a78691f9d
RFC 2582 has 64490 as tracking issue. 2019-11-06 03:01:05 +01:00
David Hewitt 090b356351
Fix typo: hygeiene -> hygiene 2019-11-05 11:29:12 +00:00
kennytm e30ea4227b
Merge pull request #2807 from pickfire/patch-1
Fix typo
2019-11-05 15:49:04 +08:00
Ivan Tham 1f8b60896b
Fix typo 2019-11-05 14:46:21 +08:00
David Hewitt 8ed9a1157c Extend discussion of future work for `dotted.paths`
Some discussion in the RFC about how `dotted.paths` might be
supported, especially in formatting parameters, came to the
conclusion that a new syntax would very likely be desirable. This
is added to the future work section and nominally suggests the
{(expr)} interpolation syntax to achieve this.
2019-11-04 09:01:44 +00:00
David Hewitt 2d44315df4 Fix typos
With thanks to Lonami, joshtriplett and tmccombs
2019-11-03 17:47:20 +00:00
David Hewitt f9b720b37d
Correct PHP string interpolation syntax
The examples provided had incorrectly merged Scala and PHP.
Scala's string interpolation is written `s"$foo"` whereas PHP is written `"$foo"`
2019-10-30 17:26:18 +00:00
Kyle J Strand cd6c600949
Copy language-feature goals from charter doc 2019-10-29 17:20:43 -06:00
Kyle J Strand 9de62c2f5b
Coercions != subtyping
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-10-29 16:59:20 -06:00
Kyle J Strand 96b67357c7
Centril & gnzlbg: No constraints on any target
Co-Authored-By: gnzlbg <gnzlbg@users.noreply.github.com>
2019-10-29 16:44:24 -06:00
Kyle J Strand b55aa0fcce
Centril - mention that lang team will review RFCs/FCPs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-10-28 17:17:37 -06:00
Kyle J Strand 8c8da9ad20
Fix tense 2019-10-28 17:15:41 -06:00
Kyle J Strand abcfe9d65f
Apply suggestion from Centril
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
2019-10-28 17:15:12 -06:00
Kyle Strand 7400ec96b5 Copy project-group RFC text from 'project-ffi-unwind' repo 2019-10-28 14:56:39 -06:00
David Hewitt 46efff3a85 Extend discussion around interpolation and prior art
The RFC itself is not intended to be a way to sneak interpolation
into the formatting macros; the RFC author believes that they do
not need full interpolation support, although would not rule it
out if it was deemed desirable.

This update to the RFC text clarifies the distinction between
implicit named arguments and interpolation. It also adds a note
on prior art that Field Init Shorthand is an existing precedent
where language ergonomics have introduced a special case for
single identifiers.
2019-10-28 15:43:16 +00:00
David Hewitt d1fb492be3 Propose implicit named parameters for formatting macros 2019-10-28 00:20:00 +00:00