We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b04f842 commit 8c77d06Copy full SHA for 8c77d06
src/test/run-pass/fn-bare-anon-2.rs
@@ -0,0 +1,7 @@
1
+fn main() {
2
+ let f: fn#() = fn# () {
3
+ log "This is a bare function"
4
+ };
5
+ let g;
6
+ g = f;
7
+}
0 commit comments