Esteban Küber
f53c145ef1
Improve suggestion for missing fmt str in println
...
Avoid using `concat!(fmt, "\n")` to improve the diagnostics being
emitted when the first `println!()` argument isn't a formatting string
literal.
2018-07-19 23:18:07 -07:00
ljedrz
08c113abef
Deny bare trait objects in src/libsyntax_ext
2018-07-12 11:58:16 +02:00
csmoe
790c09e849
suggest on new snippet
2018-07-11 18:53:37 +08:00
csmoe
88f475c808
suggests with whole macro call
2018-07-06 22:31:55 +08:00
csmoe
c999b253b7
add span note
2018-07-04 09:01:11 +08:00
csmoe
b79a83b4e4
Suggestion for print
2018-07-03 20:39:17 +08:00
Vadim Petrochenkov
43ad972318
Use Span::apply_mark
where possible
2018-04-06 11:48:19 +03:00
Oliver Schneider
c4d5a1e17b
Produce expansion info for more builtin macros
2017-09-04 11:03:19 +02:00
Jeffrey Seyfried
e85a0d70b8
Use Symbol
instead of InternedString
in the AST, HIR, and various other places.
2016-11-21 09:00:55 +00:00
Jeffrey Seyfried
d2f8fb0a0a
Move syntax::util::interner
-> syntax::symbol
, cleanup.
2016-11-20 23:40:20 +00:00
Srinivas Reddy Thatiparthy
d652639524
run rustfmt on libsyntax_ext folder
2016-08-12 09:40:12 +05:30
Jeffrey Seyfried
82a15a6a0a
Rollup merge of #34385 - cgswords:tstream, r=nrc
...
syntax-[breaking-change] cc #31645
(Only breaking because ast::TokenTree is now tokenstream::TokenTree.)
This pull request refactors TokenTrees into their own file as src/libsyntax/tokenstream.rs, moving them out of src/libsyntax/ast.rs, in order to prepare for an accompanying TokenStream implementation (per RFC 1566).
2016-06-26 02:11:59 +00:00
Jonathan Turner
6ae3502134
Move errors from libsyntax to its own crate
2016-06-23 08:07:35 -04:00
cgswords
d59accfb06
Refactored tokentrees into their own files in preparation for tokenstreams. Modified tests to point to the new file now.
2016-06-21 11:12:36 -07:00
Oliver Schneider
498a2e416e
[breaking-change] don't pub export ast::IntLitType variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
69072c4f5d
[breaking-change] don't pub export ast::Lit_ variants
2016-02-11 12:34:48 +01:00
Oliver Schneider
bfa66bb389
[breaking-change] remove the sign from integer literals in the ast
2016-02-11 12:34:48 +01:00
Oliver Schneider
80bf9ae18a
[breaking-change] don't glob export ast::Expr_ variants
2016-02-11 12:34:48 +01:00
Seo Sanghyeon
f9ba107824
Move built-in syntax extensions to a separate crate
2015-12-15 15:04:46 +09:00