v2 / vlib / v / checker / tests / const_import_conflict_err.out
12 lines · 12 sloc · 539 bytes · 1b3385cc34ff783e793d1a26a8ec5be587c80fe0
Raw
1vlib/v/checker/tests/const_import_conflict_err.vv:1:8: warning: module 'strings' is imported but never used. Use `import strings as _`, to silence this warning, or just remove the unused import line
2 1 | import strings
3 | ~~~~~~~
4 2 |
5 3 | const strings = ['hello', 'world']
6vlib/v/checker/tests/const_import_conflict_err.vv:3:7: error: const `strings` conflicts with imported module `strings`
7 1 | import strings
8 2 |
9 3 | const strings = ['hello', 'world']
10 | ~~~~~~~
11 4 |
12 5 | fn main() {
13