|
|
|
|
|
by comex
848 days ago
|
|
You mean that Miri catches it at runtime, right? If so, that hardly demonstrates anything about the difficulty or lack thereof of fixing rustc’s type checker, since Miri is not a type checker and doesn’t know anything about “lifetimes” in the usual sense. I agree that this isn’t a “fundamental design flaw in the language”, but Miri is irrelevant to proving that. |
|