rust/src/libsyntax
Manish Goregaokar 8886818a9a Rollup merge of #34495 - jseyfried:only_ident_macro_invocations, r=eddyb
Forbid type parameters and global paths in macro invocations

Fixes #28558.
This is a [breaking-change]. For example, the following would break:
```rust
macro_rules! m { () => { () } }
fn main() {
    m::<T>!(); // Type parameters are no longer allowed in macro invocations
    ::m!(); // Global paths are no longer allowed in macro invocations
}
```
Any breakage can be fixed by removing the type parameters or the leading `::` (respectively).

r? @eddyb
2016-06-29 21:21:22 +05:30
..
diagnostics Rollup merge of #34385 - cgswords:tstream, r=nrc 2016-06-26 02:11:59 +00:00
ext Rollup merge of #34495 - jseyfried:only_ident_macro_invocations, r=eddyb 2016-06-29 21:21:22 +05:30
parse Refactor away parser.commit_stmt_expecting() 2016-06-29 06:40:05 +00:00
print Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
util Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth 2016-06-26 02:18:43 +00:00
abi.rs [breaking-change] don't glob import/export syntax::abi enum variants 2016-02-11 12:34:48 +01:00
ast.rs cleanup: refactor away ast::NodeIdAssigner 2016-06-28 05:28:25 +00:00
attr.rs cleanup: don't count attributes on an item in a statement position as on the statement 2016-06-28 05:28:20 +00:00
Cargo.toml Fix Cargo.tomls 2016-06-27 18:30:46 +00:00
codemap.rs Fix codemap tests to not double import 2016-06-24 13:20:23 -04:00
config.rs cleanup: don't count attributes on an item in a statement position as on the statement 2016-06-28 05:28:20 +00:00
entry.rs [breaking-change] don't glob export ast::Item_ variants 2016-02-11 12:34:48 +01:00
feature_gate.rs Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc 2016-06-26 02:15:04 +00:00
fold.rs Give ast::ExprKind::Paren no-op expressions the same node ids as their children. 2016-06-29 11:06:28 +00:00
json.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
lib.rs Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth 2016-06-26 02:18:43 +00:00
ptr.rs Remove some old code from libsyntax 2016-04-24 21:04:09 +03:00
show_span.rs Remove the type parameter from syntax::visit::Visitor 2016-06-14 07:40:32 +00:00
std_inject.rs Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
tokenstream.rs Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc 2016-06-26 02:15:04 +00:00
visit.rs Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00