rust/src
Matthias Krüger cf3cd4c48a
Rollup merge of #93024 - compiler-errors:inline-mir-bad-bounds, r=estebank
Do not ICE when inlining a function with un-satisfiable bounds

Fixes #93008
This is kinda a hack... but it's the fix I thought had the least blast-radius.

We use `normalize_param_env_or_error` to verify that the predicates in the param env are self-consistent, since with RevealAll, a bad predicate like `<&'static () as Clone>` will be evaluated with an empty ParamEnv (since it references no generics), and we'll raise an error for it.
2022-02-18 16:23:30 +01:00
..
bootstrap Rollup merge of #94082 - bjorn3:remove_cfg_platform, r=Mark-Simulacrum 2022-02-17 23:01:02 +01:00
build_helper Hide failed command unless in verbose mode 2022-01-30 17:37:11 -05:00
ci Rollup merge of #94064 - nikic:update-musl-image, r=Mark-Simulacrum 2022-02-17 06:30:05 +01:00
doc Rollup merge of #93337 - Amanieu:asm_tracking, r=tmiasko 2022-02-17 23:00:55 +01:00
etc Auto merge of #93626 - wesleywiser:fix_hashmap_natvis, r=michaelwoerister 2022-02-08 10:05:05 +00:00
librustdoc Auto merge of #93766 - petrochenkov:doclinkregr, r=camelid,GuillaumeGomez 2022-02-18 10:26:45 +00:00
llvm-project@e29ac13bc9 Update LLVM submodule 2022-02-16 21:15:30 +01:00
rustdoc-json-types Increase the format version of rustdoc-json-types 2022-01-20 22:14:02 +01:00
test Rollup merge of #93024 - compiler-errors:inline-mir-bad-bounds, r=estebank 2022-02-18 16:23:30 +01:00
tools Auto merge of #94088 - oli-obk:revert, r=jackh726 2022-02-18 07:35:37 +00:00
README.md
stage0.json bump bootstrap compiler 2022-01-28 15:01:04 +01:00
version bump version to 1.60.0 2022-01-07 10:04:15 +01:00

This directory contains the source code of the rust project, including:

  • The test suite
  • The bootstrapping build system
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.