rust/tests/ui/resolve/parse_error.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
136 B
Rust
Raw Normal View History

struct Canonical;
impl<S: Into<std::borrow::Cow<'static, str>> From<S> for Canonical { //~ ERROR expected
fn foo() {}
}
fn bar() {}