rust/tests/ui/dyn-star/auxiliary/dyn-star-foreign.rs
2024-03-11 19:42:04 +00:00

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);
}