Skip to content

Commit 4f5e6a8

Browse files
authored
Merge pull request #280 from rust-lang/2024-stabilized-features
Add question about which already stabilized features are used the most
2 parents 64cc8e2 + dc98c65 commit 4f5e6a8

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

surveys/2024-annual-survey/questions.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,35 @@ Type: free text
394394
>
395395
> Allow the cohort to mention specific language features they might be eagerly waiting for, see https://github.com/rust-lang/surveys/pull/234/files#r1347633041
396396
397+
### Which features stabilized in the past 12 months do you use the most?
398+
399+
The text in the parentheses shows in which Rust version was the feature stabilized.
400+
401+
Type: matrix (optional)
402+
403+
Features:
404+
405+
- [`async fn` in traits](https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html) (1.75)
406+
- [Return position `impl Trait` in traits](https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html) (1.75)
407+
- [C-string literals](https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html#c-string-literals) (1.77)
408+
- [Recursion in `async fn`](https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html#support-for-recursion-in-async-fn) (1.77)
409+
- [`offset_of!` macro](https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html#offset_of) (1.77)
410+
- [`#[diagnostic]` attribute](https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html#diagnostic-attributes) (1.78)
411+
- [Inline `const` expressions](https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html#inline-const-expressions) (1.79)
412+
- [Bounds in associated type position](https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html#bounds-in-associated-type-position) (1.79)
413+
- [`LazyCell` and `LazyLock`](https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html#lazycell-and-lazylock) (1.80)
414+
- [Exclusive ranges in patterns](https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html#exclusive-ranges-in-patterns) (1.80)
415+
- [`Error` trait in `core`](https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html#coreerrorerror) (1.81)
416+
- [`#[expect(lint)]` and lint reasons](https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html#expectlint) (1.81)
417+
418+
Usage:
419+
420+
- I use this feature
421+
- I cannot use this feature yet
422+
- I do not need this feature
423+
- I did not know it was stabilized
424+
- I do not know what it is
425+
397426
### Which of the following aspects of Rust presented non-trivial problems to your programming productivity?
398427

399428
Type: select all that apply (optional)

0 commit comments

Comments
 (0)