1
Fork 0
rust/compiler/rustc_mir/src
bors bcd696d722 Auto merge of #84401 - crlf0710:impl_main_by_path, r=petrochenkov
Implement RFC 1260 with feature_name `imported_main`.

This is the second extraction part of #84062 plus additional adjustments.
This (mostly) implements RFC 1260.

However there's still one test case failure in the extern crate case. Maybe `LocalDefId` doesn't work here? I'm not sure.

cc https://github.com/rust-lang/rust/issues/28937
r? `@petrochenkov`
2021-04-30 06:59:37 +00:00
..
borrow_check Remove extra word in rustc_mir docs 2021-04-28 09:53:32 -07:00
const_eval remove now-unused 'is_min_const_fn' 2021-04-25 12:54:34 +02:00
dataflow fix few typos 2021-04-19 15:57:08 +03:00
interpret fix few typos 2021-04-19 15:57:08 +03:00
monomorphize Implement RFC 1260 with feature_name imported_main. 2021-04-29 08:35:08 +08:00
transform don't let const_fn feature flag affect impl-block-level trait bounds 2021-04-29 09:27:45 +02:00
util fix few typos 2021-04-19 15:57:08 +03:00
lib.rs fix feature use in rustc libs 2021-04-18 22:05:45 +02:00
shim.rs Prepare mir::Constant for ty::Const only supporting valtrees 2021-03-12 12:43:54 +00:00