@@ -93,12 +93,12 @@ macro_rules! option_env {() => {}}
9393
9494fn main() { option_env!("TEST_ENV_VAR"); }
9595"# ,
96- expect ! [ [ r## "
96+ expect ! [ [ r#"
9797#[rustc_builtin_macro]
9898macro_rules! option_env {() => {}}
9999
100- fn main() { std ::option::Option::None:: < &str>; }
101- "## ] ] ,
100+ fn main() { $crate ::option::Option::None:: < &str>; }
101+ "# ] ] ,
102102 ) ;
103103}
104104
@@ -191,17 +191,17 @@ fn main() {
191191 format_args!("{} {:?}", arg1(a, b, c), arg2);
192192}
193193"# ,
194- expect ! [ [ r## "
194+ expect ! [ [ r#"
195195#[rustc_builtin_macro]
196196macro_rules! format_args {
197197 ($fmt:expr) => ({ /* compiler built-in */ });
198198 ($fmt:expr, $($args:tt)*) => ({ /* compiler built-in */ })
199199}
200200
201201fn main() {
202- std ::fmt::Arguments::new_v1(&[], &[std ::fmt::ArgumentV1::new(&(arg1(a, b, c)), std ::fmt::Display::fmt), std ::fmt::ArgumentV1::new(&(arg2), std ::fmt::Display::fmt), ]);
202+ $crate ::fmt::Arguments::new_v1(&[], &[$crate ::fmt::ArgumentV1::new(&(arg1(a, b, c)), $crate ::fmt::Display::fmt), $crate ::fmt::ArgumentV1::new(&(arg2), $crate ::fmt::Display::fmt), ]);
203203}
204- "## ] ] ,
204+ "# ] ] ,
205205 ) ;
206206}
207207
@@ -219,17 +219,17 @@ fn main() {
219219 format_args!("{} {:?}", a::<A,B>(), b);
220220}
221221"# ,
222- expect ! [ [ r## "
222+ expect ! [ [ r#"
223223#[rustc_builtin_macro]
224224macro_rules! format_args {
225225 ($fmt:expr) => ({ /* compiler built-in */ });
226226 ($fmt:expr, $($args:tt)*) => ({ /* compiler built-in */ })
227227}
228228
229229fn main() {
230- std ::fmt::Arguments::new_v1(&[], &[std ::fmt::ArgumentV1::new(&(a::<A, B>()), std ::fmt::Display::fmt), std ::fmt::ArgumentV1::new(&(b), std ::fmt::Display::fmt), ]);
230+ $crate ::fmt::Arguments::new_v1(&[], &[$crate ::fmt::ArgumentV1::new(&(a::<A, B>()), $crate ::fmt::Display::fmt), $crate ::fmt::ArgumentV1::new(&(b), $crate ::fmt::Display::fmt), ]);
231231}
232- "## ] ] ,
232+ "# ] ] ,
233233 ) ;
234234}
235235
@@ -248,7 +248,7 @@ fn main() {
248248 format_args!/*+errors*/("{} {:?}", a.);
249249}
250250"# ,
251- expect ! [ [ r## "
251+ expect ! [ [ r#"
252252#[rustc_builtin_macro]
253253macro_rules! format_args {
254254 ($fmt:expr) => ({ /* compiler built-in */ });
@@ -258,9 +258,9 @@ macro_rules! format_args {
258258fn main() {
259259 let _ =
260260 /* parse error: expected field name or number */
261- std ::fmt::Arguments::new_v1(&[], &[std ::fmt::ArgumentV1::new(&(a.), std ::fmt::Display::fmt), ]);
261+ $crate ::fmt::Arguments::new_v1(&[], &[$crate ::fmt::ArgumentV1::new(&(a.), $crate ::fmt::Display::fmt), ]);
262262}
263- "## ] ] ,
263+ "# ] ] ,
264264 ) ;
265265}
266266
0 commit comments