Lukas Wirth aba70e8f9d Add missing dyn keywords to tests that do not test for them
This ensures that these tests can be run on editions other than 2015
2025-06-02 11:02:50 +02:00

12 lines
150 B
Rust

//@ no-prefer-dynamic
#![crate_type = "rlib"]
#![no_std]
extern crate alloc;
use alloc::fmt;
pub fn work_with(p: &dyn fmt::Debug) {
drop(p);
}