Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tyushk
20 days ago
|
parent
|
context
|
favorite
| on:
Stabilizing Rust's Never Type
Do you have an example? I'm struggling to think of such a case where ! is ambiguous between a end of macro call and the Never type.
Sharlin
20 days ago
[–]
Pedantically, the phrasing in the article is incorrect because macro invocations
are
permissible in type positions. But as you said, the macro invocation syntax is nevertheless not ambiguous with !-as-type (or !-as-operator for that matter).
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: