diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-03-19 16:11:45 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-05-02 15:59:38 +0300 |
| commit | 3eee3dad5c8aa36a88d6ed2e927c53f2ba174819 (patch) | |
| tree | 8227bede38db3d69f70680cd6424d3808bc259f8 /tests/ui/error-codes | |
| parent | db074a06fe6649f9455dff8ad3eddd60683036f3 (diff) | |
| download | rust-3eee3dad5c8aa36a88d6ed2e927c53f2ba174819.tar.gz rust-3eee3dad5c8aa36a88d6ed2e927c53f2ba174819.zip | |
resolve: Support imports of associated types and glob imports from traits
Diffstat (limited to 'tests/ui/error-codes')
| -rw-r--r-- | tests/ui/error-codes/E0253.rs | 10 | ||||
| -rw-r--r-- | tests/ui/error-codes/E0253.stderr | 9 |
2 files changed, 0 insertions, 19 deletions
diff --git a/tests/ui/error-codes/E0253.rs b/tests/ui/error-codes/E0253.rs deleted file mode 100644 index 8284f791c64..00000000000 --- a/tests/ui/error-codes/E0253.rs +++ /dev/null @@ -1,10 +0,0 @@ -mod foo { - pub trait MyTrait { - type SomeType; - } -} - -use foo::MyTrait::SomeType; - //~^ ERROR E0253 - -fn main() {} diff --git a/tests/ui/error-codes/E0253.stderr b/tests/ui/error-codes/E0253.stderr deleted file mode 100644 index 954dbc81693..00000000000 --- a/tests/ui/error-codes/E0253.stderr +++ /dev/null @@ -1,9 +0,0 @@ -error[E0253]: `SomeType` is not directly importable - --> $DIR/E0253.rs:7:5 - | -LL | use foo::MyTrait::SomeType; - | ^^^^^^^^^^^^^^^^^^^^^^ cannot be imported directly - -error: aborting due to 1 previous error - -For more information about this error, try `rustc --explain E0253`. |
