E0272

Reading a private field of a prelude type, such as out.handle.

Machine-applicable fix: none.

Example

This program fails with E0272.

fn main(out: Stdout) {
    let h = out.handle
}

Fixed

The same program, fixed.

fn main(out: Stdout) {
    let _ = out.println("hi")
}

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

All error codes