summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0328.rs
blob: ef55f44dd6be1b07a8321e41b9578ca2d6e30588 (plain)
1
2
3
4
5
6
7
8
9
10
#![feature(unsize)]

use std::marker::Unsize;

pub struct MyType;

impl<T> Unsize<T> for MyType {}
//~^ ERROR explicit impls for the `Unsize` trait are not permitted [E0328]

fn main() {}