9 lines
230 B
Rust
9 lines
230 B
Rust
struct A();
|
|
|
|
impl const Drop for A {}
|
|
//~^ ERROR: const trait impls are experimental
|
|
//~| const `impl` for trait `Drop` which is not marked with `#[const_trait]`
|
|
//~| not all trait items implemented, missing: `drop`
|
|
|
|
fn main() {}
|