Commit Graph

16 Commits

Author SHA1 Message Date
Mara Bos cadf901b1d Remove assert_matches feature attributes. 2021-05-03 09:30:11 -04:00
bstrie 567f0e1a39
Stabilize `assoc_char_funcs` and `assoc_char_consts` 2021-03-19 20:35:08 -07:00
Mara Bos cfb4ad4f2a Remove unwrap_none/expect_none from compiler/. 2021-03-18 14:25:54 +01:00
Camille GILLOT cdc0b199a9 Split DepKindStruct in two. 2021-02-19 17:51:56 +01:00
pierwill 51d1806545
docs: Fix outdated crate reference 2020-12-19 23:32:51 -08:00
LeSeulArtichaut e0f3119103 Introduce `TypeVisitor::BreakTy` 2020-11-14 20:25:27 +01:00
Oliver Scherer 362123dd75 Split the "raw integer bytes" part out of `Scalar` 2020-11-04 09:58:59 +00:00
LeSeulArtichaut 2c85b6fae0 TypeVisitor: use `std::ops::ControlFlow` instead of `bool` 2020-10-30 12:25:24 +01:00
Jubilee Young 0e88db7db4 Dogfood {exclusive,half-open} ranges in compiler (nfc)
In particular, this allows us to write more explicit matches that
avoid the pitfalls of using a fully general fall-through case, yet
remain fairly ergonomic. Less logic is in guard cases, more is in
the actual exhaustive case analysis.

No functional changes.
2020-10-28 20:09:20 -07:00
Erik Hofmayer 138a2e5eaa /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
Erik Hofmayer dd66ea2d3d Updated html_root_url for compiler crates 2020-09-23 21:14:43 +02:00
Ralf Jung 50d56bc774
Rollup merge of #76825 - lcnr:array-windows-apply, r=varkor
use `array_windows` instead of `windows` in the compiler

I do think these changes are beautiful, but do have to admit that using type inference for the window length
can easily be confusing. This seems like a general issue with const generics, where inferring constants adds an additional
complexity which users have to learn and keep in mind.
2020-09-20 12:08:26 +02:00
Bastian Kauschke 3435683fd5 use `array_windows` instead of `windows` in the compiler 2020-09-20 08:11:05 +02:00
est31 ebdea01143 Remove redundant #![feature(...)] 's from compiler/ 2020-09-17 07:58:45 +02:00
marmeladema 68500ffacb datastructures: replace `once_cell` crate with an impl from std 2020-08-30 20:06:14 +01:00
mark 9e5f7d5631 mv compiler to compiler/ 2020-08-30 18:45:07 +03:00