rust/tests/ui/associated-types/issue-85103-layout-debug.rs

10 lines
173 B
Rust

#![feature(rustc_attrs)]
use std::borrow::Cow;
#[rustc_layout(debug)]
type Edges<'a, E> = Cow<'a, [E]>;
//~^ the trait bound `[E]: ToOwned` is not satisfied
fn main() {}