]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/method-help-unsatisfied-bound.rs
Rollup merge of #93443 - spastorino:add-stable-hash-impl-doc, r=cjgillot
[rust.git] / src / test / ui / mismatched_types / method-help-unsatisfied-bound.rs
1 struct Foo;
2
3 fn main() {
4     let a: Result<(), Foo> = Ok(());
5     a.unwrap();
6     //~^ ERROR `Foo` doesn't implement `Debug`
7 }