E0202

A type or trait name declared twice in the module, or one that redeclares a prelude name; a free function declared twice, or one that redeclares a prelude function (dbg, todo); or a method or associated function declared twice for one type, across all of its inherent impl blocks. Spans the second declaration's name.

Machine-applicable fix: none.

Example

This program fails with E0202.

fn helper() {}

fn helper() {}

Fixed

The same program, fixed.

fn helper() {}

fn other_helper() {}

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

All error codes