E0340

A module's export written unqualified, such as Db after a plain use std.sql, which imports only the module. Spans the name.

Machine-applicable fix: Qualify it with the module's name: sql.Db.

Example

This program fails with E0340.

use std.sql

fn run(q: SqlLiteral) {}

Fixed

The same program, fixed.

use std.sql

fn run(q: sql.SqlLiteral) {}

Listed in the checker notes. oskac explain E0340 prints this entry offline.

All error codes