about summary refs log tree commit diff
path: root/tests/ui/resolve/parse_error.rs
blob: 4cd025e1edf5b3cd36276f51d4ba1d4369b62669 (plain)
1
2
3
4
5
struct Canonical;
impl<S: Into<std::borrow::Cow<'static, str>> From<S> for Canonical { //~ ERROR expected
    fn foo() {}
}
fn bar() {}