diff options
| author | cgswords <cameronswords@gmail.com> | 2016-07-17 21:45:06 -0700 |
|---|---|---|
| committer | cgswords <cameronswords@gmail.com> | 2016-07-25 14:27:10 -0700 |
| commit | 5553901146fa80c652abdc514b38360a0ae7418d (patch) | |
| tree | 722ec8d11d396c7a65fd3617d3a3c0d47ed8f234 /src/libsyntax_pos | |
| parent | a5e5ea1646367b82864af3a2a508993d76b792af (diff) | |
| download | rust-5553901146fa80c652abdc514b38360a0ae7418d.tar.gz rust-5553901146fa80c652abdc514b38360a0ae7418d.zip | |
Adressed PR comments.
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsyntax_pos/lib.rs b/src/libsyntax_pos/lib.rs index c96be8fec2b..b1ec7fd0ab8 100644 --- a/src/libsyntax_pos/lib.rs +++ b/src/libsyntax_pos/lib.rs @@ -254,6 +254,10 @@ pub const NO_EXPANSION: ExpnId = ExpnId(!0); // For code appearing from the command line pub const COMMAND_LINE_EXPN: ExpnId = ExpnId(!1); +// For code generated by a procedural macro, without knowing which +// Used in `qquote!` +pub const PROC_EXPN: ExpnId = ExpnId(!2); + impl ExpnId { pub fn from_u32(id: u32) -> ExpnId { ExpnId(id) |
