Skip to content

Commit 107fda2

Browse files
committed
dyn Trait types are allowed now too
1 parent 27dabb2 commit 107fda2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/const_eval.md

-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ Notable features that are allowed in const contexts but not in const functions i
8989
* floating point operations
9090
* floating point values are treated just like generic parameters without trait bounds beyond
9191
`Copy`. So you cannot do anything with them but copy/move them around.
92-
* `dyn Trait` types
9392
* comparing raw pointers
9493
* union field access
9594

0 commit comments

Comments
 (0)