]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/hygiene/nested_macro_privacy.rs
Rollup merge of #90202 - matthewjasper:xcrate-hygiene, r=petrochenkov
[rust.git] / src / test / ui / hygiene / nested_macro_privacy.rs
index bee90e2bb88d40268b98c5d52d82bdfdc342a8f6..dea9101ee00687a560b1dec934822bd59ec98ef2 100644 (file)
@@ -12,6 +12,6 @@ pub struct $S { $i: u32 }
 
 fn main() {
     use foo::{S, m};
-    S::default().i; //~ ERROR field `i` of struct `foo::S` is private
+    S::default().i; //~ ERROR field `i` of struct `S` is private
     m!(S::default()); // ok
 }