rust/src
Matthias Krüger 103c3a38a6
Rollup merge of #93358 - compiler-errors:is-not-const, r=fee1-dead
Add note suggesting that predicate may be satisfied, but is not `const`

Not sure if we should be printing this in addition to, or perhaps _instead_ of the help message:
```
help: the trait `~const Add` is not implemented for `NonConstAdd`
```

Also added `ParamEnv::is_const` and `PolyTraitPredicate::is_const_if_const` and, in a separate commit, used those in other places instead of `== hir::Constness::Const`, etc.

r? ````@fee1-dead````
2022-01-30 00:04:11 +01:00
..
bootstrap rustbuild: Fix compiletest warning when building outside of root. 2022-01-27 15:57:38 -08:00
build_helper Remove dead code from build_helper 2022-01-22 12:06:44 +01:00
ci Update browser-ui-test version to 0.5.8 2022-01-29 10:44:18 +01:00
doc Rollup merge of #93375 - Kvicii:ISSUE_93374, r=notriddle 2022-01-28 15:20:28 +01:00
etc Auto merge of #87648 - JulianKnodt:const_eq_constrain, r=oli-obk 2022-01-18 09:58:39 +00:00
librustdoc Rollup merge of #93299 - GuillaumeGomez:dot-separator-no-source, r=jsha 2022-01-29 14:46:32 +01:00
llvm-project@b6b46f596a backport llvm fix for issue 91671. 2022-01-28 09:22:16 -05:00
rustdoc-json-types Increase the format version of rustdoc-json-types 2022-01-20 22:14:02 +01:00
test Rollup merge of #93358 - compiler-errors:is-not-const, r=fee1-dead 2022-01-30 00:04:11 +01:00
tools Merge commit 'a98e7ab8b9' into clippyup 2022-01-27 15:12:45 +01:00
README.md
stage0.json Bump bootstrap compiler 2021-11-30 10:44:21 -05: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.