Add doc comment for rustc_middle::mir::mono::Linkage

This commit is contained in:
Wesley Wiser 2020-05-12 08:11:58 -04:00
parent 99cb9ccb9c
commit 5063297c79

View file

@ -239,6 +239,9 @@ pub struct CodegenUnit<'tcx> {
size_estimate: Option<usize>,
}
/// Specifies the linkage type for a `MonoItem`.
///
/// See https://llvm.org/docs/LangRef.html#linkage-types for more details about these variants.
#[derive(Copy, Clone, PartialEq, Debug, RustcEncodable, RustcDecodable, HashStable)]
pub enum Linkage {
External,