Only allow ~const bounds for traits with #[const_trait]

This commit is contained in:
Oli Scherer
2022-10-03 17:08:42 +00:00
parent d9f8b4b985
commit 33bcea8f61
34 changed files with 192 additions and 83 deletions

View File

@@ -1,5 +1,6 @@
#![feature(const_trait_impl)]
#[const_trait]
trait Bar {}
trait Foo {