E0310
A sink literal, such as sql"...", whose module is not imported. Spans the tag.
Machine-applicable fix: Insert use std.<module> at the start of the file.
Example
This program fails with E0310.
fn main() {
let query = sql"SELECT 1"
}
Fixed
The same program, fixed.
use std.sql
fn main() {
let query = sql"SELECT 1"
}
Listed in the checker notes. oskac explain E0310 prints this entry offline.