rust/src/tools
bors a609fb45ef Auto merge of #80547 - lqd:const_generics_defaults, r=varkor
In which we start to parse const generics defaults

As discussed in this [zulip topic](https://rust-lang.zulipchat.com/#narrow/stream/260443-project-const-generics/topic/const.20generic.20defaults), this PR extracts the parsing parts from `@JulianKnodt's` PR #75384 for a better user-experience using the newly stabilized `min_const_generics` (albeit temporary) as shown in #80507: trying to use default values on const generics currently results in parse errors, as if the user didn't use the correct syntax (which is somewhat true but also misleading).

This PR extracts (and slightly modifies in a couple places) `@JulianKnodt's` parsing code (with attribution if I've done everything correctly), AST and HIR changes, and feature gate setup.

This feature is now marked as "incomplete" and thus will also print out the expected "const generics default values are unstable" error instead of a syntax error. Note that, as I've only extracted the parsing part, the actual feature will not work at all if enabled. There will be ICEs, and inference errors on the const generics default values themselves.

Fixes #80507.

Once this merges, I'll:
- modify the const generics tracking issue to refer to the `const_generics_defaults` gate rather than the older temporary name it uses there.
- create the GH `F-const_generics_defaults` label

r? `@varkor`
2021-01-01 13:17:42 +00:00
..
build-manifest Utilize PGO for rustc linux dist builds 2020-12-22 12:23:37 -05:00
cargo@75d5d8cffe Update cargo 2020-12-23 08:58:14 -08:00
cargotest Update xsv to prevent random CI failures 2020-12-07 12:51:28 -05:00
clippy first pass at default values for const generics 2021-01-01 10:55:10 +01:00
compiletest Remove compile-fail test suite 2020-12-29 23:39:56 +03:00
error_index_generator mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
expand-yaml-anchors expand-yaml-anchors: Make the output directory separator-insensitive 2020-12-14 23:33:20 +09:00
linkchecker Dogfood 'str_split_once() with linkchecker 2020-12-07 14:00:21 -07:00
lint-docs lint-docs: Warn on missing lint when documenting. 2020-12-26 13:48:09 -08:00
miri@2065b52dfe update Miri 2020-12-11 18:08:44 +01:00
remote-test-client Support configurable deny-warnings for all in-tree crates. 2020-06-25 21:17:21 -07:00
remote-test-server Support configurable deny-warnings for all in-tree crates. 2020-06-25 21:17:21 -07:00
rls@2cf84baa5e Bump Rustfmt to 1.4.29 2020-12-06 02:16:06 +01:00
rust-analyzer@0d03fe6ef5 ⬆️ rust-analyzer 2020-09-14 16:11:06 +02:00
rust-demangler Update rustc-demangle 2020-10-21 21:05:38 +01:00
rust-installer@5254dbfd25 bump rust-installer submodule 2020-12-28 12:48:11 +01:00
rustbook Fix displaying errors when rustbook tests fail. 2020-11-14 17:37:02 -08:00
rustc-workspace-hack Add libz-sys to rustc-workspace-hack. 2020-12-23 12:18:15 -08:00
rustdoc Format the world 2019-12-22 17:42:47 -05:00
rustdoc-js Improve rustdoc JS tests error output 2020-11-26 21:59:45 +01:00
rustdoc-themes Format the world 2019-12-22 17:42:47 -05:00
rustfmt@acd94866fd update rustfmt to v1.4.30 2020-12-20 16:17:35 -06:00
tidy Reduce ROOT_ENTRY_LIMIT to 1500 2021-01-01 09:23:11 +09:00
tier-check Remove note about missing ios/tvos targets in platform docs. 2020-09-25 12:09:06 -07:00
unicode-table-generator unicode_table_generator: fix clippy::writeln_empty_string, clippy::useless_format, clippy:::for_kv_map 2020-08-24 00:43:50 +02:00
unstable-book-gen Replace write_fmt with write! 2020-09-20 10:35:23 +02:00
x Add installation commands to x tool README 2020-12-21 17:18:48 -08:00
publish_toolstate.py Ping me when nomicon's toolstate is broken 2020-12-05 12:05:03 +09:00