summary refs log tree commit diff
path: root/src/test/ui/feature-gate-clone-closures.stderr
blob: 3e07aa17440806fefbdd7f903d670622ca215899 (plain)
1
2
3
4
5
6
7
8
9
10
error[E0599]: no method named `clone` found for type `[closure@$DIR/feature-gate-clone-closures.rs:16:17: 18:6 a:_]` in the current scope
  --> $DIR/feature-gate-clone-closures.rs:20:23
   |
20 |     let hello = hello.clone(); //~ ERROR no method named `clone` found for type
   |                       ^^^^^
   |
   = note: hello is a function, perhaps you wish to call it

error: aborting due to previous error