]> git.lizzy.rs Git - rust.git/blob - tests/ui/mismatched_types/method-help-unsatisfied-bound.rs
Rollup merge of #106644 - alexcrichton:update-wasi-toolchain, r=cuviper
[rust.git] / tests / 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 }