]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/do-not-attempt-to-add-suggestions-with-no-changes.rs
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
[rust.git] / src / test / 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() {}