]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/impl-fn-nesting.rs
Auto merge of #83152 - guswynn:jemallocator_part2, r=Mark-Simulacrum
[rust.git] / src / test / rustdoc-ui / impl-fn-nesting.rs
index d2dd8d835fd7955772e484a10a51c781c04f6dc9..a927f6bd79976eb85755f242e27e6e4127feb410 100644 (file)
@@ -41,8 +41,8 @@ macro_rules! can_define_macros_here_too {
             can_define_macros_here_too!();
 
             /// This also is documented.
-            pub fn doubly_nested(c: UnknownTypeShouldBeIgnored) {
-
+            pub fn doubly_nested(c: UnknownType) {
+            //~^ ERROR cannot find type `UnknownType` in this scope
             }
         }
     }