mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
13 lines
180 B
Rust
13 lines
180 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() {}
|