summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rust-2018/uniform-paths/issue-87932.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/rust-2018/uniform-paths/issue-87932.stderr')
-rw-r--r--src/test/ui/rust-2018/uniform-paths/issue-87932.stderr18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/ui/rust-2018/uniform-paths/issue-87932.stderr b/src/test/ui/rust-2018/uniform-paths/issue-87932.stderr
new file mode 100644
index 000000000..b52720ae3
--- /dev/null
+++ b/src/test/ui/rust-2018/uniform-paths/issue-87932.stderr
@@ -0,0 +1,18 @@
+error[E0599]: no function or associated item named `deserialize` found for struct `A` in the current scope
+ --> $DIR/issue-87932.rs:13:8
+ |
+LL | pub struct A {}
+ | ------------ function or associated item `deserialize` not found for this struct
+...
+LL | A::deserialize();
+ | ^^^^^^^^^^^ function or associated item not found in `A`
+ |
+ = help: items from traits can only be used if the trait is in scope
+help: the following trait is implemented but not in scope; perhaps add a `use` for it:
+ |
+LL | use <crate::A as issue_87932_a::Deserialize>::deserialize::_a::Deserialize;
+ |
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0599`.