]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/do-not-attempt-to-add-suggestions-with-no-changes.rs
Rollup merge of #107095 - notriddle:notriddle/sidebar-current, r=GuillaumeGomez
[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() {}