Turf changed. The form you wrote was valid in an earlier version, and now it is an error with a pointer to what replaced it. The message says which.
Struct creation moved from a brace literal to a call:
Example
mut p: Point = Point { x: 1, y: 2 }; // removedmut p: Point = Point::new(1, 2); // a struct with a constructormut p: Point = Point::default(); // every field zeroedStatic methods moved from :: in the declaration to a static marker on the method:
Example
fn Point::origin(): Point { ... } // removedfn Point.origin() static: Point { ... }If you are following an old tutorial or an example you found online, this is the usual cause: the example predates the change.
Run turf --explain E113 in a terminal to read this again.