1
Fork 0
rust/src/test/compile-fail-fulldeps/proc-macro
Alex Crichton 4886ec8665 syntax: Capture a TokenStream when parsing items
This is then later used by `proc_macro` to generate a new
`proc_macro::TokenTree` which preserves span information. Unfortunately this
isn't a bullet-proof approach as it doesn't handle the case when there's still
other attributes on the item, especially inner attributes.

Despite this the intention here is to solve the primary use case for procedural
attributes, attached to functions as outer attributes, likely bare. In this
situation we should be able to now yield a lossless stream of tokens to preserve
span information.
2017-07-28 10:47:01 -07:00
..
auxiliary syntax: Capture a TokenStream when parsing items 2017-07-28 10:47:01 -07:00
attribute-with-error.rs syntax: Capture a TokenStream when parsing items 2017-07-28 10:47:01 -07:00
attribute.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
attributes-included.rs syntax: Capture a TokenStream when parsing items 2017-07-28 10:47:01 -07:00
define-two.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
derive-bad.rs Move derive macro expansion into the MacroExpander 2017-02-05 09:31:02 +10:30
derive-still-gated.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
expand-to-unstable-2.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
expand-to-unstable.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
export-macro.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
exports.rs
feature-gate-proc_macro.rs Remove some needless // gate-test- comments 2017-05-23 20:17:38 +02:00
illegal-proc-macro-derive-use.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
import.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
issue-37788.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
issue-38586.rs Add regression test. 2017-01-03 02:11:32 +00:00
issue-41211.rs Don't panic if an attribute macro fails to resolve at crate root 2017-04-20 16:13:13 -07:00
item-error.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
lints_in_proc_macros.rs Reintroduce expansion info for proc macros 1.1 2017-07-12 09:47:04 +02:00
load-panic.rs Move derive macro expansion into the MacroExpander 2017-02-05 09:31:02 +10:30
macro-use-attr.rs Implement #[proc_macro_attribute] 2017-01-16 22:41:22 -08:00
macro-use-bang.rs Implement function-like procedural macros ( #[proc_macro]) 2017-02-28 18:34:22 -08:00
no-macro-use-attr.rs Rename CustomDerive to ProcMacroDerive for macros 1.1 2017-02-05 09:31:02 +10:30
proc-macro-attributes.rs Add tests. 2017-03-14 04:39:23 +00:00
proc-macro-custom-attr-mutex.rs Implement #[proc_macro_attribute] 2017-01-16 22:41:22 -08:00
pub-at-crate-root.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
shadow-builtin.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
shadow.rs Clearer Error Message for Duplicate Definition 2017-06-15 08:21:17 -07:00
signature.rs Teach Diagnostics to highlight text 2017-01-17 14:28:53 -08:00
two-crate-types-1.rs
two-crate-types-2.rs