<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax_ext/deriving/generic/mod.rs, branch 1.12.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.12.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.12.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-07-19T17:37:57+00:00</updated>
<entry>
<title>Run rustfmt on libsyntax_ext/deriving folder</title>
<updated>2016-07-19T17:37:57+00:00</updated>
<author>
<name>Srinivas Reddy Thatiparthy</name>
<email>thatiparthysreenivas@gmail.com</email>
</author>
<published>2016-07-19T17:32:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9652fcbb6e59845904ef246b41231f5df198dd0d'/>
<id>urn:sha1:9652fcbb6e59845904ef246b41231f5df198dd0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>prefer `if let` to match with `None =&gt; {}` arm in some places</title>
<updated>2016-07-03T23:27:02+00:00</updated>
<author>
<name>Zack M. Davis</name>
<email>code@zackmdavis.net</email>
</author>
<published>2016-07-03T21:38:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d37edef9dd088d953c5e272db37686a338c31778'/>
<id>urn:sha1:d37edef9dd088d953c5e272db37686a338c31778</id>
<content type='text'>
This is a spiritual succesor to #34268/8531d581, in which we replaced a
number of matches of None to the unit value with `if let` conditionals
where it was judged that this made for clearer/simpler code (as would be
recommended by Manishearth/rust-clippy's `single_match` lint). The same
rationale applies to matches of None to the empty block.
</content>
</entry>
<entry>
<title>Disallow `derive` on items with type macros</title>
<updated>2016-06-29T01:25:36+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-06-24T03:23:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=66ef652559ab670b4f7c3be973e019f0d55b3644'/>
<id>urn:sha1:66ef652559ab670b4f7c3be973e019f0d55b3644</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb</title>
<updated>2016-06-26T02:20:14+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-06-26T02:19:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9bb3ea0febcbb8f6d7715256a5644daa985cf4e7'/>
<id>urn:sha1:9bb3ea0febcbb8f6d7715256a5644daa985cf4e7</id>
<content type='text'>
To allow these braced macro invocation, this PR removes the optional expression from `ast::Block` and instead uses a `StmtKind::Expr` at the end of the statement list.

Currently, braced macro invocations in blocks can expand into statements (and items) except when they are last in a block, in which case they can only expand into expressions.

For example,
```rust
macro_rules! make_stmt {
    () =&gt; { let x = 0; }
}

fn f() {
    make_stmt! {} //&lt; This is OK...
    let x = 0; //&lt; ... unless this line is commented out.
}
```

Fixes #34418.
</content>
</entry>
<entry>
<title>Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc</title>
<updated>2016-06-26T02:15:04+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-06-26T02:14:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=33ea1e330ccdda85a1501078c0b997fd27ce1e72'/>
<id>urn:sha1:33ea1e330ccdda85a1501078c0b997fd27ce1e72</id>
<content type='text'>
Miscellaneous low priority cleanup in `libsyntax`.
</content>
</entry>
<entry>
<title>Refactor away duplicate method `ecx.block_all()`</title>
<updated>2016-06-23T23:26:43+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-06-23T23:26:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=060a84d1f7fee5585aa6ebc50c74b0b35f2c0283'/>
<id>urn:sha1:060a84d1f7fee5585aa6ebc50c74b0b35f2c0283</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove field `expr` of `ast::Block`</title>
<updated>2016-06-23T17:42:08+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-06-23T09:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b7da35a5aa7603c3010e1aa9e5ff6de5660058fb'/>
<id>urn:sha1:b7da35a5aa7603c3010e1aa9e5ff6de5660058fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move errors from libsyntax to its own crate</title>
<updated>2016-06-23T12:07:35+00:00</updated>
<author>
<name>Jonathan Turner</name>
<email>jturner@mozilla.com</email>
</author>
<published>2016-06-21T22:08:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ae350213485f7c917113f3916e58c51cef97a76'/>
<id>urn:sha1:6ae350213485f7c917113f3916e58c51cef97a76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the type parameter from `syntax::visit::Visitor`</title>
<updated>2016-06-14T07:40:32+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-06-12T07:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0644aba0b3f5e8c8e71f4fcfdf8841ba62034565'/>
<id>urn:sha1:0644aba0b3f5e8c8e71f4fcfdf8841ba62034565</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor away `set_expn_info`</title>
<updated>2016-05-28T08:43:35+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-05-23T08:54:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6019816da858f900b729a5021248b53c648690a2'/>
<id>urn:sha1:6019816da858f900b729a5021248b53c648690a2</id>
<content type='text'>
</content>
</entry>
</feed>
