vxx2 / vlib / v / checker / tests / var_decl_import_sym_conflict.out
17 lines · 17 sloc · 625 bytes · e3d328a92b0f592bb2c9d46ab5ae77a69ea03105
Raw
1vlib/v/checker/tests/var_decl_import_sym_conflict.vv:1:8: warning: module 'arrays' is imported but never used. Use `import arrays as _`, to silence this warning, or just remove the unused import line
2 1 | import arrays
3 | ~~~~~~
4 2 |
5 3 | fn x() {
6vlib/v/checker/tests/var_decl_import_sym_conflict.vv:4:2: warning: unused variable: `arrays`
7 2 |
8 3 | fn x() {
9 4 | arrays := 1
10 | ~~~~~~
11 5 | }
12vlib/v/checker/tests/var_decl_import_sym_conflict.vv:4:2: error: duplicate of an import symbol `arrays`
13 2 |
14 3 | fn x() {
15 4 | arrays := 1
16 | ~~~~~~
17 5 | }
18