E0165

#[integration] on an item other than a test.

Machine-applicable fix: none.

Example

This program fails with E0165.

#[integration]
fn setup() {}

Fixed

The same program, fixed.

#[integration]
test "setup" {
    t.assert(true)
}

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

All error codes