about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlisdair Owens <awo101@zepler.net>2015-07-18 20:26:08 +0100
committerAlisdair Owens <awo101@zepler.net>2015-07-18 20:26:08 +0100
commit56b450b2912d1fe1f2c88d05e79f85f78ff2ec98 (patch)
treec01694488dc8f494eca75bc48eabdcfe286083e1
parent6c74779a5c4fb1c0bf5d395c8b0c27d296f7ca48 (diff)
downloadrust-56b450b2912d1fe1f2c88d05e79f85f78ff2ec98.tar.gz
rust-56b450b2912d1fe1f2c88d05e79f85f78ff2ec98.zip
fix up crate/trait discrepancy, clarify language
-rw-r--r--src/librustc_resolve/diagnostics.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc_resolve/diagnostics.rs b/src/librustc_resolve/diagnostics.rs
index e716832cbe6..44ef67f66a0 100644
--- a/src/librustc_resolve/diagnostics.rs
+++ b/src/librustc_resolve/diagnostics.rs
@@ -94,8 +94,8 @@ 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:
+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:
 
 ```
 mod foo {
@@ -106,8 +106,8 @@ mod foo {
 use foo::MyTrait::doSomething;
 ```
 
-In general, it's not legal to directly import functions from a crate or
-concrete type.
+In general, it's not legal to directly import methods belonging to a
+trait or concrete type.
 "##,
 
 E0255: r##"