rust/tests/ui/dyn-star/auxiliary/dyn-star-foreign.rs

10 lines
161 B
Rust

#![feature(dyn_star)]
use std::fmt::Display;
pub fn require_dyn_star_display(_: dyn* Display) {}
fn works_locally() {
require_dyn_star_display(1usize);
}