Deadbeef
a13b13ff46
Const drop selection candidates
2021-09-09 05:21:31 +00:00
Deadbeef
894ce921a0
better test
2021-09-09 05:21:30 +00:00
Deadbeef
48a3ba9a33
fmt
2021-09-09 05:21:30 +00:00
Deadbeef
f6f5180d5f
Add a simple test case
2021-09-09 05:21:29 +00:00
Deadbeef
9125fbfd60
Do not lint for ~const Drop bounds
2021-09-09 05:21:29 +00:00
Deadbeef
104e40fb74
Const dropping
2021-09-09 05:21:29 +00:00
Deadbeef
d9797d23d5
Remove unused query
2021-09-09 05:21:28 +00:00
Deadbeef
9c1a91628b
cleanup hir hack
2021-09-09 05:21:28 +00:00
bors
c5cbf7852a
Auto merge of #88752 - Mark-Simulacrum:bootstrap-bump, r=m-ou-se
...
Bump stage0 compiler to 1.56
r? `@pietroalbini` (but others should feel free to steal)
2021-09-09 03:01:47 +00:00
bors
1a524783b1
Auto merge of #7610 - Labelray:master, r=camsteffen
...
Add new lint `iter_not_returning_iterator`
Add new lint [`iter_not_returning_iterator`] to detect method `iter()` or `iter_mut()` returning a type not implementing `Iterator`
changelog: Add new lint [`iter_not_returning_iterator`]
2021-09-09 01:47:08 +00:00
bors
36e6469301
Auto merge of #7621 - azdavis:master, r=camsteffen
...
Allow giving reasons for `disallowed_methods`
Fixes #7609 .
This permits writing the config for `disallowed-methods` as either a list of strings (like before) or a list of tables, where each table gives the path to the disallowed method and an optional reason for why the method is disallowed.
changelog: Allow giving reasons for [`disallowed_methods`]
2021-09-09 01:31:15 +00:00
Labelray
8f88acdbfa
add new lint iter_not_returning_iterator
2021-09-09 09:21:38 +08:00
Noble-Mushtak
804ccfaaab
Fatal error for functions with more than 65535 arguments
2021-09-08 21:14:49 -04:00
Ariel Davis
293db0d33c
Allow giving reasons for disallowed_methods
2021-09-08 21:12:02 -04:00
Mark Rousskov
b4e7649d6d
Bump stage0 compiler to 1.56
2021-09-08 20:51:05 -04:00
Ellen
fd9bb30ab8
CI please
2021-09-09 01:32:03 +01:00
Ellen
cd2915eddb
fmt
2021-09-09 01:32:03 +01:00
Ellen
3212734bd7
resolve from_hir_call FIXME
2021-09-09 01:32:03 +01:00
Ellen
8c7954dc42
add a CastKind to Node::Cast
2021-09-09 01:32:03 +01:00
Ellen
955e2b2da0
nits
2021-09-09 01:32:03 +01:00
Ellen
79be080255
remove comment
2021-09-09 01:32:03 +01:00
Ellen
406d2ab95d
rename mir -> thir around abstract consts
2021-09-09 01:32:03 +01:00
Ellen
15101c8e95
remove debug stmts
2021-09-09 01:32:03 +01:00
Ellen
1f57f8b903
remove WorkNode
2021-09-09 01:32:03 +01:00
Ellen
4cbcb0936a
handle ExprKind::NeverToAny
2021-09-09 01:32:03 +01:00
Ellen
fc63e9a8fb
dont build abstract const for monomorphic consts
2021-09-09 01:32:03 +01:00
Ellen
08e8644016
move thir visitor to rustc_middle
2021-09-09 01:32:03 +01:00
Ellen
c170dcf04c
tidy
2021-09-09 01:32:03 +01:00
Ellen
47b16f4ac9
bless stderr
2021-09-09 01:32:03 +01:00
Ellen
4483c2bdf6
dont support blocks
2021-09-09 01:32:03 +01:00
Ellen
9b2913814b
as casts and block exprs
2021-09-09 01:32:03 +01:00
Ellen
2987f4ba42
WIP state
2021-09-09 01:32:03 +01:00
bors
261e34d534
Auto merge of #88615 - flip1995:clippyup, r=Manishearth
...
Update Clippy
r? `@Manishearth`
2021-09-08 23:52:31 +00:00
bors
626649ff1f
Auto merge of #88615 - flip1995:clippyup, r=Manishearth
...
Update Clippy
r? `@Manishearth`
2021-09-08 23:52:31 +00:00
Eric Huss
5eb84b282d
Update cargo
2021-09-08 16:00:30 -07:00
bors
97032a6dfa
Auto merge of #80522 - cjgillot:borrowcrate, r=oli-obk
...
Split rustc_mir
The `rustc_mir` crate is the second largest in the compiler.
This PR splits it up into 5 crates:
- rustc_borrowck;
- rustc_const_eval;
- rustc_mir_dataflow;
- rustc_mir_transform;
- rustc_monomorphize.
2021-09-08 20:42:42 +00:00
Cameron Steffen
9e08e7f631
Remove special dogfood target
2021-09-08 14:07:03 -05:00
Cameron Steffen
5250744abc
Remove target dir from aliases
2021-09-08 14:07:03 -05:00
Cameron Steffen
1074bad06d
Rename test_build_base to test
2021-09-08 14:07:03 -05:00
Cameron Steffen
ecaf7acd4f
Use relative path for test builds
2021-09-08 14:07:03 -05:00
Cameron Steffen
e3b171dcf0
Use relative exe paths
2021-09-08 14:07:03 -05:00
Cameron Steffen
2e15c8054d
Make host libs -L flag optional
2021-09-08 14:07:03 -05:00
Cameron Steffen
cea46dd9fe
Use relative deps path
2021-09-08 14:07:03 -05:00
Cameron Steffen
7f1c2c0e53
Add target to cargo config
2021-09-08 14:07:03 -05:00
Camille GILLOT
924dbc36c9
Rebase fallout.
2021-09-08 20:40:30 +02:00
Camille GILLOT
058fddcb77
Update run-make-fulldeps.
2021-09-08 20:40:27 +02:00
bors
47ae8deb8a
Auto merge of #88750 - jackh726:rollup-w57i9fp, r=jackh726
...
Rollup of 9 pull requests
Successful merges:
- #86263 (Rustdoc: Report Layout of enum variants)
- #88541 (Add regression test for #74400 )
- #88553 (Improve diagnostics for unary plus operators (#88276 ))
- #88594 (More symbolic doc aliases)
- #88648 (Correct “copies” to “moves” in `<Option<T> as From<T>>::from` doc, and other copyediting)
- #88691 (Add a regression test for #88649 )
- #88694 (Drop 1.56 stabilizations from 1.55 release notes)
- #88712 (Fix docs for `uX::checked_next_multiple_of`)
- #88726 (Fix typo in `const_generics` replaced with `adt_const_params` note)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
2021-09-08 17:26:17 +00:00
bjorn3
7736e0afb8
Avoid unnecessary duplicate metadata encoding
2021-09-08 18:54:48 +02:00
bjorn3
d7ef0b30e8
Use Lrc instead of Option to avoid duplication of a SearchPath
2021-09-08 18:25:47 +02:00
bjorn3
58000ed0e9
Move get_tools_search_paths from FileSearch to Session
...
It only uses fields of FileSearch that are stored in Session too
2021-09-08 18:25:47 +02:00