1 error[E0599]: no method named `deref` found for reference `&()` in the current scope
2 --> $DIR/hygiene.rs:38:11
5 | ^^^^^ method not found in `&()`
7 = help: items from traits can only be used if the trait is in scope
8 help: the following trait is implemented but not in scope; perhaps add a `use` for it:
10 LL | use std::ops::Deref;
13 error[E0599]: no method named `deref_mut` found for mutable reference `&mut ()` in the current scope
14 --> $DIR/hygiene.rs:39:15
16 LL | (&mut ()).deref_mut();
17 | ^^^^^^^^^ method not found in `&mut ()`
19 = help: items from traits can only be used if the trait is in scope
20 help: the following trait is implemented but not in scope; perhaps add a `use` for it:
22 LL | use std::ops::DerefMut;
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0599`.