Update compiler/rustc_mir/src/borrow_check/consumers.rs
This commit is contained in:
parent
f13396ed11
commit
e5e6acdd00
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ pub use super::{
|
||||||
/// that shows how to do this at `src/test/run-make/obtain-borrowck/`.
|
/// that shows how to do this at `src/test/run-make/obtain-borrowck/`.
|
||||||
/// * This function will also panic if computation of Polonius facts
|
/// * This function will also panic if computation of Polonius facts
|
||||||
/// (`-Zpolonius` flag) is not enabled.
|
/// (`-Zpolonius` flag) is not enabled.
|
||||||
|
///
|
||||||
|
/// * Polonius is highly unstable, so expect regular changes in its signature or other details.
|
||||||
pub fn get_body_with_borrowck_facts<'tcx>(
|
pub fn get_body_with_borrowck_facts<'tcx>(
|
||||||
tcx: TyCtxt<'tcx>,
|
tcx: TyCtxt<'tcx>,
|
||||||
def: ty::WithOptConstParam<LocalDefId>,
|
def: ty::WithOptConstParam<LocalDefId>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue