6
Function type with opaque return type can be coerced to `dyn Fn` with arbitrary...
source link: https://github.com/rust-lang/rust/issues/98608
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
I tried this code:
I expected to see this happen: Compiler error, since Instead, this happened: Code compiles, segfault
|
compiler-errors, steffahn, ChayimFriedman2, AngelMunoz, Restioson, khvzak, seandewar, ClementNerma, 71, Polish-Civil, and 11 more reacted with laugh emojidanielhenrymantilla, 5hir0kur0, seandewar, jdahlstrom, 71, Polish-Civil, jplatte, zebp, hybras, Coca162, and 6 more reacted with eyes emoji All reactions
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK