]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lang-item-missing-generator.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / lang-item-missing-generator.stderr
index d0cc4b81be6853d603f7a0c95e5276190a932f40..fa13bf0b12719050bb268f8014248e718bc62c1d 100644 (file)
@@ -1,4 +1,8 @@
 error: requires `generator` lang_item
+  --> $DIR/lang-item-missing-generator.rs:15:17
+   |
+LL | pub fn abc() -> impl FnOnce(f32) {
+   |                 ^^^^^^^^^^^^^^^^
 
 error: aborting due to previous error