fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0423]: expected value, found module `a` 2 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:17:5 3 | 4LL | a.I 5 | ^-- 6 | | 7 | help: use the path separator to refer to an item: `a::I` 8 9error[E0423]: expected value, found module `a` 10 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:22:5 11 | 12LL | a.g() 13 | ^-- 14 | | 15 | help: use the path separator to refer to an item: `a::g` 16 17error[E0423]: expected value, found module `a` 18 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:27:5 19 | 20LL | a.b.J 21 | ^-- 22 | | 23 | help: use the path separator to refer to an item: `a::b` 24 25error[E0423]: expected value, found module `a::b` 26 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:32:5 27 | 28LL | a::b.J 29 | ^^^^ 30help: a constant with a similar name exists 31 | 32LL | a::I.J 33 | ^ 34help: use the path separator to refer to an item 35 | 36LL | a::b::J 37 | 38 39error[E0423]: expected value, found module `a` 40 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:37:5 41 | 42LL | a.b.f(); 43 | ^-- 44 | | 45 | help: use the path separator to refer to an item: `a::b` 46 47error[E0423]: expected value, found module `a::b` 48 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:40:12 49 | 50LL | v.push(a::b); 51 | ^^^- 52 | | 53 | help: a constant with a similar name exists: `I` 54 55error[E0423]: expected value, found module `a::b` 56 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:45:5 57 | 58LL | a::b.f() 59 | ^^^^ 60help: a constant with a similar name exists 61 | 62LL | a::I.f() 63 | ^ 64help: use the path separator to refer to an item 65 | 66LL | a::b::f() 67 | ^^^^^^^ 68 69error[E0423]: expected value, found module `a::b` 70 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:50:5 71 | 72LL | a::b 73 | ^^^- 74 | | 75 | help: a constant with a similar name exists: `I` 76 77error[E0423]: expected function, found module `a::b` 78 --> $DIR/suggest-path-instead-of-mod-dot-item.rs:55:5 79 | 80LL | a::b() 81 | ^^^- 82 | | 83 | help: a constant with a similar name exists: `I` 84 85error: aborting due to 9 previous errors 86 87For more information about this error, try `rustc --explain E0423`.