don't let const_fn feature flag affect impl-block-level trait bounds
This commit is contained in:
parent
ada102456d
commit
9a852776f4
11 changed files with 9 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
|
||||
--> $DIR/call-const-trait-method-fail.rs:26:5
|
||||
--> $DIR/call-const-trait-method-fail.rs:25:5
|
||||
|
|
||||
LL | a.plus(b)
|
||||
| ^^^^^^^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue