Better group RFC ui tests together
This commit is contained in:
parent
7452822843
commit
9d3482c403
543 changed files with 145 additions and 145 deletions
13
tests/ui/rfcs/rfc-2632-const-trait-impl/inherent-impl.rs
Normal file
13
tests/ui/rfcs/rfc-2632-const-trait-impl/inherent-impl.rs
Normal file
|
@ -0,0 +1,13 @@
|
|||
#![feature(const_trait_impl)]
|
||||
#![allow(bare_trait_objects)]
|
||||
|
||||
struct S;
|
||||
trait T {}
|
||||
|
||||
impl const S {}
|
||||
//~^ ERROR inherent impls cannot be `const`
|
||||
|
||||
impl const T {}
|
||||
//~^ ERROR inherent impls cannot be `const`
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue