mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
12 lines
181 B
Rust
12 lines
181 B
Rust
//@ 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() {}
|