about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/messages.ftl
AgeCommit message (Collapse)AuthorLines
2023-12-07compile-time evaluation: emit a lint when a write through an immutable ↵Ralf Jung-0/+3
pointer occurs
2023-10-15more precise error for 'based on misaligned pointer' caseRalf Jung-2/+6
2023-10-15don't UB on dangling ptr deref, instead check inbounds on projectionsRalf Jung-1/+0
2023-09-14don't point at const usage site for resolution-time errorsRalf Jung-3/+0
also share the code that emits the actual error
2023-08-30move marking-locals-live out of push_stack_frame, so it happens with ↵Ralf Jung-1/+1
argument passing this entirely avoids even creating unsized locals in Immediate::Uninitialized state
2023-08-08interpret: remove incomplete protection against invalid where clausesRalf Jung-2/+0
2023-08-02const validation: point at where we found a pointer but expected an integerRalf Jung-50/+58
2023-08-01properly track why we checked whether a pointer is in-boundsRalf Jung-1/+1
also simplify the in-bounds checking in Miri's borrow trackers
2023-07-25interpret: refactor projection code to work on a common trait, and use that ↵Ralf Jung-1/+4
for visitors
2023-07-24interpret: support projecting into Place::Local without force_allocationRalf Jung-2/+0
2023-07-21Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"David Tolnay-0/+1
This reverts commit 557359f92512ca88b62a602ebda291f17a953002, reversing changes made to 1e6c09a803fd543a98bfbe1624d697a55300a786.
2023-07-21support non-null pointer niches in CTFEMoulins-1/+0
2023-07-16miri: fail when calling a function that requires an unavailable target featureEduardo Sánchez Muñoz-0/+3
miri will report an UB when calling a function that has a `#[target_feature(enable = ...)]` attribute is called and the required feature is not available. "Available features" are the same that `is_x86_feature_detected!` (or equivalent) reports to be available during miri execution (which can be enabled or disabled with the `-C target-feature` flag).
2023-06-18Better error for non const `PartialEq` call generated by `match`Deadbeef-0/+3
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-17/+374
2023-05-31Remove const eval limit and implement an exponential backoff lint insteadOli Scherer-0/+6
2023-05-25Ensure Fluent messages are in alphabetical orderclubby789-46/+46
2023-03-29Check for escape sequences in Fluent resourcesclubby789-4/+12
2023-03-11Simplify message pathsest31-0/+83
This makes it easier to open the messages file while developing on features. The commit was the result of automatted changes: for p in compiler/rustc_*; do mv $p/locales/en-US.ftl $p/messages.ftl; rmdir $p/locales; done for p in compiler/rustc_*; do sed -i "s#\.\./locales/en-US.ftl#../messages.ftl#" $p/src/lib.rs; done