]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/issue-3973.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / traits / issue-3973.stderr
CommitLineData
8faf50e0 1error[E0407]: method `new` is not a member of trait `ToString_`
0731742a 2 --> $DIR/issue-3973.rs:11:5
8faf50e0
XL
3 |
4LL | / fn new(x: f64, y: f64) -> Point {
532ac7d7 5LL | |
8faf50e0
XL
6LL | | Point { x: x, y: y }
7LL | | }
8 | |_____^ not a member of trait `ToString_`
9
dfeec247 10error[E0599]: no function or associated item named `new` found for struct `Point` in the current scope
0731742a 11 --> $DIR/issue-3973.rs:22:20
8faf50e0
XL
12 |
13LL | struct Point {
064997fb 14 | ------------ function or associated item `new` not found for this struct
8faf50e0
XL
15...
16LL | let p = Point::new(0.0, 0.0);
532ac7d7 17 | ^^^ function or associated item not found in `Point`
8faf50e0
XL
18
19error: aborting due to 2 previous errors
20
48663c56 21Some errors have detailed explanations: E0407, E0599.
8faf50e0 22For more information about an error, try `rustc --explain E0407`.