E0320

Untrusted<T> where T is not text, such as Untrusted<Int>, Untrusted<List<String>>, or Untrusted<T> for a generic T. Trust is a flag on text only; every other type is trusted. Text inside a container is written inside it, as in List<Untrusted<String>>. Checked in signatures, declarations, and type annotations in bodies. Spans the Untrusted<...> type.

Machine-applicable fix: none.

Example

This program fails with E0320.

fn count(n: Untrusted<Int>) {}

Fixed

The same program, fixed.

fn count(n: Int) {}

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

All error codes