#![feature(allocator_api)] #![feature(const_trait_impl)] use core::convert::{From, TryFrom}; //~^ ERROR //~| ERROR use std::pin::Pin; use std::alloc::Allocator; impl const From> for Pin> where A: 'static, {} pub fn main() {}