about summary refs log tree commit diff
path: root/tests/ui/allocator/auxiliary/helper.rs
blob: 4267b901ca07fa9112770bec0bffb55ac6d839aa (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ no-prefer-dynamic

#![crate_type = "rlib"]
#![no_std]

extern crate alloc;
use alloc::fmt;

pub fn work_with(p: &dyn fmt::Debug) {
    drop(p);
}