about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorLuke Hinds <lukehinds@gmail.com>2016-08-09 22:31:57 +0100
committerLuke Hinds <lukehinds@gmail.com>2016-08-09 22:34:23 +0100
commit5c2c19aa89d5c855ac34a8978612fbd4f038872c (patch)
treebb776b78ca7ad3f3858235b5dadc369d15f9f5a8 /src/test/compile-fail
parentf0139140f6a2d1207cb21336b0faca69b5a337b2 (diff)
downloadrust-5c2c19aa89d5c855ac34a8978612fbd4f038872c.tar.gz
rust-5c2c19aa89d5c855ac34a8978612fbd4f038872c.zip
Update error message for E0253 #35512
Fixes #35512. Part of #35233.
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/E0253.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/compile-fail/E0253.rs b/src/test/compile-fail/E0253.rs
index 28fcf4452b3..6093f7a81fe 100644
--- a/src/test/compile-fail/E0253.rs
+++ b/src/test/compile-fail/E0253.rs
@@ -14,6 +14,8 @@ mod foo {
     }
 }
 
-use foo::MyTrait::do_something; //~ ERROR E0253
+use foo::MyTrait::do_something;
+    //~^ ERROR E0253
+    //~|NOTE not directly importable
 
 fn main() {}