Skip to main content

Module user_type_annotations

Module user_type_annotations 

Source
Expand description

Recover the type annotations provided by the user inside a body.

Re-exportsยง

use itertools::Itertools; ๐Ÿ”’
use rustc_hash::FxHashMap as HashMap; ๐Ÿ”’
use rustc_middle::mir; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use super::translate_crate::RustcItem; ๐Ÿ”’
use crate::frontend as front; ๐Ÿ”’
use super::translate_ctx::*; ๐Ÿ”’
use charon_lib::ast::*; ๐Ÿ”’

Structsยง

UserTypeAnnotation ๐Ÿ”’
UserTypeAnnotations ๐Ÿ”’
User-provided type annotations for this MIR body.

Functionsยง

translate_user_annotation ๐Ÿ”’
Translate a user annotation and the outlives obligations needed to validate it.