rust/tests/ui/suggestions/do-not-attempt-to-add-suggestions-with-no-changes.rs
2023-01-11 09:32:08 +00:00

6 lines
169 B
Rust

use std::result;
impl result { //~ ERROR expected type, found module `result`
fn into_future() -> Err {} //~ ERROR expected type, found variant `Err`
}
fn main() {}