rust/compiler/rustc_ast/src
Stuart Cook 5863b426b9
Rollup merge of #139465 - EnzymeAD:autodiff-sret, r=oli-obk
add sret handling for scalar autodiff

r? `@oli-obk`

Fixing one of the todo's which I left in my previous batching PR.
This one handles sret for scalar autodiff.  `sret` mostly shows up when we try to return a lot of scalar floats.
People often start testing autodiff which toy functions which just use a few scalars as inputs and outputs, and those were the most likely to be affected by this issue. So this fix should make learning/teaching hopefully a bit easier.

Tracking:

- https://github.com/rust-lang/rust/issues/124509
2025-04-07 22:29:21 +10:00
..
attr Allow boolean literals in check-cfg 2025-04-03 09:54:23 +00:00
expand handle sret for scalar autodiff 2025-04-07 07:07:16 -04:00
util Replace rustc_lexer/unescape with rustc-literal-escaper crate 2025-04-04 14:44:45 +02:00
ast.rs Rollup merge of #139112 - m-ou-se:super-let, r=lcnr 2025-04-07 22:29:18 +10:00
ast_traits.rs Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
entry.rs remove support for the #[start] attribute 2025-01-21 06:59:15 -07:00
format.rs Limit formatting width and precision to 16 bits. 2025-03-10 12:20:05 +01:00
lib.rs Auto merge of #138414 - matthiaskrgr:rollup-9ablqdb, r=matthiaskrgr 2025-03-12 17:27:43 +00:00
mut_visit.rs Rollup merge of #139112 - m-ou-se:super-let, r=lcnr 2025-04-07 22:29:18 +10:00
node_id.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ptr.rs Convert some Into impls into From impls 2024-12-31 01:56:33 +00:00
token.rs Remove Token::uninterpolated_span. 2025-04-02 06:21:16 +11:00
tokenstream.rs Fix a problem with metavars and inner attributes. 2025-04-02 06:21:18 +11:00
visit.rs Rollup merge of #139112 - m-ou-se:super-let, r=lcnr 2025-04-07 22:29:18 +10:00