]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12028.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-12028.stderr
1 error[E0284]: type annotations needed
2   --> $DIR/issue-12028.rs:27:14
3    |
4 LL |         self.input_stream(&mut stream);
5    |              ^^^^^^^^^^^^
6    |
7    = note: cannot satisfy `<_ as StreamHasher>::S == <H as StreamHasher>::S`
8 help: try using a fully qualified path to specify the expected types
9    |
10 LL |         <u8 as StreamHash<H>>::input_stream(self, &mut stream);
11    |         ++++++++++++++++++++++++++++++++++++    ~
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0284`.