Co-Authored-By: Oliver Scherer <github35764891676564198441@oli-obk.de>
This commit is contained in:
Ralf Jung 2020-04-29 14:04:40 +02:00
parent d3b2e1fb9e
commit a06740cbea

View File

@ -300,7 +300,7 @@ pub enum InternKind {
/// Intern `ret` and everything it references.
///
/// This *cannot raise an interpreter error*. Doing so is left to validation, which
/// trakcs where in the value we are and thus can show much better error messages.
/// tracks where in the value we are and thus can show much better error messages.
/// Any errors here would anyway be turned into `const_err` lints, whereas validation failures
/// are hard errors.
pub fn intern_const_alloc_recursive<M: CompileTimeMachine<'mir, 'tcx>>(