1 error[E0407]: method `new` is not a member of trait `ToString_`
2 --> $DIR/issue-3973.rs:11:5
4 LL | / fn new(x: f64, y: f64) -> Point {
6 LL | | Point { x: x, y: y }
8 | |_____^ not a member of trait `ToString_`
10 error[E0599]: no function or associated item named `new` found for struct `Point` in the current scope
11 --> $DIR/issue-3973.rs:22:20
14 | ------------ function or associated item `new` not found for this
16 LL | let p = Point::new(0.0, 0.0);
17 | ^^^ function or associated item not found in `Point`
19 error: aborting due to 2 previous errors
21 Some errors have detailed explanations: E0407, E0599.
22 For more information about an error, try `rustc --explain E0407`.