Idea] Turbofish replacement - language design - Rust Internals

Por um escritor misterioso
Last updated 31 janeiro 2025
Idea] Turbofish replacement - language design - Rust Internals
This is not an Pre-RFC yet, I’ll write one when it collects some hype and initial bikesheddings for it. The idea here is a new syntax which does exactly what fn-call-after-turbofish does currently, but fancier. It basically looks like this. mem::size_of(:T); iter.collect(:Vec<_>); make_array(:u8, :64, 0); do_something(:T, :U, a, b); So function call arguments can be started with optional type arguments. Type arguments are started with :, and interpreted in type context. All type arguments mus
Idea] Turbofish replacement - language design - Rust Internals
Planet Mozilla
Idea] Turbofish replacement - language design - Rust Internals
Planet Mozilla
Idea] Turbofish replacement - language design - Rust Internals
RFC] Undo universal impl Trait : r/rust
Idea] Turbofish replacement - language design - Rust Internals
Rust Anyhow ? Turbofish :: / HTTP Calls and Errors @ Rust Meetup Linz (Austria)
Idea] Turbofish replacement - language design - Rust Internals
notes/meetings/2023-03/mar-22.md at main · tc39/notes · GitHub
Idea] Turbofish replacement - language design - Rust Internals
Tracking Issue for `c…` string literals · Issue #105723 · rust-lang/rust · GitHub
Idea] Turbofish replacement - language design - Rust Internals
Planet Mozilla
Idea] Turbofish replacement - language design - Rust Internals
Planet Mozilla
Idea] Turbofish replacement - language design - Rust Internals
Fellow Rust enthusiasts: What sucks about Rust? : r/rust
Idea] Turbofish replacement - language design - Rust Internals
Fighting Rust's Expressive Type System
Idea] Turbofish replacement - language design - Rust Internals
Planet Mozilla

© 2014-2025 phtarkwa.com. All rights reserved.