diff --git a/src/librustc_resolve/diagnostics.rs b/src/librustc_resolve/diagnostics.rs index 30a74b35af55a..40a298f476482 100644 --- a/src/librustc_resolve/diagnostics.rs +++ b/src/librustc_resolve/diagnostics.rs @@ -95,7 +95,7 @@ mod bar { E0253: r##" Attempt was made to import an unimportable value. This can happen when -trying to import a function from a trait. An example of this error: +trying to import a method from a trait. An example of this error: ``` mod foo {