about summary refs log tree commit diff
path: root/compiler/rustc_error_codes
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-03-19 16:11:45 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-05-02 15:59:38 +0300
commit3eee3dad5c8aa36a88d6ed2e927c53f2ba174819 (patch)
tree8227bede38db3d69f70680cd6424d3808bc259f8 /compiler/rustc_error_codes
parentdb074a06fe6649f9455dff8ad3eddd60683036f3 (diff)
downloadrust-3eee3dad5c8aa36a88d6ed2e927c53f2ba174819.tar.gz
rust-3eee3dad5c8aa36a88d6ed2e927c53f2ba174819.zip
resolve: Support imports of associated types and glob imports from traits
Diffstat (limited to 'compiler/rustc_error_codes')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0253.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0253.md b/compiler/rustc_error_codes/src/error_codes/E0253.md
index 705d1bfc53e..628f5e252fb 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0253.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0253.md
@@ -1,9 +1,13 @@
+#### Note: this error code is no longer emitted by the compiler.
+
 Attempt was made to import an unimportable type. This can happen when trying
 to import a type from a trait.
 
 Erroneous code example:
 
-```compile_fail,E0253
+```
+#![feature(import_trait_associated_functions)]
+
 mod foo {
     pub trait MyTrait {
         type SomeType;