summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-58856-2.rs
blob: 5edd72639058ddd2a8532a60716781e85e43b2a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
struct Empty;

trait Howness {}

impl Howness for () {
    fn how_are_you(&self -> Empty {
        Empty
    }
} //~ ERROR mismatched closing delimiter

fn main() {}