Skip to content

Instantly share code, notes, and snippets.

@Aaron1011 Aaron1011/
Created Sep 5, 2019

What would you like to do?
trait MyTrait {
fn default() -> Self;
#[lang = "sized"]
pub trait Sized {
#[lang = "freeze"]
pub(crate) unsafe auto trait Freeze {}
impl<T> MyTrait for [T; 1] where T: MyTrait {
fn default() -> [T; 1] {
loop {}
fn main() {}
rustc +stage1 -C incremental=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.