<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/parse/parser.rs, branch 1.5.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.5.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-10-26T21:23:32+00:00</updated>
<entry>
<title>Auto merge of #29274 - thepowersgang:issues-29107-const-unsafe-fn-order, r=nikomatsakis</title>
<updated>2015-10-26T21:23:32+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-10-26T21:23:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=04475b92f9309356a90fe970816774d14ef5b4ed'/>
<id>urn:sha1:04475b92f9309356a90fe970816774d14ef5b4ed</id>
<content type='text'>
This PR switches the implemented ordering from `unsafe const fn` (as was in the original RFC) to `const unsafe fn` (which is what the lang team decided on)
</content>
</entry>
<entry>
<title>Auto merge of #29287 - Ryman:fn_nopat, r=alexcrichton</title>
<updated>2015-10-26T17:44:37+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-10-26T17:44:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=278cc2f15766402d26b4173d636f765018b68878'/>
<id>urn:sha1:278cc2f15766402d26b4173d636f765018b68878</id>
<content type='text'>
Previously, if you copied a signature from a trait definition such as:

```rust
fn foo&lt;'a&gt;(&amp;'a Bar) -&gt; bool {}
```

and moved it into an `impl`, there would be an error message:

"unexpected token `'a`"

Adding to the error message that a pattern is expected should help
users to find the actual problem with using a lifetime here.
</content>
</entry>
<entry>
<title>Auto merge of #29303 - petrochenkov:unistrimp, r=eddyb</title>
<updated>2015-10-26T08:27:59+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-10-26T08:27:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c44316d4a1ad0fe01ae366e163993aa3980c755f'/>
<id>urn:sha1:c44316d4a1ad0fe01ae366e163993aa3980c755f</id>
<content type='text'>
And use `VariantData` instead of `P&lt;VariantData&gt;` in `Item_` and `Variant_`

Improvements suggested by @eddyb in https://github.com/rust-lang/rust/pull/28816#discussion_r42483587 and https://github.com/rust-lang/rust/pull/28816#discussion_r42483648

plugin-[breaking-change]

r? @eddyb 
</content>
</entry>
<entry>
<title>std: Stabilize library APIs for 1.5</title>
<updated>2015-10-25T16:36:32+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-10-22T23:28:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff49733274f4af79362f9f9aaf16fb6032b2a06d'/>
<id>urn:sha1:ff49733274f4af79362f9f9aaf16fb6032b2a06d</id>
<content type='text'>
This commit stabilizes and deprecates library APIs whose FCP has closed in the
last cycle, specifically:

Stabilized APIs:

* `fs::canonicalize`
* `Path::{metadata, symlink_metadata, canonicalize, read_link, read_dir, exists,
   is_file, is_dir}` - all moved to inherent methods from the `PathExt` trait.
* `Formatter::fill`
* `Formatter::width`
* `Formatter::precision`
* `Formatter::sign_plus`
* `Formatter::sign_minus`
* `Formatter::alternate`
* `Formatter::sign_aware_zero_pad`
* `string::ParseError`
* `Utf8Error::valid_up_to`
* `Iterator::{cmp, partial_cmp, eq, ne, lt, le, gt, ge}`
* `&lt;[T]&gt;::split_{first,last}{,_mut}`
* `Condvar::wait_timeout` - note that `wait_timeout_ms` is not yet deprecated
  but will be once 1.5 is released.
* `str::{R,}MatchIndices`
* `str::{r,}match_indices`
* `char::from_u32_unchecked`
* `VecDeque::insert`
* `VecDeque::shrink_to_fit`
* `VecDeque::as_slices`
* `VecDeque::as_mut_slices`
* `VecDeque::swap_remove_front` - (renamed from `swap_front_remove`)
* `VecDeque::swap_remove_back` - (renamed from `swap_back_remove`)
* `Vec::resize`
* `str::slice_mut_unchecked`
* `FileTypeExt`
* `FileTypeExt::{is_block_device, is_char_device, is_fifo, is_socket}`
* `BinaryHeap::from` - `from_vec` deprecated in favor of this
* `BinaryHeap::into_vec` - plus a `Into` impl
* `BinaryHeap::into_sorted_vec`

Deprecated APIs

* `slice::ref_slice`
* `slice::mut_ref_slice`
* `iter::{range_inclusive, RangeInclusive}`
* `std::dynamic_lib`

Closes #27706
Closes #27725
cc #27726 (align not stabilized yet)
Closes #27734
Closes #27737
Closes #27742
Closes #27743
Closes #27772
Closes #27774
Closes #27777
Closes #27781
cc #27788 (a few remaining methods though)
Closes #27790
Closes #27793
Closes #27796
Closes #27810
cc #28147 (not all parts stabilized)
</content>
</entry>
<entry>
<title>syntax/rustc_front: Simplify VariantData::fields</title>
<updated>2015-10-25T15:33:51+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2015-10-25T15:33:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e8ddbba2ed356df4f5ef8f0742b810a4ecf82a50'/>
<id>urn:sha1:e8ddbba2ed356df4f5ef8f0742b810a4ecf82a50</id>
<content type='text'>
And use VariantData instead of P&lt;VariantData&gt; in Item_ and Variant_
</content>
</entry>
<entry>
<title>Switch to 'const unsafe fn' ordering (rust-lang/rust#29107)</title>
<updated>2015-10-25T04:03:07+00:00</updated>
<author>
<name>John Hodge</name>
<email>tpg@mutabah.net</email>
</author>
<published>2015-10-24T08:52:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f9b8c49cdb75fb571c7b3ea4af90b0e96929276c'/>
<id>urn:sha1:f9b8c49cdb75fb571c7b3ea4af90b0e96929276c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libsyntax: Consolidate branch to benefit from exhaustive checking instead of unwrapping</title>
<updated>2015-10-25T00:34:45+00:00</updated>
<author>
<name>Kevin Butler</name>
<email>haqkrs@gmail.com</email>
</author>
<published>2015-10-25T00:07:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a235274a1aec01d8bf7f30e1631fba62e2ca411'/>
<id>urn:sha1:1a235274a1aec01d8bf7f30e1631fba62e2ca411</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libsyntax: remove panics from Parser::parse_pat_nopanic</title>
<updated>2015-10-25T00:33:22+00:00</updated>
<author>
<name>Kevin Butler</name>
<email>haqkrs@gmail.com</email>
</author>
<published>2015-10-25T00:02:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=998914f5da91bd6e07a0bdf45612dcd446e6fa94'/>
<id>urn:sha1:998914f5da91bd6e07a0bdf45612dcd446e6fa94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libsyntax: better error for lifetimes in patterns</title>
<updated>2015-10-25T00:28:00+00:00</updated>
<author>
<name>Kevin Butler</name>
<email>haqkrs@gmail.com</email>
</author>
<published>2015-10-24T23:57:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=64da379c8c6c967a451817dc4909eeb0055351e7'/>
<id>urn:sha1:64da379c8c6c967a451817dc4909eeb0055351e7</id>
<content type='text'>
Previously, if you copied a signature from a trait definition such as:

```
fn foo&lt;'a&gt;(&amp;'a Bar) -&gt; bool {}
```

and moved it into an `impl`, there would be an error message:

"unexpected token `'a`"

Adding to the error message that a pattern is expected should help
users to find the actual problem with using a lifetime here.
</content>
</entry>
<entry>
<title>parser: fix erroneous comment</title>
<updated>2015-10-22T23:17:03+00:00</updated>
<author>
<name>Aleksey Kladov</name>
<email>aleksey.kladov@gmail.com</email>
</author>
<published>2015-10-22T23:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf2f1e512a94e34f40b729fe7347480d63dcab1b'/>
<id>urn:sha1:bf2f1e512a94e34f40b729fe7347480d63dcab1b</id>
<content type='text'>
Qualified paths allow full path after the `&gt;::`. For example

```rust
&lt;T as Foo&gt;::U::generic_method::&lt;f64&gt;()
```

The example is taken from `test/run-pass/associated-item-long-paths.rs`.
</content>
</entry>
</feed>
