1#### Note: this error code is no longer emitted by the compiler.23Attempt was made to import an unimportable type. This can happen when trying4to import a type from a trait.56Erroneous code example:78```9#![feature(import_trait_associated_functions)]1011mod foo {12 pub trait MyTrait {13 type SomeType;14 }15}1617use foo::MyTrait::SomeType;18// error: `SomeType` is not directly importable1920fn main() {}21```2223It's invalid to directly import types belonging to a trait.
Findings
✓ No findings reported for this file.