Extra assertions in eval_body_using_ecx to disallow queries for
functions that does allocations
This commit is contained in:
parent
7cb74ed191
commit
de1cd4b36d
2 changed files with 7 additions and 1 deletions
|
@ -132,7 +132,6 @@ pub use self::pointer::{Pointer, PointerArithmetic};
|
|||
/// Uniquely identifies one of the following:
|
||||
/// - A constant
|
||||
/// - A static
|
||||
/// - A const fn where all arguments (if any) are zero-sized types
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, TyEncodable, TyDecodable)]
|
||||
#[derive(HashStable, Lift)]
|
||||
pub struct GlobalId<'tcx> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue