Michael Howell
8e0cac18cd
rustdoc: refactor notable_traits_decl to just act on the type directly
2022-11-07 11:13:01 -07:00
bors
d69c33ad4c
Auto merge of #103569 - RalfJung:miri-test-macos, r=Mark-Simulacrum
...
fix and (re-)enable Miri cross-target checks on macOS and Windows
Fixes https://github.com/rust-lang/rust/issues/103519
r? `@Mark-Simulacrum`
2022-11-07 17:04:06 +00:00
Guillaume Gomez
d97fa2536f
Fix invalid background-image file name
2022-11-07 17:46:46 +01:00
onestacked
0c9896bfaa
Fix const_fn_trait_ref_impl, add test for it
2022-11-07 17:41:58 +01:00
yancy
f67ee43fe3
rustdoc: Add mutable to the description
2022-11-07 17:02:48 +01:00
yancy
d62582f92a
rustdoc: Add mutable to the description
2022-11-07 16:51:23 +01:00
Kamil Koczurek
4c3cad0620
Add --print=split-debuginfo
...
This option prints all supported values for -Csplit-debuginfo=.., i.e.
only stable ones on stable/beta and all of them on nightly/dev.
2022-11-07 16:11:32 +01:00
onestacked
cebce1e616
Removed unnecessary Trait bound
2022-11-07 15:34:43 +01:00
Ralf Jung
29d451ccb3
fmt
2022-11-07 15:24:49 +01:00
bors
68f77297c0
Auto merge of #104102 - Dylan-DPC:rollup-0eakshe, r=Dylan-DPC
...
Rollup of 6 pull requests
Successful merges:
- #103757 (Mention const and lifetime parameters in error E0207)
- #103986 (Don't silently eat label before block in block-like expr)
- #104003 (Move some tests to more reasonable directories)
- #104038 (Normalize types when deducing closure signature from supertraits)
- #104052 (Fix `resolution_failure` ICE)
- #104090 (Modify comment syntax error)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
2022-11-07 13:19:36 +00:00
Dylan DPC
81b8db2675
Rollup merge of #104090 - wanghaha-dev:master, r=Dylan-DPC
...
Modify comment syntax error
Modify comment syntax error
2022-11-07 18:35:26 +05:30
Dylan DPC
498efa6273
Rollup merge of #104052 - TaKO8Ki:fix-103997, r=notriddle
...
Fix `resolution_failure` ICE
Fixes #103997
2022-11-07 18:35:26 +05:30
Dylan DPC
f0bd2cdde4
Rollup merge of #104038 - compiler-errors:super-norm-closure-sig, r=lcnr
...
Normalize types when deducing closure signature from supertraits
Elaborated supertraits should be normalized, since there's no guarantee they don't contain projections 😅
Fixes #104025
r? types
2022-11-07 18:35:25 +05:30
Dylan DPC
c590396914
Rollup merge of #104003 - c410-f3r:moar-errors, r=petrochenkov
...
Move some tests to more reasonable directories
r? `@petrochenkov`
2022-11-07 18:35:25 +05:30
Dylan DPC
170ad4a0ab
Rollup merge of #103986 - compiler-errors:oh-no-bad-block-should-not-have-label, r=lcnr
...
Don't silently eat label before block in block-like expr
Fixes #103983
cc #92823 (where the regression was introduced)
2022-11-07 18:35:24 +05:30
Dylan DPC
408b8cf7c4
Rollup merge of #103757 - ffmancera:ff/clarify_E0207, r=jackh726
...
Mention const and lifetime parameters in error E0207
Error Index for E0207 must mention const and lifetime parameters. In addition, add code examples for these situations.
Fixes #80862
2022-11-07 18:35:23 +05:30
bors
391ba78ab4
Auto merge of #101395 - saethlin:strict-provenance-codegen, r=nikic
...
Add a codegen test for rust-lang/rust#96152
This is a regression test for https://github.com/rust-lang/rust/issues/96152 , it is intended to check that our codegen for a particular strict provenance pattern is always as good as the ptr2int2ptr/provenance-ignoring style.
r? `@nikic`
2022-11-07 10:36:48 +00:00
Jannis Christopher Köhl
3997893ccb
Fix rebase
2022-11-07 11:01:44 +01:00
Jannis Christopher Köhl
89f934917d
Small corrections of documentation
2022-11-07 10:35:26 +01:00
Jannis Christopher Köhl
72196ee666
Limit number of basic blocks and tracked places to 100 for now
2022-11-07 10:35:26 +01:00
Jannis Christopher Köhl
b478fcf270
Use new cast methods
2022-11-07 10:35:26 +01:00
Jannis Christopher Köhl
630e17d3e4
Limit number of tracked places, and some other perf improvements
2022-11-07 10:35:26 +01:00
Jannis Christopher Köhl
da4a40f816
Remove copy of current const prop tests and add a few new tests
2022-11-07 10:35:25 +01:00
Jannis Christopher Köhl
1f82a9f89e
Move HasTop and HasBottom into lattice.rs
2022-11-07 10:35:25 +01:00
Jannis Christopher Köhl
f29533b4e0
Small documentation changes
2022-11-07 10:35:25 +01:00
Jannis Christopher Köhl
efc7ca8c7d
Use ParamEnv consistently
2022-11-07 10:35:25 +01:00
Jannis Christopher Köhl
de69d088a4
Explicitly match all terminators
2022-11-07 10:35:24 +01:00
Jannis Christopher Köhl
d86acdd72a
Prevent propagation of overflow if overflow occured
2022-11-07 10:35:24 +01:00
Jannis Christopher Köhl
5b7b309c60
Improve documentation of assumptions
2022-11-07 10:35:24 +01:00
Jannis Christopher Köhl
062053ba79
Fix unimplemented binary_ptr_op
2022-11-07 10:35:24 +01:00
Jannis Christopher Köhl
274a49132b
Improve documentation, plus some small changes
2022-11-07 10:35:23 +01:00
Jannis Christopher Köhl
931d99f61f
Make overflow handling more precise
2022-11-07 10:35:23 +01:00
Jannis Christopher Köhl
be9013f02b
Make overflow flag propagation conditional
2022-11-07 10:35:23 +01:00
Jannis Christopher Köhl
1dde908fae
Update test results
2022-11-07 10:35:22 +01:00
Jannis Christopher Köhl
8bed0b5936
Update issue-50814.rs test result
2022-11-07 10:35:22 +01:00
Jannis Christopher Köhl
890fae9c60
Fix rebased CastKind
2022-11-07 10:35:22 +01:00
Jannis Christopher Köhl
aaa35b3e48
Add comment for the current retag situation
2022-11-07 10:35:22 +01:00
Jannis Christopher Köhl
5696d06e22
Use the same is_enabled as the current const prop
2022-11-07 10:35:21 +01:00
Jannis Christopher Köhl
b9dbb81b5e
Improve example used for SB tests
2022-11-07 10:35:21 +01:00
Jannis Christopher Köhl
7a52e7350e
Add tests for Stacked Borrows behavior
2022-11-07 10:35:21 +01:00
Jannis Christopher Köhl
3c0f3b04b5
Only assume Stacked Borrows if -Zunsound-mir-opts is given
2022-11-07 10:35:21 +01:00
Jannis Christopher Köhl
111324e17c
Prevent registration inside references if target is !Freeze
2022-11-07 10:35:20 +01:00
Jannis Christopher Köhl
4478a87018
Fix formatting
2022-11-07 10:35:20 +01:00
Jannis Christopher Köhl
7ab1ba95de
Remove Unknown state in favor of Value(Top)
2022-11-07 10:35:20 +01:00
Jannis Christopher Köhl
1765587846
Only track (trivially) freeze types
2022-11-07 10:35:20 +01:00
Jannis Christopher Köhl
b5063ab0e5
Make more assumptions explicit
2022-11-07 10:35:19 +01:00
Jannis Christopher Köhl
2f66e9417f
Flood with bottom for Deinit, StorageLive and StorageDead
2022-11-07 10:35:19 +01:00
Jannis Christopher Köhl
eab77320e6
Handle NonDivergingIntrinsic and CopyNonOverlapping
2022-11-07 10:35:19 +01:00
Jannis Christopher Köhl
f99950f6ae
Update test results after rebase
2022-11-07 10:35:18 +01:00
Jannis Christopher Köhl
c56e99cdba
Fix typo
2022-11-07 10:35:18 +01:00