Simon Sapin
55216f82a6
Stabilize str::escape_* methods
...
FCP: https://github.com/rust-lang/rust/issues/27791#issuecomment-376864727
2019-02-12 09:55:29 +01:00
Taiki Endo
2be0993c4e
Revert removed #![feature(nll)]
2019-02-10 16:13:30 +09:00
Guillaume Gomez
8b886e07f5
Remove images' url to make it work even without internet connection
2019-02-07 11:06:19 +01:00
Taiki Endo
94f121ff3f
libsyntax_ext => 2018
2019-02-04 21:49:54 +09:00
Mark Simulacrum
db97c48ad6
Remove quote_*! macros and associated APIs
2019-01-24 07:37:34 -07:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
John Kåre Alsaker
0c4d551146
Fix recursion limits
2018-12-23 10:46:03 +01:00
Vadim Petrochenkov
8ab115c21d
Unsupport #[derive(Trait)] sugar for #[derive_Trait] legacy plugin attributes
2018-12-07 03:30:01 +03:00
Eduard-Mihai Burtescu
8cf463bcff
proc_macro: move the rustc server to syntax_ext.
2018-11-30 06:15:19 +02:00
Eduard-Mihai Burtescu
e305994beb
proc_macro: introduce a "bridge" between clients (proc macros) and servers (compiler front-ends).
2018-11-30 06:15:19 +02:00
Josh Stone
ce034951fb
Bump to 1.31.0 and bootstrap from 1.30 beta
2018-09-27 20:52:53 -07:00
toidiu
731f4efae5
stabalize infer outlives requirements (RFC 2093).
...
Co-authored-by: nikomatsakis
2018-09-11 11:40:04 -04:00
Vadim Petrochenkov
62c7d78a9a
resolve: Remove unshadowable_attrs
2018-09-10 04:04:51 +03:00
John Renner
0593dc7e3c
Move #[test_case] to a syntax extension
2018-09-04 22:33:23 -07:00
John Renner
08ea5b7c78
Fix #[test] shadowing in macro_prelude
2018-09-04 22:33:10 -07:00
John Renner
9b27de41d4
Introduce Custom Test Frameworks
2018-09-04 22:33:00 -07:00
Niko Matsakis
73fb1622b3
check that adding infer-outlives requirement to all crates works
2018-08-24 17:10:50 -04:00
Igor Gutorov
4d81fe9243
Use optimized SmallVec implementation
2018-08-23 10:45:53 +03:00
memoryruins
2cb91dad9f
[nll] libsyntax_ext: enable feature(nll) for bootstrap
2018-08-09 15:28:39 -04:00
Tatsuyuki Ishi
e098985939
Deny bare_trait_objects globally
2018-07-25 10:25:29 +09:00
Esteban Küber
154dee2dcc
rework println
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
Vadim Petrochenkov
d347270e0c
Implement #[macro_export(local_inner_macros)]
2018-06-27 13:10:16 +03:00
kennytm
20298a93ab
Rollup merge of #50846 - GuillaumeGomez:add-e0665, r=frewsxcv
...
Add E0665
2018-05-23 00:26:06 +08:00
Guillaume Gomez
8c004b8308
Add E0665
2018-05-21 15:41:19 +02:00
Vadim Petrochenkov
f4cbc2388f
Pass crate editions to macro expansions, update tests
2018-05-17 23:13:09 +03:00
Mark Simulacrum
9e3432447a
Switch to 1.26 bootstrap compiler
2018-05-17 08:47:25 -06:00
Irina Popa
04fa0e7bb3
rustc_target: move in syntax::abi and flip dependency.
2018-04-26 17:49:16 +03:00
Guillaume Gomez
44c686113f
Add error codes for libsyntax_ext
2018-04-14 17:25:35 +02:00
Mark Simulacrum
c115cc655c
Move deny(warnings) into rustbuild
...
This permits easier iteration without having to worry about warnings
being denied.
Fixes #49517
2018-04-08 16:59:14 -06:00
bors
5f3996c3ec
Auto merge of #48813 - sinkuu:build_in_assert_macro, r=alexcrichton
...
Make `assert` a built-in procedural macro
Makes `assert` macro a built-in one without touching its functionality. This is a prerequisite for RFC 2011 (#44838 ).
2018-03-16 08:22:11 +00:00
Shotaro Yamada
4a254c0050
Escape stringified expression
...
Payload of `Literal` token must be escaped.
Also print printable non-ASCII characters.
2018-03-14 18:11:42 +09:00
Austin Bonander
69035f20b9
check stability of macro invocations
2018-03-07 16:52:28 -08:00
Shotaro Yamada
517083fbad
Make assert macro a built-in procedural macro
2018-03-07 17:22:58 +09:00
John Kåre Alsaker
b74e97cf42
Replace Rc with Lrc for shared data
2018-03-02 10:48:52 +01:00
Jeffrey Seyfried
9c7969d3df
Use hygiene to access the injected crate (core or std) from builtin macros.
2017-12-09 17:22:07 -08:00
Tatsuyuki Ishi
611b111139
Move unused-extern-crate to late pass
2017-08-27 19:02:24 +09:00
Tamir Duberstein
b3f50caee0
*: remove crate_{name,type} attributes
...
Fixes #41701 .
2017-08-25 16:18:21 -04:00
Eduard-Mihai Burtescu
8a4facc3c3
syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros.
2017-08-12 09:14:50 +03:00
est31
5cf9f6330a
Add a feature gate
...
@alexcrichton figured out a way how to do it :)
2017-08-10 02:43:31 +02:00
est31
b6ac9c0d30
Avoid calling the column!() macro in panic
2017-08-08 11:35:09 +02:00
Corey Farwell
d33e2c5181
Rollup merge of #42620 - wesleywiser:compile_error, r=brson
...
Add compile_error!
Related to #40872
2017-06-21 10:40:15 -04:00
Alex Crichton
be7ebdd512
Bump version and stage0 compiler
2017-06-19 22:25:05 -07:00
Wesley Wiser
0b29d26079
Add compile_error!
...
Related to #40872
2017-06-19 14:29:12 -04:00
Alex Crichton
ab54f4b226
rustc: Remove #![unstable] annotation
...
These are now no longer necessary with `-Z force-unstable-if-unmarked`
2017-05-11 16:03:05 -07:00
A.J. Gardner
768e902941
First attempt at global_asm! macro
2017-04-12 19:12:49 -05:00
Jeffrey Seyfried
212b6c2550
Refactor out ast::ItemKind::MacroDef.
2017-03-10 08:08:32 -08:00
Jeffrey Seyfried
d8b34e9a74
Add syntax::ext::tt::quoted::{TokenTree, ..} and remove tokenstream::TokenTree::Sequence.
2017-02-28 22:14:29 +00:00
Josh Driver
fbdd038866
Move derive macro expansion into the MacroExpander
...
This removes the expand_derives function, and sprinkles
the functionality throughout the Invocation Collector,
Expander and Resolver.
2017-02-05 09:31:02 +10:30
Josh Driver
0477daf9f0
Make builtin derives a SyntaxExtension
...
This allows builtin derives to be registered and
resolved, just like other derive types.
2017-02-05 09:31:01 +10:30