mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
12 lines
299 B
Rust
12 lines
299 B
Rust
#![feature(effects)]
|
|
//~^ WARN: the feature `effects` is incomplete
|
|
|
|
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() {}
|