2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a`
|
2016-12-01 01:35:25 +03:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:27:5
|
|
|
|
|
|
|
|
|
27 | a.I
|
2016-12-01 01:35:25 +03:00
|
|
|
| ^ did you mean `a::I`?
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a`
|
2016-12-01 01:35:25 +03:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:33:5
|
|
|
|
|
|
|
|
|
33 | a.g()
|
2016-12-01 01:35:25 +03:00
|
|
|
| ^ did you mean `a::g(...)`?
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a`
|
2016-12-01 01:35:25 +03:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:39:5
|
|
|
|
|
|
|
|
|
39 | a.b.J
|
2016-12-01 01:35:25 +03:00
|
|
|
| ^ did you mean `a::b`?
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a::b`
|
2016-12-01 01:35:25 +03:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:45:5
|
|
|
|
|
|
|
|
|
45 | a::b.J
|
2016-12-01 01:35:25 +03:00
|
|
|
| ^^^^ did you mean `a::b::J`?
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a`
|
2016-12-01 01:35:25 +03:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:51:5
|
|
|
|
|
|
|
|
|
51 | a.b.f();
|
2016-12-01 01:35:25 +03:00
|
|
|
| ^ did you mean `a::b`?
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a::b`
|
2016-12-01 01:35:25 +03:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:55:12
|
|
|
|
|
|
|
|
|
55 | v.push(a::b);
|
2016-12-01 01:35:25 +03:00
|
|
|
| ^^^^ not a value
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a::b`
|
2016-12-01 01:35:25 +03:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:61:5
|
|
|
|
|
|
|
|
|
61 | a::b.f()
|
2016-12-01 01:35:25 +03:00
|
|
|
| ^^^^ did you mean `a::b::f(...)`?
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a::b`
|
2016-12-01 01:35:25 +03:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:67:5
|
|
|
|
|
|
|
|
|
67 | a::b
|
2016-12-01 01:35:25 +03:00
|
|
|
| ^^^^ not a value
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected function, found module `a::b`
|
2016-12-01 01:35:25 +03:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:73:5
|
|
|
|
|
|
|
|
|
73 | a::b()
|
2016-12-01 01:35:25 +03:00
|
|
|
| ^^^^ not a function
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
|
|
error: main function not found
|
|
|
|
|
|
|
|
error: aborting due to 10 previous errors
|
|
|
|
|