| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-07 | Move monomorphize code to its own crate. | Camille GILLOT | -399/+0 | |
| 2021-08-26 | review | lcnr | -4/+4 | |
| 2021-08-26 | update `TypeFlags` to deal with missing ct substs | lcnr | -4/+4 | |
| 2021-08-26 | make unevaluated const substs optional | lcnr | -8/+8 | |
| 2021-08-26 | require a `tcx` for `TypeVisitor` | lcnr | -3/+11 | |
| 2021-08-21 | Remove `Session.used_attrs` and move logic to `CheckAttrVisitor` | Aaron Hill | -5/+1 | |
| Instead of updating global state to mark attributes as used, we now explicitly emit a warning when an attribute is used in an unsupported position. As a side effect, we are to emit more detailed warning messages (instead of just a generic "unused" message). `Session.check_name` is removed, since its only purpose was to mark the attribute as used. All of the callers are modified to use `Attribute.has_name` Additionally, `AttributeType::AssumedUsed` is removed - an 'assumed used' attribute is implemented by simply not performing any checks in `CheckAttrVisitor` for a particular attribute. We no longer emit unused attribute warnings for the `#[rustc_dummy]` attribute - it's an internal attribute used for tests, so it doesn't mark sense to treat it as 'unused'. With this commit, a large source of global untracked state is removed. | ||||
| 2021-03-20 | extract `ConstKind::Unevaluated` into a struct | lcnr | -3/+3 | |
| 2021-03-04 | Fixes -Zpolymorphize for src/test/ui/const-generics/auxiliary/crayte.rs | Oli Scherer | -9/+39 | |
| 2021-03-04 | Spread tracing instrumentation into the polymorphization logic | Oli Scherer | -33/+27 | |
| 2021-01-04 | Adjust imports | oli | -3/+3 | |
| 2021-01-04 | Polymorphization should look at the runtime MIR of `const fn` | oli | -5/+4 | |
| 2021-01-04 | Differentiate between the availability of ctfe MIR and runtime MIR | oli | -4/+15 | |
| 2021-01-04 | Keep an unoptimized duplicate of `const fn` around | oli | -1/+4 | |
| This allows CTFE to reliably detect UB, as otherwise optimizations may hide UB. | ||||
| 2020-11-14 | Set the default `BreakTy` to `!` | LeSeulArtichaut | -0/+2 | |
| 2020-11-14 | Introduce `TypeVisitor::BreakTy` | LeSeulArtichaut | -4/+4 | |
| 2020-10-30 | Remove implicit `Continue` type | LeSeulArtichaut | -4/+4 | |
| 2020-10-30 | Use `ControlFlow::is{break,continue}` | LeSeulArtichaut | -1/+1 | |
| 2020-10-30 | TypeVisitor: use `ControlFlow` in rustc_{mir,privacy,traits,typeck} | LeSeulArtichaut | -17/+28 | |
| 2020-09-04 | Change ty.kind to a method | LeSeulArtichaut | -2/+2 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+345 | |
