]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/do-not-attempt-to-add-suggestions-with-no-changes.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / do-not-attempt-to-add-suggestions-with-no-changes.rs
1 use std::result;
2 impl result { //~ ERROR expected type, found module `result`
3     fn into_future() -> Err {} //~ ERROR expected type, found variant `Err`
4 }
5 fn main() {}