Skip to content

Commit

Permalink
Rollup merge of rust-lang#72138 - wesleywiser:add_doc_comment, r=matt…
Browse files Browse the repository at this point in the history
…hewjasper

Add doc comment for `rustc_middle::mir::mono::Linkage`
  • Loading branch information
Dylan-DPC authored May 13, 2020
2 parents acf40bd + 5063297 commit d9a2011
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustc_middle/mir/mono.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d9a2011

Please sign in to comment.