review
This commit is contained in:
parent
ef6100e846
commit
c10ad0d888
3 changed files with 15 additions and 13 deletions
|
@ -197,6 +197,10 @@ pub struct Body<'tcx> {
|
|||
/// let _ = [0; std::mem::size_of::<*mut T>()];
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// **WARNING**: Do not change this flags after the MIR was originally created, even if an optimization
|
||||
/// removed the last mention of all generic params. We do not want to rely on optimizations and
|
||||
/// potentially allow things like `[u8; std::mem::size_of::<T>() * 0]` due to this.
|
||||
pub is_polymorphic: bool,
|
||||
|
||||
predecessor_cache: PredecessorCache,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue