Add doc comment for rustc_middle::mir::mono::Linkage
This commit is contained in:
parent
99cb9ccb9c
commit
5063297c79
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue