summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/issue-85103.rs
blob: 9c6a419e9f72d85c5969e1a350ca95dae248fa16 (plain)
1
2
3
4
5
6
7
8
9
#![feature(rustc_attrs)]

use std::borrow::Cow;

#[rustc_layout(debug)]
type Edges<'a, E> = Cow<'a, [E]>;
//~^ 6:1: 6:18: unable to determine layout for `<[E] as ToOwned>::Owned` because `<[E] as ToOwned>::Owned` cannot be normalized

fn main() {}