compiler/rustc_error_codes/src/error_codes/E0256.md MARKDOWN 19 lines View on github.com → Search inside
1#### Note: this error code is no longer emitted by the compiler.23You can't import a type or module when the name of the item being imported is4the same as another type or submodule defined in the module.56An example of this error:78```compile_fail9use foo::Bar; // error1011type Bar = u32;1213mod foo {14    pub mod Bar { }15}1617fn main() {}18```

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.