]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/method-help-unsatisfied-bound.rs
Rollup merge of #93635 - GuillaumeGomez:missing-platform-spec-info, r=Amanieu
[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 }