2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:17:5
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | a.I
|
2017-03-08 22:15:12 +03:00
|
|
|
| ^--
|
|
|
|
| |
|
2019-01-15 11:27:58 -05:00
|
|
|
| help: use the path separator to refer to an item: `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`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:22:5
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | a.g()
|
2019-01-15 11:27:58 -05:00
|
|
|
| ^--
|
2017-03-08 22:15:12 +03:00
|
|
|
| |
|
2019-01-15 11:27:58 -05:00
|
|
|
| help: use the path separator to refer to an item: `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`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:27:5
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | a.b.J
|
2017-03-08 22:15:12 +03:00
|
|
|
| ^--
|
|
|
|
| |
|
2019-01-15 11:27:58 -05:00
|
|
|
| help: use the path separator to refer to an item: `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`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:32:5
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | a::b.J
|
2019-01-15 11:27:58 -05:00
|
|
|
| ^^^^
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2019-01-15 11:27:58 -05:00
|
|
|
help: a constant with a similar name exists
|
|
|
|
|
|
|
|
|
LL | a::I.J
|
|
|
|
| ^
|
|
|
|
help: use the path separator to refer to an item
|
|
|
|
|
|
|
|
|
LL | 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`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:37:5
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | a.b.f();
|
2017-03-08 22:15:12 +03:00
|
|
|
| ^--
|
|
|
|
| |
|
2019-01-15 11:27:58 -05:00
|
|
|
| help: use the path separator to refer to an item: `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`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:40:12
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | v.push(a::b);
|
2017-03-08 22:15:12 +03:00
|
|
|
| ^^^-
|
|
|
|
| |
|
2019-01-09 14:11:00 -05:00
|
|
|
| help: a constant with a similar name exists: `I`
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected value, found module `a::b`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:45:5
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | a::b.f()
|
2019-01-15 11:27:58 -05:00
|
|
|
| ^^^^
|
2019-10-23 22:20:58 -07:00
|
|
|
|
|
2019-01-15 11:27:58 -05:00
|
|
|
help: a constant with a similar name exists
|
|
|
|
|
|
|
|
|
LL | a::I.f()
|
|
|
|
| ^
|
|
|
|
help: use the path separator to refer to an item
|
|
|
|
|
|
|
|
|
LL | 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`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:50:5
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | a::b
|
2017-03-08 22:15:12 +03:00
|
|
|
| ^^^-
|
|
|
|
| |
|
2019-01-09 14:11:00 -05:00
|
|
|
| help: a constant with a similar name exists: `I`
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2016-12-01 01:35:25 +03:00
|
|
|
error[E0423]: expected function, found module `a::b`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/suggest-path-instead-of-mod-dot-item.rs:55:5
|
2016-12-01 01:35:25 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | a::b()
|
2017-03-08 22:15:12 +03:00
|
|
|
| ^^^-
|
|
|
|
| |
|
2019-01-09 14:11:00 -05:00
|
|
|
| help: a constant with a similar name exists: `I`
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2018-03-12 13:21:43 -07:00
|
|
|
error: aborting due to 9 previous errors
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2018-03-12 13:21:43 -07:00
|
|
|
For more information about this error, try `rustc --explain E0423`.
|