blob: f0053dcd275c038192f96c0229423cdb7686c0da [file]
#![feature(no_core)]
#![feature(lang_items)]
#![no_core]
#[lang = "sized"]
pub trait Sized {}
#[lang = "drop"]
pub trait Drop {
fn drop (&mut self);
}
struct Droppable;
impl Drop for Droppable {
fn drop(&mut self) {}
}
fn main() {
{
let ref _x = Droppable; // { dg-message "sorry, unimplemented: drop trait not supported for subpatterns and ref patterns" }
}
}