summary refs log tree commit diff
path: root/src/test/ui/borrowck/borrowck-fn-in-const-a.mir.stderr
blob: 6a5c5047fb237a970147b1d55d3cd3d05d8f78d4 (plain)
1
2
3
4
5
6
7
8
9
error[E0507]: cannot move out of borrowed content
  --> $DIR/borrowck-fn-in-const-a.rs:9:16
   |
LL |         return *x //[ast]~ ERROR cannot move out of borrowed content [E0507]
   |                ^^ cannot move out of borrowed content

error: aborting due to previous error

For more information about this error, try `rustc --explain E0507`.