From 2bade8133c942b4598f41ea92f860da4bdaea67f Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 17 Jan 2017 17:55:49 -0500 Subject: [PATCH] more complete error message --- src/test/compile-fail/issue-38919.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/compile-fail/issue-38919.rs b/src/test/compile-fail/issue-38919.rs index d907740ed01..e6cee4afd59 100644 --- a/src/test/compile-fail/issue-38919.rs +++ b/src/test/compile-fail/issue-38919.rs @@ -9,7 +9,7 @@ // except according to those terms. fn foo() { - T::Item; //~ ERROR no associated item named `Item` found for type `T` + T::Item; //~ ERROR no associated item named `Item` found for type `T` in the current scope } fn main() { }