<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/parse/parser.rs, branch 1.25.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.25.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.25.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-02-07T16:30:47+00:00</updated>
<entry>
<title>Rollup merge of #47613 - estebank:rustc_on_unimplemented, r=nikomatsakis</title>
<updated>2018-02-07T16:30:47+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2018-02-07T16:30:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aee22556a97aac4b921efb806b26fbb60a6b8a92'/>
<id>urn:sha1:aee22556a97aac4b921efb806b26fbb60a6b8a92</id>
<content type='text'>
Add filtering options to `rustc_on_unimplemented`

- Add filtering options to `rustc_on_unimplemented` for local traits, filtering on `Self` and type arguments.
- Add a way to provide custom notes.
- Tweak binops text.
- Add filter to detect wether `Self` is local or belongs to another crate.
- Add filter to `Iterator` diagnostic for `&amp;str`.

Partly addresses #44755 with a different syntax, as a first approach. Fixes #46216, fixes #37522, CC #34297, #46806.
</content>
</entry>
<entry>
<title>Fix test after rebase</title>
<updated>2018-02-01T23:16:02+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2018-02-01T22:16:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fd3f2312a75bcc4c8121ad324a012c3b8befb61c'/>
<id>urn:sha1:fd3f2312a75bcc4c8121ad324a012c3b8befb61c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove support for `Self` in attributes</title>
<updated>2018-02-01T23:06:23+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2018-02-01T20:12:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=378e73e6db0b4d47586f4e3ec975e43ef530ac99'/>
<id>urn:sha1:378e73e6db0b4d47586f4e3ec975e43ef530ac99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests</title>
<updated>2018-02-01T23:06:22+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2018-01-23T03:13:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f7c61783e4cbc169955c7e633ecf629ed901a54e'/>
<id>urn:sha1:f7c61783e4cbc169955c7e633ecf629ed901a54e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework `parse_ident_attr`</title>
<updated>2018-02-01T23:06:22+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2018-01-23T03:03:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27a23db66032be9be96e697fdda50e73b0b90cc5'/>
<id>urn:sha1:27a23db66032be9be96e697fdda50e73b0b90cc5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add filtering options to `rustc_on_unimplemented`</title>
<updated>2018-02-01T23:06:20+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2018-01-20T03:57:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c1383e4dc4bd6598f5d73d2d6b1054f61b2b99d4'/>
<id>urn:sha1:c1383e4dc4bd6598f5d73d2d6b1054f61b2b99d4</id>
<content type='text'>
 - filter error on the evaluated value of `Self`
 - filter error on the evaluated value of the type arguments
 - add argument to include custom note in diagnostic
 - allow the parser to parse `Self` when processing attributes
 - add custom message to binops
</content>
</entry>
<entry>
<title>stabilize match_beginning_vert</title>
<updated>2018-01-30T22:00:55+00:00</updated>
<author>
<name>Jonathan Goodman</name>
<email>goodmanjonathan@sbcglobal.net</email>
</author>
<published>2018-01-30T20:56:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a99b5db56a36652185a91be630b3e2af8ea09360'/>
<id>urn:sha1:a99b5db56a36652185a91be630b3e2af8ea09360</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #45294 - petrochenkov:prioplus, r=nikomatsakis</title>
<updated>2018-01-30T08:23:41+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2018-01-30T08:23:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fe7e1a45f37f4265434cead827f587e75412f85c'/>
<id>urn:sha1:fe7e1a45f37f4265434cead827f587e75412f85c</id>
<content type='text'>
syntax: Lower priority of `+` in `impl Trait`/`dyn Trait`

Now you have to write `Fn() -&gt; (impl A + B)` instead of `Fn() -&gt; impl A + B`, this is consistent with priority of `+` in trait objects (`Fn() -&gt; A + B` means `(Fn() -&gt; A) + B`).

To make this viable I changed the syntax to also permit `+` in return types in function declarations
```
fn f() -&gt; dyn A + B { ... } // OK, don't have to write `-&gt; (dyn A + B)`

// This is acceptable, because `dyn A + B` here is an isolated type and
// not part of a larger type with various operator priorities in play
// like `dyn A + B` in `Fn() -&gt; dyn A + B` despite syntax similarities.
```
but you still have to use `-&gt; (dyn A + B)` in function types and function-like trait object types (see this PR's tests for examples).

This can be a breaking change for code using `impl Trait` on nightly. The thing that is most likely to break is `&amp;impl A + B`, it needs to be rewritten as `&amp;(impl A + B)`.

cc https://github.com/rust-lang/rust/issues/34511 https://github.com/rust-lang/rust/issues/44662 https://github.com/rust-lang/rfcs/pull/438
</content>
</entry>
<entry>
<title>Auto merge of #47767 - estebank:as-suggestion, r=petrochenkov</title>
<updated>2018-01-28T07:44:14+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2018-01-28T07:44:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7046a406232695b581579f8e2468601260ea2199'/>
<id>urn:sha1:7046a406232695b581579f8e2468601260ea2199</id>
<content type='text'>
Correctly format `extern crate` conflict resolution help

Closes #45799. Follow up to @Cldfire's #45820.

If the `extern` statement that will have a suggestion ends on a `;`, synthesize a new span that doesn't include it.
</content>
</entry>
<entry>
<title>Make `+` in `impl/dyn Trait` non-associative</title>
<updated>2018-01-27T19:38:28+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2018-01-27T19:37:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f57ea7cb3daf186bcd181f9add9e56cc45ff8380'/>
<id>urn:sha1:f57ea7cb3daf186bcd181f9add9e56cc45ff8380</id>
<content type='text'>
</content>
</entry>
</feed>
