rust/compiler/rustc_session/src
bors ce3f3a5ffa Auto merge of #90329 - nbdd0121:typeck, r=nagisa
Try all stable method candidates first before trying unstable ones

Currently we try methods in this order in each step:
* Stable by value
* Unstable by value
* Stable autoref
* Unstable autoref
* ...

This PR changes it to first try pick methods without any unstable candidates, and if none is found, try again to pick unstable ones.

Fix #90320
CC #88971, hopefully would allow us to rename the "unstable_*" methods for integer impls back.

`@rustbot` label T-compiler T-libs-api
2021-11-19 03:00:46 +00:00
..
cgu_reuse_tracker.rs Make Diagnostic::span_fatal unconditionally raise an error 2021-05-08 23:12:04 -04:00
code_stats.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
config.rs Rollup merge of #90386 - pierwill:assert-incr-state-85864, r=Aaron1011 2021-11-19 02:22:54 +09:00
cstore.rs Access Session while decoding expn_id. 2021-10-06 19:06:20 +02:00
filesearch.rs Move get_tools_search_paths from FileSearch to Session 2021-09-08 18:25:47 +02:00
lib.rs Revert "Add rustc lint, warning when iterating over hashmaps" 2021-10-28 11:01:42 -04:00
options.rs Auto merge of #90329 - nbdd0121:typeck, r=nagisa 2021-11-19 03:00:46 +00:00
output.rs Use command line metadata path if provided 2021-05-28 22:24:24 -07:00
parse.rs Report fatal lexer errors in --cfg command line arguments 2021-10-02 19:15:55 +02:00
search_paths.rs Doc comments 2021-09-08 18:25:46 +02:00
session.rs Don't proceed to codegen if there are lint errors 2021-11-08 01:22:28 +00:00
utils.rs Implement RFC 2951: Native link modifiers 2021-05-05 16:04:25 -07:00