diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-31 20:36:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-31 20:36:27 +0200 |
| commit | b8b2a6503555fc5ea3b7c6516216c95e7b1a19ed (patch) | |
| tree | b71f070c7622583d35c6bff2da7cecbc32883282 /compiler/rustc_codegen_llvm/src | |
| parent | 08b813b30e02718dda6cdc3ca0dabe0d6a113e2b (diff) | |
| parent | 3cec2d693520b8a409a8ba6d2b6d1a40e14ade62 (diff) | |
| download | rust-b8b2a6503555fc5ea3b7c6516216c95e7b1a19ed.tar.gz rust-b8b2a6503555fc5ea3b7c6516216c95e7b1a19ed.zip | |
Rollup merge of #129818 - RalfJung:const-stability, r=compiler-errors
make the const-unstable-in-stable error more clear The default should be to add `rustc_const_unstable`, not `rustc_allow_const_fn_unstable`. Also I discovered our check for missing const stability attributes on stable functions -- but strangely that check only kicks in for "reachable" functions. `check_missing_stability` checks for reachability since all reachable functions must have a stability attribute, but I would say if a function has `#[stable]` it should also have const-stability attributes regardless of reachability.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
