We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50b110b commit 4f7ec52Copy full SHA for 4f7ec52
src/names/name-resolution.md
@@ -272,7 +272,7 @@ const _: () = {
272
>
273
> use outer::AMBIG;
274
275
-> pub fn foo() {
+> pub fn f() {
276
> use glob::*;
277
> assert!(AMBIG);
278
> // ^--- This `AMBIG` is resolved during primary resolution.
@@ -293,7 +293,7 @@ macro_rules! path_based {
293
() => {}
294
}
295
296
-pub fn foo() {
+pub fn f() {
297
ambig!(); // ERROR: `ambig` is ambiguous
298
use path_based as ambig; // In scope for entire function body.
299
@@ -350,7 +350,7 @@ macro_rules! define_name {
350
351
352
353
-fn foo() {
+fn f() {
354
define_name!();
355
name!(); // ERROR: `name` is ambiguous
356
0 commit comments