@@ -32,6 +32,7 @@ use crate::util::{
32
32
/// line!(): expands to the current line number
33
33
pub ( crate ) fn expand_line (
34
34
cx : & mut ExtCtxt < ' _ > ,
35
+ _is_in_const_env : bool ,
35
36
sp : Span ,
36
37
tts : TokenStream ,
37
38
) -> MacroExpanderResult < ' static > {
@@ -47,6 +48,7 @@ pub(crate) fn expand_line(
47
48
/* column!(): expands to the current column number */
48
49
pub ( crate ) fn expand_column (
49
50
cx : & mut ExtCtxt < ' _ > ,
51
+ _is_in_const_env : bool ,
50
52
sp : Span ,
51
53
tts : TokenStream ,
52
54
) -> MacroExpanderResult < ' static > {
@@ -64,6 +66,7 @@ pub(crate) fn expand_column(
64
66
/// out if we wanted.
65
67
pub ( crate ) fn expand_file (
66
68
cx : & mut ExtCtxt < ' _ > ,
69
+ _is_in_const_env : bool ,
67
70
sp : Span ,
68
71
tts : TokenStream ,
69
72
) -> MacroExpanderResult < ' static > {
@@ -85,6 +88,7 @@ pub(crate) fn expand_file(
85
88
86
89
pub ( crate ) fn expand_stringify (
87
90
cx : & mut ExtCtxt < ' _ > ,
91
+ _is_in_const_env : bool ,
88
92
sp : Span ,
89
93
tts : TokenStream ,
90
94
) -> MacroExpanderResult < ' static > {
@@ -95,6 +99,7 @@ pub(crate) fn expand_stringify(
95
99
96
100
pub ( crate ) fn expand_mod (
97
101
cx : & mut ExtCtxt < ' _ > ,
102
+ _is_in_const_env : bool ,
98
103
sp : Span ,
99
104
tts : TokenStream ,
100
105
) -> MacroExpanderResult < ' static > {
@@ -111,6 +116,7 @@ pub(crate) fn expand_mod(
111
116
/// unhygienically.
112
117
pub ( crate ) fn expand_include < ' cx > (
113
118
cx : & ' cx mut ExtCtxt < ' _ > ,
119
+ _is_in_const_env : bool ,
114
120
sp : Span ,
115
121
tts : TokenStream ,
116
122
) -> MacroExpanderResult < ' cx > {
@@ -192,6 +198,7 @@ pub(crate) fn expand_include<'cx>(
192
198
/// `include_str!`: read the given file, insert it as a literal string expr
193
199
pub ( crate ) fn expand_include_str (
194
200
cx : & mut ExtCtxt < ' _ > ,
201
+ _is_in_const_env : bool ,
195
202
sp : Span ,
196
203
tts : TokenStream ,
197
204
) -> MacroExpanderResult < ' static > {
@@ -221,6 +228,7 @@ pub(crate) fn expand_include_str(
221
228
222
229
pub ( crate ) fn expand_include_bytes (
223
230
cx : & mut ExtCtxt < ' _ > ,
231
+ _is_in_const_env : bool ,
224
232
sp : Span ,
225
233
tts : TokenStream ,
226
234
) -> MacroExpanderResult < ' static > {
0 commit comments