rust/tests/ui/underscore-imports/shadow.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
499 B
Plaintext
Raw Normal View History

error[E0599]: no method named `deref` found for reference `&()` in the current scope
--> $DIR/shadow.rs:19:11
|
LL | x.deref();
| ^^^^^ method not found in `&()`
|
= help: items from traits can only be used if the trait is in scope
2021-08-26 13:17:19 -05:00
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
2023-03-17 21:18:39 -05:00
LL + use std::ops::Deref;
2021-08-26 13:17:19 -05:00
|
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.