summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/do-not-attempt-to-add-suggestions-with-no-changes.rs
blob: a25be862a5dafb9ef43cbdd3b649352c42cf58c1 (plain)
1
2
3
4
5
use std::result;
impl result { //~ ERROR expected type, found module `result`
    fn into_future() -> Err {} //~ ERROR expected type, found variant `Err`
}
fn main() {}