1
Fork 0

a few mode feedback fixes per @bjorn3

This commit is contained in:
Yuri Astrakhan 2022-03-30 17:28:19 -04:00
parent a6dd658254
commit 8d7b124c1f
3 changed files with 3 additions and 3 deletions

View file

@ -284,7 +284,7 @@ static_assert_size!(TyKind<'_>, 32);
/// - 'l0...'li and T0...Tj are the generic parameters /// - 'l0...'li and T0...Tj are the generic parameters
/// in scope on the function that defined the closure, /// in scope on the function that defined the closure,
/// - CK represents the *closure kind* (Fn vs FnMut vs FnOnce). This /// - CK represents the *closure kind* (Fn vs FnMut vs FnOnce). This
/// is rather hacky encoded via a scalar type. See /// is rather hackily encoded via a scalar type. See
/// `Ty::to_opt_closure_kind` for details. /// `Ty::to_opt_closure_kind` for details.
/// - CS represents the *closure signature*, representing as a `fn()` /// - CS represents the *closure signature*, representing as a `fn()`
/// type. For example, `fn(u32, u32) -> u32` would mean that the closure /// type. For example, `fn(u32, u32) -> u32` would mean that the closure

View file

@ -72,7 +72,7 @@ struct ArmIdentityInfo<'tcx> {
/// (StorageLive index,, StorageDead index, Local) /// (StorageLive index,, StorageDead index, Local)
storage_stmts: Vec<(usize, usize, Local)>, storage_stmts: Vec<(usize, usize, Local)>,
/// The statements that should be removed (turned into noops) /// The statements that should be removed (turned into nops)
stmts_to_remove: Vec<usize>, stmts_to_remove: Vec<usize>,
/// Indices of debug variables that need to be adjusted to point to /// Indices of debug variables that need to be adjusted to point to

View file

@ -1255,7 +1255,7 @@ pub struct TargetOptions {
/// handling COFF object files with more than 2<sup>15</sup> sections. Since each weak /// handling COFF object files with more than 2<sup>15</sup> sections. Since each weak
/// symbol needs its own COMDAT section, weak linkage implies a large /// symbol needs its own COMDAT section, weak linkage implies a large
/// number sections that easily exceeds the given limit for larger /// number sections that easily exceeds the given limit for larger
/// codebase. Consequently we want a way to disallow weak linkage on some /// codebases. Consequently we want a way to disallow weak linkage on some
/// platforms. /// platforms.
pub allows_weak_linkage: bool, pub allows_weak_linkage: bool,
/// Whether the linker support rpaths or not. Defaults to false. /// Whether the linker support rpaths or not. Defaults to false.