]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lexical-scopes.stderr
Auto merge of #99028 - tmiasko:inline, r=estebank
[rust.git] / src / test / ui / lexical-scopes.stderr
index 1e6a35ed479f690d495865ee92fb0d900eb611e0..3b2a062c1c2548ac1bee802d3fff71a73013d2e6 100644 (file)
@@ -7,6 +7,8 @@ LL |     let t = T { i: 0 };
 error[E0599]: no function or associated item named `f` found for type parameter `Foo` in the current scope
   --> $DIR/lexical-scopes.rs:10:10
    |
+LL | fn g<Foo>() {
+   |      --- function or associated item `f` not found for this type parameter
 LL |     Foo::f();
    |          ^ function or associated item not found in `Foo`