rust/tests/ui/issues/issue-41549.rs

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

13 lines
181 B
Rust
Raw Normal View History

2018-11-05 04:00:03 +00:00
//@ aux-build:issue-41549.rs
extern crate issue_41549;
struct S;
impl issue_41549::Trait for S {
const CONST: () = (); //~ ERROR incompatible type for trait
}
fn main() {}