We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[const_trait]
I tried this code:
#![feature(const_trait_impl)] #[const_trait] pub trait Index { type Output; } #[const_trait] pub trait IndexMut: Index { fn foo(&mut self) -> <Self as Index>::Output; }
I expected to see this happen: compiles Instead, this happened: errors
latest nightly