SYMBOL INDEX (109324 symbols across 4575 files) FILE: compiler/rustc/build.rs function main (line 5) | fn main() { function set_windows_exe_options (line 17) | fn set_windows_exe_options() { function set_windows_resource (line 22) | fn set_windows_resource() { function set_windows_manifest (line 29) | fn set_windows_manifest() { FILE: compiler/rustc/src/main.rs function main (line 43) | fn main() -> ExitCode { FILE: compiler/rustc_abi/src/callconv.rs type HomogeneousAggregate (line 10) | pub enum HomogeneousAggregate { method unit (line 28) | pub fn unit(self) -> Option { method merge (line 38) | fn merge(self, other: HomogeneousAggregate) -> Result(&self, cx: &C) -> Result(&self, cx: &C) -> Align { FILE: compiler/rustc_abi/src/canon_abi.rs type CanonAbi (line 22) | pub enum CanonAbi { method is_rustic_abi (line 56) | pub fn is_rustic_abi(self) -> bool { method fmt (line 70) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type InterruptKind (line 115) | pub enum InterruptKind { type X86Call (line 130) | pub enum X86Call { type ArmCall (line 145) | pub enum ArmCall { FILE: compiler/rustc_abi/src/extern_abi.rs type ExternAbi (line 20) | pub enum ExternAbi { method hash_stable (line 222) | fn hash_stable(&self, _: &mut C, hasher: &mut StableHasher) { method is_rustic_abi (line 252) | pub fn is_rustic_abi(self) -> bool { method supports_c_variadic (line 261) | pub fn supports_c_variadic(self) -> CVariadicStatus { method supports_guaranteed_tail_call (line 287) | pub fn supports_guaranteed_tail_call(self) -> bool { constant FALLBACK (line 338) | pub const FALLBACK: ExternAbi = ExternAbi::C { unwind: false }; method name (line 340) | pub fn name(self) -> &'static str { method fmt (line 346) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method cmp (line 192) | fn cmp(&self, rhs: &Self) -> Ordering { method partial_cmp (line 198) | fn partial_cmp(&self, rhs: &Self) -> Option { method eq (line 204) | fn eq(&self, rhs: &Self) -> bool { method hash (line 212) | fn hash(&self, state: &mut H) { constant CAN_USE_UNSTABLE_SORT (line 229) | const CAN_USE_UNSTABLE_SORT: bool = true; constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 232) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); type CVariadicStatus (line 239) | pub enum CVariadicStatus { function all_names (line 332) | pub fn all_names() -> Vec<&'static str> { FILE: compiler/rustc_abi/src/extern_abi/tests.rs function lookup_Rust (line 8) | fn lookup_Rust() { function lookup_cdecl (line 14) | fn lookup_cdecl() { function lookup_baz (line 20) | fn lookup_baz() { function guarantee_lexicographic_ordering (line 26) | fn guarantee_lexicographic_ordering() { FILE: compiler/rustc_abi/src/layout.rs constant ONE (line 59) | pub const ONE: FieldIdx = FieldIdx::from_u32(1); function absent (line 88) | fn absent<'a, FieldIdx, VariantIdx, F>(fields: &IndexSlice)... type NicheBias (line 102) | enum NicheBias { type LayoutCalculatorError (line 108) | pub enum LayoutCalculatorError { function without_payload (line 137) | pub fn without_payload(&self) -> LayoutCalculatorError<()> { function fallback_fmt (line 153) | pub fn fallback_fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type LayoutCalculatorResult (line 167) | type LayoutCalculatorResult = type LayoutCalculator (line 171) | pub struct LayoutCalculator { function new (line 176) | pub fn new(cx: Cx) -> Self { function array_like (line 180) | pub fn array_like( function scalable_vector_type (line 203) | pub fn scalable_vector_type( function simd_type (line 216) | pub fn simd_type( function coroutine (line 235) | pub fn coroutine< function univariant (line 259) | pub fn univariant< function layout_of_struct_or_enum (line 334) | pub fn layout_of_struct_or_enum< function layout_of_union (line 390) | pub fn layout_of_union< function layout_of_struct (line 516) | fn layout_of_struct< function layout_of_enum (line 616) | fn layout_of_enum< function univariant_biased (line 1154) | fn univariant_biased< function format_field_niches (line 1495) | fn format_field_niches< type SimdVectorKind (line 1527) | enum SimdVectorKind { function vector_type_layout (line 1536) | fn vector_type_layout( FILE: compiler/rustc_abi/src/layout/coroutine.rs type SavedLocalEligibility (line 35) | enum SavedLocalEligibility { function coroutine_saved_local_eligibility (line 42) | fn coroutine_saved_local_eligibility(cx: &C, sized: bool) -> Self { function never_type (line 32) | pub fn never_type(cx: &C) -> Self { function scalar (line 49) | pub fn scalar(cx: &C, scalar: Scalar) -> Self { function scalar_pair (line 91) | pub fn scalar_pair(cx: &C, a: Scalar, b: Scalar) -> Se... function uninhabited_variant (line 128) | pub fn uninhabited_variant(cx: &C, index: VariantIdx, ... FILE: compiler/rustc_abi/src/layout/ty.rs type Layout (line 17) | pub struct Layout<'a>(pub Interned<'a, LayoutData>); function fmt (line 20) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Target (line 27) | type Target = &'a LayoutData; method deref (line 28) | fn deref(&self) -> &&'a LayoutData { function fields (line 34) | pub fn fields(self) -> &'a FieldsShape { function variants (line 38) | pub fn variants(self) -> &'a Variants { function backend_repr (line 42) | pub fn backend_repr(self) -> BackendRepr { function largest_niche (line 46) | pub fn largest_niche(self) -> Option { function align (line 50) | pub fn align(self) -> AbiAlign { function size (line 54) | pub fn size(self) -> Size { function max_repr_align (line 58) | pub fn max_repr_align(self) -> Option { function unadjusted_abi_align (line 62) | pub fn unadjusted_abi_align(self) -> Align { type TyAndLayout (line 75) | pub struct TyAndLayout<'a, Ty> { function fmt (line 81) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Target (line 91) | type Target = &'a LayoutData; method deref (line 92) | fn deref(&self) -> &&'a LayoutData { function as_ref (line 98) | fn as_ref(&self) -> &LayoutData { type TyAbiInterface (line 105) | pub trait TyAbiInterface<'a, C>: Sized + std::fmt::Debug + std::fmt::Dis... method ty_and_layout_for_variant (line 106) | fn ty_and_layout_for_variant( method ty_and_layout_field (line 111) | fn ty_and_layout_field(this: TyAndLayout<'a, Self>, cx: &C, i: usize) ... method ty_and_layout_pointee_info_at (line 112) | fn ty_and_layout_pointee_info_at( method is_adt (line 117) | fn is_adt(this: TyAndLayout<'a, Self>) -> bool; method is_never (line 118) | fn is_never(this: TyAndLayout<'a, Self>) -> bool; method is_tuple (line 119) | fn is_tuple(this: TyAndLayout<'a, Self>) -> bool; method is_unit (line 120) | fn is_unit(this: TyAndLayout<'a, Self>) -> bool; method is_transparent (line 121) | fn is_transparent(this: TyAndLayout<'a, Self>) -> bool; method is_scalable_vector (line 122) | fn is_scalable_vector(this: TyAndLayout<'a, Self>) -> bool; method is_pass_indirectly_in_non_rustic_abis_flag_set (line 124) | fn is_pass_indirectly_in_non_rustic_abis_flag_set(this: TyAndLayout<'a... function for_variant (line 128) | pub fn for_variant(self, cx: &C, variant_index: VariantIdx) -> Self function field (line 135) | pub fn field(self, cx: &C, i: usize) -> Self function pointee_info_at (line 142) | pub fn pointee_info_at(self, cx: &C, offset: Size) -> Option(self, cx: &C) -> bool function is_single_vector_element (line 169) | pub fn is_single_vector_element(self, cx: &C, expected_size: Size) ->... function is_adt (line 187) | pub fn is_adt(self) -> bool function is_never (line 194) | pub fn is_never(self) -> bool function is_tuple (line 201) | pub fn is_tuple(self) -> bool function is_unit (line 208) | pub fn is_unit(self) -> bool function is_transparent (line 215) | pub fn is_transparent(self) -> bool function is_scalable_vector (line 222) | pub fn is_scalable_vector(self) -> bool function pass_indirectly_in_non_rustic_abis (line 240) | pub fn pass_indirectly_in_non_rustic_abis(self, cx: &C) -> bool function peel_transparent_wrappers (line 252) | pub fn peel_transparent_wrappers(mut self, cx: &C) -> Self function non_1zst_field (line 267) | pub fn non_1zst_field(&self, cx: &C) -> Option<(FieldIdx, Self)> FILE: compiler/rustc_abi/src/lib.rs type HashStableContext (line 74) | pub trait HashStableContext {} type ReprFlags (line 81) | pub struct ReprFlags(u8); method fmt (line 111) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type IntegerType (line 121) | pub enum IntegerType { method is_signed (line 131) | pub fn is_signed(&self) -> bool { type ScalableElt (line 144) | pub enum ScalableElt { type ReprOptions (line 158) | pub struct ReprOptions { method simd (line 177) | pub fn simd(&self) -> bool { method scalable (line 182) | pub fn scalable(&self) -> bool { method c (line 187) | pub fn c(&self) -> bool { method packed (line 192) | pub fn packed(&self) -> bool { method transparent (line 197) | pub fn transparent(&self) -> bool { method linear (line 202) | pub fn linear(&self) -> bool { method discr_type (line 213) | pub fn discr_type(&self) -> IntegerType { method inhibit_enum_layout_opt (line 220) | pub fn inhibit_enum_layout_opt(&self) -> bool { method inhibit_newtype_abi_optimization (line 224) | pub fn inhibit_newtype_abi_optimization(&self) -> bool { method inhibit_struct_field_reordering (line 230) | pub fn inhibit_struct_field_reordering(&self) -> bool { method can_randomize_type_layout (line 236) | pub fn can_randomize_type_layout(&self) -> bool { method inhibits_union_abi_opt (line 241) | pub fn inhibits_union_abi_opt(&self) -> bool { constant MAX_SIMD_LANES (line 251) | pub const MAX_SIMD_LANES: u64 = 1 << 0xF; type PointerSpec (line 255) | pub struct PointerSpec { type TargetDataLayout (line 270) | pub struct TargetDataLayout { method parse_from_llvm_datalayout_string (line 358) | pub fn parse_from_llvm_datalayout_string<'a>( method obj_size_bound (line 574) | pub fn obj_size_bound(&self) -> u64 { method obj_size_bound_in (line 593) | pub fn obj_size_bound_in(&self, address_space: AddressSpace) -> u64 { method ptr_sized_integer (line 603) | pub fn ptr_sized_integer(&self) -> Integer { method ptr_sized_integer_in (line 614) | pub fn ptr_sized_integer_in(&self, address_space: AddressSpace) -> Int... method cabi_vector_align (line 626) | fn cabi_vector_align(&self, vec_size: Size) -> Option { method llvmlike_vector_align (line 635) | pub fn llvmlike_vector_align(&self, vec_size: Size) -> Align { method pointer_size (line 642) | pub fn pointer_size(&self) -> Size { method pointer_size_in (line 648) | pub fn pointer_size_in(&self, c: AddressSpace) -> Size { method pointer_offset (line 662) | pub fn pointer_offset(&self) -> Size { method pointer_offset_in (line 668) | pub fn pointer_offset_in(&self, c: AddressSpace) -> Size { method pointer_align (line 682) | pub fn pointer_align(&self) -> AbiAlign { method pointer_align_in (line 688) | pub fn pointer_align_in(&self, c: AddressSpace) -> AbiAlign { method default (line 308) | fn default() -> TargetDataLayout { type TargetDataLayoutErrors (line 341) | pub enum TargetDataLayoutErrors<'a> { type HasDataLayout (line 699) | pub trait HasDataLayout { method data_layout (line 700) | fn data_layout(&self) -> &TargetDataLayout; method data_layout (line 705) | fn data_layout(&self) -> &TargetDataLayout { method data_layout (line 713) | fn data_layout(&self) -> &TargetDataLayout { type Endian (line 720) | pub enum Endian { method as_str (line 726) | pub fn as_str(&self) -> &'static str { method fmt (line 735) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 741) | type Err = String; method from_str (line 743) | fn from_str(s: &str) -> Result { type Size (line 758) | pub struct Size { method fmt (line 773) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { constant ZERO (line 779) | pub const ZERO: Size = Size { raw: 0 }; method from_bits (line 783) | pub fn from_bits(bits: impl TryInto) -> Size { method from_bytes (line 789) | pub fn from_bytes(bytes: impl TryInto) -> Size { method bytes (line 795) | pub fn bytes(self) -> u64 { method bytes_usize (line 800) | pub fn bytes_usize(self) -> usize { method bits (line 805) | pub fn bits(self) -> u64 { method bits_usize (line 815) | pub fn bits_usize(self) -> usize { method align_to (line 820) | pub fn align_to(self, align: Align) -> Size { method is_aligned (line 826) | pub fn is_aligned(self, align: Align) -> bool { method checked_add (line 832) | pub fn checked_add(self, offset: Size, cx: &C) -> Op... method checked_mul (line 841) | pub fn checked_mul(self, count: u64, cx: &C) -> Opti... method sign_extend (line 851) | pub fn sign_extend(self, value: u128) -> i128 { method truncate (line 866) | pub fn truncate(self, value: u128) -> u128 { method signed_int_min (line 878) | pub fn signed_int_min(&self) -> i128 { method signed_int_max (line 883) | pub fn signed_int_max(&self) -> i128 { method unsigned_int_max (line 888) | pub fn unsigned_int_max(&self) -> u128 { type Output (line 925) | type Output = Size; method mul (line 927) | fn mul(self, count: u64) -> Size { constant CAN_USE_UNSTABLE_SORT (line 764) | const CAN_USE_UNSTABLE_SORT: bool = true; constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 768) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); type Output (line 897) | type Output = Size; method add (line 899) | fn add(self, other: Size) -> Size { type Output (line 907) | type Output = Size; method sub (line 909) | fn sub(self, other: Size) -> Size { type Output (line 917) | type Output = Size; function mul (line 919) | fn mul(self, size: Size) -> Size { method add_assign (line 937) | fn add_assign(&mut self, other: Size) { method steps_between (line 945) | fn steps_between(start: &Self, end: &Self) -> (usize, Option) { method forward_checked (line 950) | fn forward_checked(start: Self, count: usize) -> Option { method forward (line 955) | fn forward(start: Self, count: usize) -> Self { method forward_unchecked (line 960) | unsafe fn forward_unchecked(start: Self, count: usize) -> Self { method backward_checked (line 965) | fn backward_checked(start: Self, count: usize) -> Option { method backward (line 970) | fn backward(start: Self, count: usize) -> Self { method backward_unchecked (line 975) | unsafe fn backward_unchecked(start: Self, count: usize) -> Self { type Align (line 986) | pub struct Align { method fmt (line 992) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { constant ONE (line 1019) | pub const ONE: Align = Align { pow2: 0 }; constant EIGHT (line 1020) | pub const EIGHT: Align = Align { pow2: 3 }; constant MAX (line 1022) | pub const MAX: Align = Align { pow2: 29 }; method max_for_target (line 1026) | pub fn max_for_target(tdl: &TargetDataLayout) -> Align { method from_bits (line 1038) | pub fn from_bits(bits: u64) -> Result { method from_bytes (line 1043) | pub const fn from_bytes(align: u64) -> Result u64 { method bytes_usize (line 1078) | pub fn bytes_usize(self) -> usize { method bits (line 1083) | pub const fn bits(self) -> u64 { method bits_usize (line 1088) | pub fn bits_usize(self) -> usize { method max_aligned_factor (line 1097) | pub fn max_aligned_factor(size: Size) -> Align { method restrict_for_offset (line 1103) | pub fn restrict_for_offset(self, size: Size) -> Align { type AlignFromBytesError (line 998) | pub enum AlignFromBytesError { method fmt (line 1004) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 1010) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type AbiAlign (line 1119) | pub struct AbiAlign { method new (line 1125) | pub fn new(align: Align) -> AbiAlign { method min (line 1130) | pub fn min(self, other: AbiAlign) -> AbiAlign { method max (line 1135) | pub fn max(self, other: AbiAlign) -> AbiAlign { type Target (line 1141) | type Target = Align; method deref (line 1143) | fn deref(&self) -> &Self::Target { type Integer (line 1154) | pub enum Integer { method int_ty_str (line 1163) | pub fn int_ty_str(self) -> &'static str { method uint_ty_str (line 1174) | pub fn uint_ty_str(self) -> &'static str { method size (line 1186) | pub fn size(self) -> Size { method from_attr (line 1198) | pub fn from_attr(cx: &C, ity: IntegerType) -> Integer { method align (line 1207) | pub fn align(self, cx: &C) -> AbiAlign { method signed_max (line 1222) | pub fn signed_max(self) -> i128 { method signed_min (line 1235) | pub fn signed_min(self) -> i128 { method fit_signed (line 1248) | pub fn fit_signed(x: i128) -> Integer { method fit_unsigned (line 1261) | pub fn fit_unsigned(x: u128) -> Integer { method for_align (line 1273) | pub fn for_align(cx: &C, wanted: Align) -> Option(cx: &C, wanted: Align) -> I... method from_size (line 1299) | pub fn from_size(size: Size) -> Result { type Float (line 1314) | pub enum Float { method size (line 1322) | pub fn size(self) -> Size { method align (line 1333) | pub fn align(self, cx: &C) -> AbiAlign { type Primitive (line 1349) | pub enum Primitive { method size (line 1363) | pub fn size(self, cx: &C) -> Size { method align (line 1374) | pub fn align(self, cx: &C) -> AbiAlign { type WrappingRange (line 1397) | pub struct WrappingRange { method full (line 1403) | pub fn full(size: Size) -> Self { method contains (line 1409) | pub fn contains(&self, v: u128) -> bool { method contains_range (line 1420) | pub fn contains_range(&self, other: Self, size: Size) -> bool { method with_start (line 1441) | fn with_start(mut self, start: u128) -> Self { method with_end (line 1448) | fn with_end(mut self, end: u128) -> Self { method is_full_for (line 1459) | fn is_full_for(&self, size: Size) -> bool { method no_unsigned_wraparound (line 1471) | pub fn no_unsigned_wraparound(&self, size: Size) -> Result Result) -> fmt::Result { type Scalar (line 1509) | pub enum Scalar { method is_bool (line 1530) | pub fn is_bool(&self) -> bool { method primitive (line 1543) | pub fn primitive(&self) -> Primitive { method align (line 1549) | pub fn align(self, cx: &impl HasDataLayout) -> AbiAlign { method size (line 1553) | pub fn size(self, cx: &impl HasDataLayout) -> Size { method to_union (line 1558) | pub fn to_union(&self) -> Self { method valid_range (line 1563) | pub fn valid_range(&self, cx: &impl HasDataLayout) -> WrappingRange { method valid_range_mut (line 1573) | pub fn valid_range_mut(&mut self) -> &mut WrappingRange { method is_always_valid (line 1583) | pub fn is_always_valid(&self, cx: &C) -> bool { method is_uninit_valid (line 1592) | pub fn is_uninit_valid(&self) -> bool { method is_signed (line 1601) | pub fn is_signed(&self) -> bool { type FieldsShape (line 1613) | pub enum FieldsShape { function count (line 1650) | pub fn count(&self) -> usize { function offset (line 1660) | pub fn offset(&self, i: usize) -> Size { function index_by_increasing_offset (line 1680) | pub fn index_by_increasing_offset(&self) -> impl ExactSizeIterator bool { method is_sized (line 1754) | pub fn is_sized(&self) -> bool { method is_signed (line 1761) | pub fn is_signed(&self) -> bool { method is_scalar (line 1770) | pub fn is_scalar(&self) -> bool { method is_bool (line 1776) | pub fn is_bool(&self) -> bool { method scalar_align (line 1783) | pub fn scalar_align(&self, cx: &C) -> Option { method scalar_size (line 1797) | pub fn scalar_size(&self, cx: &C) -> Option { method to_union (line 1819) | pub fn to_union(&self) -> Self { method eq_up_to_validity (line 1835) | pub fn eq_up_to_validity(&self, other: &Self) -> bool { type Variants (line 1856) | pub enum Variants { type TagEncoding (line 1883) | pub enum TagEncoding { type Niche (line 1924) | pub struct Niche { method from_scalar (line 1931) | pub fn from_scalar(cx: &C, offset: Size, scalar: Sca... method available (line 1937) | pub fn available(&self, cx: &C) -> u128 { method reserve (line 1948) | pub fn reserve(&self, cx: &C, count: u128) -> Option... type LayoutData (line 2011) | pub struct LayoutData { function is_aggregate (line 2070) | pub fn is_aggregate(&self) -> bool { function is_uninhabited (line 2080) | pub fn is_uninhabited(&self) -> bool { function fmt (line 2090) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type PointerKind (line 2122) | pub enum PointerKind { type PointeeInfo (line 2138) | pub struct PointeeInfo { function is_unsized (line 2155) | pub fn is_unsized(&self) -> bool { function is_sized (line 2160) | pub fn is_sized(&self) -> bool { function is_1zst (line 2165) | pub fn is_1zst(&self) -> bool { function is_runtime_sized (line 2170) | pub fn is_runtime_sized(&self) -> bool { function scalable_vector_element_count (line 2175) | pub fn scalable_vector_element_count(&self) -> Option { function is_zst (line 2186) | pub fn is_zst(&self) -> bool { function eq_abi (line 2201) | pub fn eq_abi(&self, other: &Self) -> bool { type StructKind (line 2216) | pub enum StructKind { type AbiFromStrErr (line 2226) | pub enum AbiFromStrErr { FILE: compiler/rustc_abi/src/tests.rs function align_constants (line 4) | fn align_constants() { function wrapping_range_contains_range (line 10) | fn wrapping_range_contains_range() { FILE: compiler/rustc_arena/src/lib.rs function outline (line 35) | fn outline R, R>(f: F) -> R { type ArenaChunk (line 39) | struct ArenaChunk { method drop (line 47) | fn drop(&mut self) { function new (line 54) | unsafe fn new(capacity: usize) -> ArenaChunk { function destroy (line 67) | unsafe fn destroy(&mut self, len: usize) { function start (line 82) | fn start(&mut self) -> *mut T { function end (line 88) | fn end(&mut self) -> *mut T { constant PAGE (line 105) | const PAGE: usize = 4096; constant HUGE_PAGE (line 106) | const HUGE_PAGE: usize = 2 * 1024 * 1024; type TypedArena (line 109) | pub struct TypedArena { method default (line 127) | fn default() -> TypedArena { function alloc (line 142) | pub fn alloc(&self, object: T) -> &mut T { function can_allocate (line 166) | fn can_allocate(&self, additional: usize) -> bool { function alloc_raw_slice (line 189) | unsafe fn alloc_raw_slice(&self, len: usize) -> *mut T { function alloc_from_iter (line 211) | pub fn alloc_from_iter>(&self, iter: I) -> &mu... function try_alloc_from_iter (line 220) | pub fn try_alloc_from_iter( function grow (line 262) | fn grow(&self, additional: usize) { function clear_last_chunk (line 299) | fn clear_last_chunk(&self, last_chunk: &mut ArenaChunk) { method drop (line 326) | fn drop(&mut self) { function align_down (line 346) | fn align_down(val: usize, align: usize) -> usize { function align_up (line 352) | fn align_up(val: usize, align: usize) -> usize { constant DROPLESS_ALIGNMENT (line 359) | const DROPLESS_ALIGNMENT: usize = align_of::(); type DroplessArena (line 363) | pub struct DroplessArena { method grow (line 399) | fn grow(&self, layout: Layout) { method alloc_raw (line 439) | pub fn alloc_raw(&self, layout: Layout) -> *mut u8 { method alloc (line 475) | pub fn alloc(&self, object: T) -> &mut T { method alloc_slice (line 496) | pub fn alloc_slice(&self, slice: &[T]) -> &mut [T] method alloc_str (line 519) | pub fn alloc_str(&self, string: &str) -> &str { method write_from_iter (line 532) | unsafe fn write_from_iter>( method alloc_from_iter (line 559) | pub fn alloc_from_iter>(&self, iter: I) -... method try_alloc_from_iter (line 589) | pub fn try_alloc_from_iter( method default (line 385) | fn default() -> DroplessArena { type Arena (line 630) | pub struct Arena<'tcx> { type ArenaAllocatable (line 635) | pub trait ArenaAllocatable<'tcx, C = rustc_arena::IsNotCopy>: Sized { method allocate_on (line 637) | fn allocate_on(self, arena: &'tcx Arena<'tcx>) -> &'tcx mut Self; method allocate_from_iter (line 639) | fn allocate_from_iter( method allocate_on (line 649) | fn allocate_on(self, arena: &'tcx Arena<'tcx>) -> &'tcx mut Self { method allocate_from_iter (line 654) | fn allocate_from_iter( function allocate_on (line 664) | fn allocate_on(self, arena: &'tcx Arena<'tcx>) -> &'tcx mut Self { function allocate_from_iter (line 674) | fn allocate_from_iter( function alloc (line 690) | pub fn alloc, C>(&'tcx self, value: T) -> &... function alloc_slice (line 697) | pub fn alloc_slice(&self, value: &[T]) -> &mut [... function alloc_str (line 705) | pub fn alloc_str(&self, string: &str) -> &str { function alloc_from_iter (line 713) | pub fn alloc_from_iter, C>( type IsNotCopy (line 725) | pub struct IsNotCopy; FILE: compiler/rustc_arena/src/tests.rs type Point (line 10) | struct Point { function clear (line 18) | fn clear(&mut self) { function test_unused (line 35) | fn test_unused() { function test_arena_alloc_nested (line 41) | fn test_arena_alloc_nested() { function test_copy (line 78) | fn test_copy() { function bench_copy (line 90) | fn bench_copy(b: &mut Bencher) { function bench_copy_nonarena (line 96) | fn bench_copy_nonarena(b: &mut Bencher) { type Noncopy (line 103) | struct Noncopy { function test_noncopy (line 109) | fn test_noncopy() { function test_typed_arena_zero_sized (line 121) | fn test_typed_arena_zero_sized() { function test_typed_arena_clear (line 133) | fn test_typed_arena_clear() { function bench_typed_arena_clear (line 148) | fn bench_typed_arena_clear(b: &mut Bencher) { function bench_typed_arena_clear_100 (line 157) | fn bench_typed_arena_clear_100(b: &mut Bencher) { type DropCounter (line 169) | struct DropCounter<'a> { method drop (line 174) | fn drop(&mut self) { function test_typed_arena_drop_count (line 180) | fn test_typed_arena_drop_count() { function test_typed_arena_drop_on_clear (line 193) | fn test_typed_arena_drop_on_clear() { type SmallDroppable (line 210) | struct SmallDroppable; method drop (line 213) | fn drop(&mut self) { function test_typed_arena_drop_small_count (line 219) | fn test_typed_arena_drop_small_count() { function bench_noncopy (line 233) | fn bench_noncopy(b: &mut Bencher) { function bench_noncopy_nonarena (line 241) | fn bench_noncopy_nonarena(b: &mut Bencher) { FILE: compiler/rustc_ast/src/ast.rs type Label (line 56) | pub struct Label { method fmt (line 61) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Lifetime (line 69) | pub struct Lifetime { method fmt (line 75) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 81) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Path (line 93) | pub struct Path { method eq (line 104) | fn eq(&self, name: &Symbol) -> bool { method eq (line 118) | fn eq(&self, names: &&[Symbol]) -> bool { method hash_stable (line 124) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { method from_ident (line 135) | pub fn from_ident(ident: Ident) -> Path { method is_global (line 139) | pub fn is_global(&self) -> bool { method is_potential_trivial_const_arg (line 149) | pub fn is_potential_trivial_const_arg(&self) -> bool { function join_path_syms (line 165) | pub fn join_path_syms(path: impl IntoIterator... function join_path_idents (line 189) | pub fn join_path_idents(path: impl IntoIterator bool { method from_ident (line 235) | pub fn from_ident(ident: Ident) -> Self { method path_root (line 239) | pub fn path_root(span: Span) -> Self { method span (line 243) | pub fn span(&self) -> Span { type GenericArgs (line 255) | pub enum GenericArgs { method is_angle_bracketed (line 265) | pub fn is_angle_bracketed(&self) -> bool { method span (line 269) | pub fn span(&self) -> Span { type GenericArg (line 280) | pub enum GenericArg { method span (line 290) | pub fn span(&self) -> Span { type AngleBracketedArgs (line 301) | pub struct AngleBracketedArgs { type AngleBracketedArg (line 310) | pub enum AngleBracketedArg { method span (line 318) | pub fn span(&self) -> Span { function from (line 327) | fn from(val: AngleBracketedArgs) -> Self { function from (line 333) | fn from(val: ParenthesizedArgs) -> Self { type ParenthesizedArgs (line 340) | pub struct ParenthesizedArgs { method as_angle_bracketed_args (line 361) | pub fn as_angle_bracketed_args(&self) -> AngleBracketedArgs { type TraitBoundModifiers (line 376) | pub struct TraitBoundModifiers { constant NONE (line 383) | pub const NONE: Self = Self { type GenericBound (line 391) | pub enum GenericBound { method span (line 399) | pub fn span(&self) -> Span { type GenericBounds (line 408) | pub type GenericBounds = Vec; type ParamKindOrd (line 414) | pub enum ParamKindOrd { method fmt (line 420) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type GenericParamKind (line 429) | pub enum GenericParamKind { type GenericParam (line 445) | pub struct GenericParam { method span (line 457) | pub fn span(&self) -> Span { type Generics (line 471) | pub struct Generics { type WhereClause (line 479) | pub struct WhereClause { method is_empty (line 490) | pub fn is_empty(&self) -> bool { type WherePredicate (line 497) | pub struct WherePredicate { type WherePredicateKind (line 507) | pub enum WherePredicateKind { type WhereBoundPredicate (line 520) | pub struct WhereBoundPredicate { type WhereRegionPredicate (line 534) | pub struct WhereRegionPredicate { type WhereEqPredicate (line 545) | pub struct WhereEqPredicate { type Crate (line 551) | pub struct Crate { type MetaItem (line 568) | pub struct MetaItem { type MetaItemKind (line 577) | pub enum MetaItemKind { type MetaItemInner (line 598) | pub enum MetaItemInner { type Block (line 612) | pub struct Block { type Pat (line 626) | pub struct Pat { method to_ty (line 636) | pub fn to_ty(&self) -> Option> { method walk (line 672) | pub fn walk<'ast>(&'ast self, it: &mut impl FnMut(&'ast Pat) -> bool) { method peel_refs (line 712) | pub fn peel_refs(&self) -> &Pat { method is_rest (line 721) | pub fn is_rest(&self) -> bool { method could_be_never_pattern (line 727) | pub fn could_be_never_pattern(&self) -> bool { method contains_never_pattern (line 745) | pub fn contains_never_pattern(&self) -> bool { method descr (line 757) | pub fn descr(&self) -> Option { method from (line 771) | fn from(value: Box) -> Self { type PatField (line 782) | pub struct PatField { type ByRef (line 796) | pub enum ByRef { method cap_ref_mutability (line 803) | pub fn cap_ref_mutability(mut self, mutbl: Mutability) -> Self { type BindingMode (line 818) | pub struct BindingMode(pub ByRef, pub Mutability); constant NONE (line 821) | pub const NONE: Self = Self(ByRef::No, Mutability::Not); constant REF (line 822) | pub const REF: Self = Self(ByRef::Yes(Pinnedness::Not, Mutability::Not... constant REF_PIN (line 823) | pub const REF_PIN: Self = constant MUT (line 825) | pub const MUT: Self = Self(ByRef::No, Mutability::Mut); constant REF_MUT (line 826) | pub const REF_MUT: Self = Self(ByRef::Yes(Pinnedness::Not, Mutability:... constant REF_PIN_MUT (line 827) | pub const REF_PIN_MUT: Self = constant MUT_REF (line 829) | pub const MUT_REF: Self = Self(ByRef::Yes(Pinnedness::Not, Mutability:... constant MUT_REF_PIN (line 830) | pub const MUT_REF_PIN: Self = constant MUT_REF_MUT (line 832) | pub const MUT_REF_MUT: Self = constant MUT_REF_PIN_MUT (line 834) | pub const MUT_REF_PIN_MUT: Self = method prefix_str (line 837) | pub fn prefix_str(self) -> &'static str { type RangeEnd (line 854) | pub enum RangeEnd { type RangeSyntax (line 862) | pub enum RangeSyntax { type PatKind (line 873) | pub enum PatKind { type PatFieldsRest (line 955) | pub enum PatFieldsRest { type BorrowKind (line 968) | pub enum BorrowKind { type BinOpKind (line 984) | pub enum BinOpKind { method as_str (line 1024) | pub fn as_str(&self) -> &'static str { method is_lazy (line 1048) | pub fn is_lazy(&self) -> bool { method precedence (line 1052) | pub fn precedence(&self) -> ExprPrecedence { method fixity (line 1067) | pub fn fixity(&self) -> Fixity { method is_comparison (line 1077) | pub fn is_comparison(self) -> bool { method is_by_value (line 1086) | pub fn is_by_value(self) -> bool { method from (line 1097) | fn from(op: AssignOpKind) -> BinOpKind { type BinOp (line 1091) | pub type BinOp = Spanned; type AssignOpKind (line 1114) | pub enum AssignOpKind { method as_str (line 1138) | pub fn as_str(&self) -> &'static str { method is_by_value (line 1155) | pub fn is_by_value(self) -> bool { type AssignOp (line 1160) | pub type AssignOp = Spanned; type UnOp (line 1166) | pub enum UnOp { method as_str (line 1176) | pub fn as_str(&self) -> &'static str { method is_by_value (line 1185) | pub fn is_by_value(self) -> bool { type Stmt (line 1194) | pub struct Stmt { method has_trailing_semicolon (line 1201) | pub fn has_trailing_semicolon(&self) -> bool { method add_trailing_semicolon (line 1216) | pub fn add_trailing_semicolon(mut self) -> Self { method is_item (line 1229) | pub fn is_item(&self) -> bool { method is_expr (line 1233) | pub fn is_expr(&self) -> bool { type StmtKind (line 1240) | pub enum StmtKind { method descr (line 1256) | pub fn descr(&self) -> &'static str { type MacCallStmt (line 1269) | pub struct MacCallStmt { type MacStmtStyle (line 1277) | pub enum MacStmtStyle { type Local (line 1291) | pub struct Local { type LocalKind (line 1304) | pub enum LocalKind { method init (line 1317) | pub fn init(&self) -> Option<&Expr> { method init_else_opt (line 1324) | pub fn init_else_opt(&self) -> Option<(&Expr, Option<&Block>)> { type Arm (line 1344) | pub struct Arm { type ExprField (line 1359) | pub struct ExprField { type BlockCheckMode (line 1370) | pub enum BlockCheckMode { type UnsafeSource (line 1376) | pub enum UnsafeSource { type MgcaDisambiguation (line 1385) | pub enum MgcaDisambiguation { type AnonConst (line 1396) | pub struct AnonConst { type Expr (line 1404) | pub struct Expr { method is_potential_trivial_const_arg (line 1424) | pub fn is_potential_trivial_const_arg(&self) -> bool { method maybe_unwrap_block (line 1436) | pub fn maybe_unwrap_block(&self) -> &Expr { method optionally_braced_mac_call (line 1452) | pub fn optionally_braced_mac_call( method to_bound (line 1474) | pub fn to_bound(&self) -> Option { method peel_parens (line 1487) | pub fn peel_parens(&self) -> &Expr { method peel_parens_and_refs (line 1495) | pub fn peel_parens_and_refs(&self) -> &Expr { method to_ty (line 1505) | pub fn to_ty(&self) -> Option> { method precedence (line 1549) | pub fn precedence(&self) -> ExprPrecedence { method is_approximately_pattern (line 1639) | pub fn is_approximately_pattern(&self) -> bool { method dummy (line 1656) | pub fn dummy() -> Expr { method from (line 1668) | fn from(value: Box) -> Self { type Closure (line 1674) | pub struct Closure { type RangeLimits (line 1690) | pub enum RangeLimits { method as_str (line 1698) | pub fn as_str(&self) -> &'static str { type MethodCall (line 1708) | pub struct MethodCall { type StructRest (line 1721) | pub enum StructRest { type StructExpr (line 1737) | pub struct StructExpr { type ExprKind (line 1746) | pub enum ExprKind { type ForLoopKind (line 1933) | pub enum ForLoopKind { type GenBlockKind (line 1940) | pub enum GenBlockKind { method fmt (line 1947) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method modifier (line 1953) | pub fn modifier(&self) -> &'static str { type UnsafeBinderCastKind (line 1965) | pub enum UnsafeBinderCastKind { type QSelf (line 1987) | pub struct QSelf { type CaptureBy (line 1999) | pub enum CaptureBy { type ClosureBinder (line 2020) | pub enum ClosureBinder { type MacCall (line 2046) | pub struct MacCall { method span (line 2052) | pub fn span(&self) -> Span { type AttrArgs (line 2059) | pub enum AttrArgs { method span (line 2073) | pub fn span(&self) -> Option { method inner_tokens (line 2083) | pub fn inner_tokens(&self) -> TokenStream { type DelimArgs (line 2094) | pub struct DelimArgs { method need_semicolon (line 2103) | pub fn need_semicolon(&self) -> bool { type MacroDef (line 2110) | pub struct MacroDef { type EiiDecl (line 2124) | pub struct EiiDecl { type StrStyle (line 2132) | pub enum StrStyle { type MatchKind (line 2143) | pub enum MatchKind { type YieldKind (line 2152) | pub enum YieldKind { method expr (line 2163) | pub const fn expr(&self) -> Option<&Box> { method expr_mut (line 2171) | pub const fn expr_mut(&mut self) -> Option<&mut Box> { method same_kind (line 2179) | pub const fn same_kind(&self, other: &Self) -> bool { type MetaItemLit (line 2190) | pub struct MetaItemLit { type StrLit (line 2203) | pub struct StrLit { method as_token_lit (line 2215) | pub fn as_token_lit(&self) -> token::Lit { type LitIntType (line 2227) | pub enum LitIntType { type LitFloatType (line 2239) | pub enum LitFloatType { type LitKind (line 2253) | pub enum LitKind { method str (line 2281) | pub fn str(&self) -> Option { method is_str (line 2289) | pub fn is_str(&self) -> bool { method is_bytestr (line 2294) | pub fn is_bytestr(&self) -> bool { method is_numeric (line 2299) | pub fn is_numeric(&self) -> bool { method is_unsuffixed (line 2305) | pub fn is_unsuffixed(&self) -> bool { method is_suffixed (line 2310) | pub fn is_suffixed(&self) -> bool { type MutTy (line 2332) | pub struct MutTy { type FnSig (line 2340) | pub struct FnSig { method header_span (line 2348) | pub fn header_span(&self) -> Span { method safety_span (line 2373) | pub fn safety_span(&self) -> Span { method extern_span (line 2389) | pub fn extern_span(&self) -> Span { type AssocItemConstraint (line 2405) | pub struct AssocItemConstraint { type Term (line 2414) | pub enum Term { method from (line 2420) | fn from(v: Box) -> Self { method from (line 2426) | fn from(v: AnonConst) -> Self { type AssocItemConstraintKind (line 2433) | pub enum AssocItemConstraintKind { type Ty (line 2449) | pub struct Ty { method from (line 2468) | fn from(value: Box) -> Self { method peel_refs (line 2474) | pub fn peel_refs(&self) -> &Self { method is_maybe_parenthesised_infer (line 2483) | pub fn is_maybe_parenthesised_infer(&self) -> bool { method clone (line 2457) | fn clone(&self) -> Self { type FnPtrTy (line 2493) | pub struct FnPtrTy { type UnsafeBinderTy (line 2504) | pub struct UnsafeBinderTy { type TyKind (line 2513) | pub enum TyKind { method is_implicit_self (line 2575) | pub fn is_implicit_self(&self) -> bool { method is_unit (line 2579) | pub fn is_unit(&self) -> bool { method is_simple_path (line 2583) | pub fn is_simple_path(&self) -> Option { method maybe_scalar (line 2601) | pub fn maybe_scalar(&self) -> bool { type TyPat (line 2630) | pub struct TyPat { type TyPatKind (line 2641) | pub enum TyPatKind { type TraitObjectSyntax (line 2657) | pub enum TraitObjectSyntax { constant BITS (line 2667) | const BITS: u32 = 2; method into_usize (line 2669) | fn into_usize(self) -> usize { method from_usize (line 2673) | unsafe fn from_usize(tag: usize) -> Self { type PreciseCapturingArg (line 2683) | pub enum PreciseCapturingArg { type InlineAsmRegOrRegClass (line 2694) | pub enum InlineAsmRegOrRegClass { type InlineAsmOptions (line 2700) | pub struct InlineAsmOptions(u16); constant COUNT (line 2716) | pub const COUNT: usize = Self::all().bits().count_ones() as usize; constant GLOBAL_OPTIONS (line 2718) | pub const GLOBAL_OPTIONS: Self = Self::ATT_SYNTAX.union(Self::RAW); constant NAKED_OPTIONS (line 2719) | pub const NAKED_OPTIONS: Self = Self::ATT_SYNTAX.union(Self::RAW); method human_readable_names (line 2721) | pub fn human_readable_names(&self) -> Vec<&'static str> { method fmt (line 2757) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type InlineAsmTemplatePiece (line 2763) | pub enum InlineAsmTemplatePiece { method fmt (line 2769) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method to_string (line 2793) | pub fn to_string(s: &[Self]) -> String { type InlineAsmSym (line 2811) | pub struct InlineAsmSym { type InlineAsmOperand (line 2821) | pub enum InlineAsmOperand { method reg (line 2854) | pub fn reg(&self) -> Option<&InlineAsmRegOrRegClass> { type AsmMacro (line 2866) | pub enum AsmMacro { method macro_name (line 2876) | pub const fn macro_name(self) -> &'static str { method is_supported_option (line 2884) | pub const fn is_supported_option(self, option: InlineAsmOptions) -> bo... method diverges (line 2892) | pub const fn diverges(self, options: InlineAsmOptions) -> bool { type InlineAsm (line 2905) | pub struct InlineAsm { type Param (line 2920) | pub struct Param { method to_self (line 2962) | pub fn to_self(&self) -> Option { method is_self (line 2986) | pub fn is_self(&self) -> bool { method from_self (line 2995) | pub fn from_self(attrs: AttrVec, eself: ExplicitSelf, eself_ident: Ide... type SelfKind (line 2933) | pub enum SelfKind { method to_ref_suggestion (line 2945) | pub fn to_ref_suggestion(&self) -> String { type ExplicitSelf (line 2958) | pub type ExplicitSelf = Spanned; type FnDecl (line 3048) | pub struct FnDecl { method has_self (line 3054) | pub fn has_self(&self) -> bool { method c_variadic (line 3057) | pub fn c_variadic(&self) -> bool { type IsAuto (line 3064) | pub enum IsAuto { type Safety (line 3072) | pub enum Safety { type CoroutineKind (line 3088) | pub enum CoroutineKind { method span (line 3098) | pub fn span(self) -> Span { method as_str (line 3106) | pub fn as_str(self) -> &'static str { method closure_id (line 3114) | pub fn closure_id(self) -> NodeId { method return_id (line 3124) | pub fn return_id(self) -> (NodeId, Span) { type Const (line 3137) | pub enum Const { type Defaultness (line 3145) | pub enum Defaultness { type ImplPolarity (line 3159) | pub enum ImplPolarity { method fmt (line 3167) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type BoundPolarity (line 3178) | pub enum BoundPolarity { method as_str (line 3188) | pub fn as_str(self) -> &'static str { type BoundConstness (line 3200) | pub enum BoundConstness { method as_str (line 3210) | pub fn as_str(self) -> &'static str { type BoundAsyncness (line 3222) | pub enum BoundAsyncness { method as_str (line 3230) | pub fn as_str(self) -> &'static str { type FnRetTy (line 3239) | pub enum FnRetTy { method span (line 3250) | pub fn span(&self) -> Span { type Inline (line 3259) | pub enum Inline { type ModKind (line 3266) | pub enum ModKind { type ModSpans (line 3277) | pub struct ModSpans { type ForeignMod (line 3288) | pub struct ForeignMod { type EnumDef (line 3299) | pub struct EnumDef { type Variant (line 3305) | pub struct Variant { type UseTreeKind (line 3327) | pub enum UseTreeKind { type UseTree (line 3346) | pub struct UseTree { method ident (line 3353) | pub fn ident(&self) -> Ident { type AttrStyle (line 3369) | pub enum AttrStyle { type AttrVec (line 3375) | pub type AttrVec = ThinVec; type Attribute (line 3379) | pub struct Attribute { type AttrKind (line 3389) | pub enum AttrKind { type NormalAttr (line 3400) | pub struct NormalAttr { method from_ident (line 3407) | pub fn from_ident(ident: Ident) -> Self { type AttrItem (line 3421) | pub struct AttrItem { method is_valid_for_outer_style (line 3472) | pub fn is_valid_for_outer_style(&self) -> bool { type AttrItemKind (line 3432) | pub enum AttrItemKind { method unparsed (line 3438) | pub fn unparsed(self) -> Option { method unparsed_ref (line 3445) | pub fn unparsed_ref(&self) -> Option<&AttrArgs> { method span (line 3452) | pub fn span(&self) -> Option { type EarlyParsedAttribute (line 3466) | pub enum EarlyParsedAttribute { type TraitRef (line 3489) | pub struct TraitRef { type Parens (line 3496) | pub enum Parens { type PolyTraitRef (line 3502) | pub struct PolyTraitRef { method new (line 3520) | pub fn new( type Visibility (line 3538) | pub struct Visibility { type VisibilityKind (line 3545) | pub enum VisibilityKind { method is_pub (line 3552) | pub fn is_pub(&self) -> bool { type ImplRestriction (line 3558) | pub struct ImplRestriction { type RestrictionKind (line 3565) | pub enum RestrictionKind { type FieldDef (line 3574) | pub struct FieldDef { type Recovered (line 3589) | pub enum Recovered { type VariantData (line 3596) | pub enum VariantData { method fields (line 3613) | pub fn fields(&self) -> &[FieldDef] { method ctor_node_id (line 3621) | pub fn ctor_node_id(&self) -> Option { type Item (line 3631) | pub struct Item { method span_with_attributes (line 3651) | pub fn span_with_attributes(&self) -> Span { method opt_generics (line 3655) | pub fn opt_generics(&self) -> Option<&Generics> { type Extern (line 3684) | pub enum Extern { method from_abi (line 3702) | pub fn from_abi(abi: Option, span: Span) -> Extern { method span (line 3709) | pub fn span(self) -> Option { type FnHeader (line 3722) | pub struct FnHeader { method has_qualifiers (line 3735) | pub fn has_qualifiers(&self) -> bool { method default (line 3745) | fn default() -> FnHeader { type TraitAlias (line 3756) | pub struct TraitAlias { type Trait (line 3765) | pub struct Trait { type TyAlias (line 3779) | pub struct TyAlias { type Impl (line 3804) | pub struct Impl { type TraitImplHeader (line 3813) | pub struct TraitImplHeader { type FnContract (line 3821) | pub struct FnContract { type Fn (line 3830) | pub struct Fn { type EiiImpl (line 3846) | pub struct EiiImpl { type Delegation (line 3869) | pub struct Delegation { type DelegationMac (line 3882) | pub struct DelegationMac { type StaticItem (line 3891) | pub struct StaticItem { type ConstItem (line 3901) | pub struct ConstItem { type ConstItemRhsKind (line 3911) | pub enum ConstItemRhsKind { method new_body (line 3917) | pub fn new_body(rhs: Box) -> Self { method span (line 3921) | pub fn span(&self) -> Option { method expr (line 3925) | pub fn expr(&self) -> Option<&Expr> { method has_expr (line 3933) | pub fn has_expr(&self) -> bool { method is_type_const (line 3941) | pub fn is_type_const(&self) -> bool { type ConstBlockItem (line 3947) | pub struct ConstBlockItem { constant IDENT (line 3954) | pub const IDENT: Ident = Ident { name: kw::Underscore, span: DUMMY_SP }; type Guard (line 3958) | pub struct Guard { method span (line 3964) | pub fn span(&self) -> Span { type ItemKind (line 3971) | pub enum ItemKind { method ident (line 4053) | pub fn ident(&self) -> Option { method article (line 4081) | pub fn article(&self) -> &'static str { method descr (line 4091) | pub fn descr(&self) -> &'static str { method generics (line 4116) | pub fn generics(&self) -> Option<&Generics> { method from (line 4196) | fn from(assoc_item_kind: AssocItemKind) -> ItemKind { method from (line 4250) | fn from(foreign_item_kind: ForeignItemKind) -> ItemKind { type AssocItem (line 4145) | pub type AssocItem = Item; type AssocItemKind (line 4155) | pub enum AssocItemKind { method ident (line 4172) | pub fn ident(&self) -> Option { method defaultness (line 4183) | pub fn defaultness(&self) -> Defaultness { type Error (line 4209) | type Error = ItemKind; method try_from (line 4211) | fn try_from(item_kind: ItemKind) -> Result { type ForeignItemKind (line 4226) | pub enum ForeignItemKind { method ident (line 4238) | pub fn ident(&self) -> Option { type Error (line 4261) | type Error = ItemKind; method try_from (line 4263) | fn try_from(item_kind: ItemKind) -> Result { type ForeignItem (line 4274) | pub type ForeignItem = Item; FILE: compiler/rustc_ast/src/ast_traits.rs type HasNodeId (line 16) | pub trait HasNodeId { method node_id (line 17) | fn node_id(&self) -> NodeId; method node_id_mut (line 18) | fn node_id_mut(&mut self) -> &mut NodeId; method node_id (line 56) | fn node_id(&self) -> NodeId { method node_id_mut (line 59) | fn node_id_mut(&mut self) -> &mut NodeId { method node_id (line 343) | fn node_id(&self) -> NodeId { method node_id_mut (line 346) | fn node_id_mut(&mut self) -> &mut NodeId { type HasTokens (line 65) | pub trait HasTokens { method tokens (line 66) | fn tokens(&self) -> Option<&LazyAttrTokenStream>; method tokens_mut (line 67) | fn tokens_mut(&mut self) -> Option<&mut Option>; method tokens (line 125) | fn tokens(&self) -> Option<&LazyAttrTokenStream> { method tokens_mut (line 128) | fn tokens_mut(&mut self) -> Option<&mut Option> { method tokens (line 134) | fn tokens(&self) -> Option<&LazyAttrTokenStream> { method tokens_mut (line 137) | fn tokens_mut(&mut self) -> Option<&mut Option> { method tokens (line 143) | fn tokens(&self) -> Option<&LazyAttrTokenStream> { method tokens_mut (line 152) | fn tokens_mut(&mut self) -> Option<&mut Option> { method tokens (line 164) | fn tokens(&self) -> Option<&LazyAttrTokenStream> { method tokens_mut (line 167) | fn tokens_mut(&mut self) -> Option<&mut Option> { method tokens (line 173) | fn tokens(&self) -> Option<&LazyAttrTokenStream> { method tokens_mut (line 181) | fn tokens_mut(&mut self) -> Option<&mut Option> { type HasAttrs (line 192) | pub trait HasAttrs { constant SUPPORTS_CUSTOM_INNER_ATTRS (line 200) | const SUPPORTS_CUSTOM_INNER_ATTRS: bool; method attrs (line 201) | fn attrs(&self) -> &[Attribute]; method visit_attrs (line 202) | fn visit_attrs(&mut self, f: impl FnOnce(&mut AttrVec)); constant SUPPORTS_CUSTOM_INNER_ATTRS (line 260) | const SUPPORTS_CUSTOM_INNER_ATTRS: bool = T::SUPPORTS_CUSTOM_INNER_ATTRS; method attrs (line 261) | fn attrs(&self) -> &[Attribute] { method visit_attrs (line 264) | fn visit_attrs(&mut self, f: impl FnOnce(&mut AttrVec)) { constant SUPPORTS_CUSTOM_INNER_ATTRS (line 270) | const SUPPORTS_CUSTOM_INNER_ATTRS: bool = T::SUPPORTS_CUSTOM_INNER_ATTRS; method attrs (line 271) | fn attrs(&self) -> &[Attribute] { method visit_attrs (line 274) | fn visit_attrs(&mut self, f: impl FnOnce(&mut AttrVec)) { constant SUPPORTS_CUSTOM_INNER_ATTRS (line 284) | const SUPPORTS_CUSTOM_INNER_ATTRS: bool = true; method attrs (line 286) | fn attrs(&self) -> &[Attribute] { method visit_attrs (line 296) | fn visit_attrs(&mut self, f: impl FnOnce(&mut AttrVec)) { constant SUPPORTS_CUSTOM_INNER_ATTRS (line 308) | const SUPPORTS_CUSTOM_INNER_ATTRS: bool = StmtKind::SUPPORTS_CUSTOM_IN... method attrs (line 309) | fn attrs(&self) -> &[Attribute] { method visit_attrs (line 312) | fn visit_attrs(&mut self, f: impl FnOnce(&mut AttrVec)) { constant SUPPORTS_CUSTOM_INNER_ATTRS (line 352) | const SUPPORTS_CUSTOM_INNER_ATTRS: bool = Wrapped::SUPPORTS_CUSTOM_INN... method attrs (line 353) | fn attrs(&self) -> &[Attribute] { method visit_attrs (line 356) | fn visit_attrs(&mut self, f: impl FnOnce(&mut AttrVec)) { type AstNodeWrapper (line 319) | pub struct AstNodeWrapper { function new (line 325) | pub fn new(wrapped: Wrapped, _tag: Tag) -> AstNodeWrapper { function from_mut (line 329) | pub fn from_mut(wrapped: &mut Wrapped, _tag: Tag) -> &mut AstNodeWrapper... function from (line 337) | fn from(value: AstNodeWrapper, Tag>) -> Self { function fmt (line 362) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_ast/src/attr/data_structures.rs type CfgEntry (line 10) | pub enum CfgEntry { method lower_spans (line 20) | pub fn lower_spans(&mut self, lower_span: impl Copy + Fn(Span) -> Span) { method span (line 38) | pub fn span(&self) -> Span { method is_equivalent_to (line 49) | pub fn is_equivalent_to(&self, other: &Self) -> bool { method fmt (line 67) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_ast/src/attr/mod.rs type MarkedAttrs (line 29) | pub struct MarkedAttrs(GrowableBitSet); method new (line 32) | pub fn new() -> Self { method mark (line 38) | pub fn mark(&mut self, attr: &Attribute) { method is_marked (line 42) | pub fn is_marked(&self, attr: &Attribute) -> bool { type AttrIdGenerator (line 47) | pub struct AttrIdGenerator(AtomicU32); method new (line 50) | pub fn new() -> Self { method mk_attr_id (line 54) | pub fn mk_attr_id(&self) -> AttrId { method get_normal_item (line 62) | pub fn get_normal_item(&self) -> &AttrItem { method replace_args (line 71) | pub fn replace_args(&mut self, new_args: AttrItemKind) { method unwrap_normal_item (line 78) | pub fn unwrap_normal_item(self) -> AttrItem { method style (line 306) | pub fn style(&self) -> AttrStyle { method may_have_doc_links (line 310) | pub fn may_have_doc_links(&self) -> bool { method meta (line 316) | pub fn meta(&self) -> Option { method meta_kind (line 323) | pub fn meta_kind(&self) -> Option { method token_trees (line 330) | pub fn token_trees(&self) -> Vec { method span (line 347) | pub fn span(&self) -> Span { method meta_item_list (line 351) | pub fn meta_item_list(&self) -> Option> { method value_str (line 372) | fn value_str(&self) -> Option { method value_span (line 396) | fn value_span(&self) -> Option { method meta (line 403) | pub fn meta(&self, span: Span) -> Option { method meta_kind (line 412) | pub fn meta_kind(&self) -> Option { method ident (line 419) | pub fn ident(&self) -> Option { method name (line 423) | pub fn name(&self) -> Option { method has_name (line 427) | pub fn has_name(&self, name: Symbol) -> bool { method is_word (line 431) | pub fn is_word(&self) -> bool { method meta_item_list (line 435) | pub fn meta_item_list(&self) -> Option<&[MetaItemInner]> { method name_value_literal (line 447) | pub fn name_value_literal(&self) -> Option<&MetaItemLit> { method name_value_literal_span (line 461) | pub fn name_value_literal_span(&self) -> Option { method value_str (line 477) | pub fn value_str(&self) -> Option { method from_tokens (line 484) | fn from_tokens(iter: &mut TokenStreamIter<'_>) -> Option { method list_from_tokens (line 553) | pub fn list_from_tokens(tokens: TokenStream) -> Option) -> Option) -> Option { method from_attr_args (line 595) | fn from_attr_args(args: &AttrArgs) -> Option { method span (line 616) | pub fn span(&self) -> Span { method ident (line 624) | pub fn ident(&self) -> Option { method name (line 629) | pub fn name(&self) -> Option { method has_name (line 634) | pub fn has_name(&self, name: Symbol) -> bool { method is_word (line 639) | pub fn is_word(&self) -> bool { method meta_item_list (line 644) | pub fn meta_item_list(&self) -> Option<&[MetaItemInner]> { method singleton_lit_list (line 650) | pub fn singleton_lit_list(&self) -> Option<(Symbol, &MetaItemLit)> { method name_value_literal_span (line 665) | pub fn name_value_literal_span(&self) -> Option { method value_str (line 671) | pub fn value_str(&self) -> Option { method lit (line 676) | pub fn lit(&self) -> Option<&MetaItemLit> { method boolean_literal (line 684) | pub fn boolean_literal(&self) -> Option { method meta_item_or_bool (line 693) | pub fn meta_item_or_bool(&self) -> Option<&MetaItemInner> { method meta_item (line 702) | pub fn meta_item(&self) -> Option<&MetaItem> { method is_meta_item (line 710) | pub fn is_meta_item(&self) -> bool { method from_tokens (line 714) | fn from_tokens(iter: &mut TokenStreamIter<'_>) -> Option { function mk_doc_comment (line 730) | pub fn mk_doc_comment( function mk_attr (line 740) | fn mk_attr( function mk_attr_from_item (line 757) | pub fn mk_attr_from_item( function mk_attr_word (line 772) | pub fn mk_attr_word( function mk_attr_nested_word (line 784) | pub fn mk_attr_nested_word( function mk_attr_name_value_str (line 806) | pub fn mk_attr_name_value_str( function filter_by_name (line 827) | pub fn filter_by_name(attrs: &[A], name: Symbol) -> imp... function find_by_name (line 831) | pub fn find_by_name(attrs: &[A], name: Symbol) -> Optio... function first_attr_value_str_by_name (line 835) | pub fn first_attr_value_str_by_name(attrs: &[impl AttributeExt], name: S... function contains_name (line 839) | pub fn contains_name(attrs: &[impl AttributeExt], name: Symbol) -> bool { function list_contains_name (line 843) | pub fn list_contains_name(items: &[MetaItemInner], name: Symbol) -> bool { method value_str (line 848) | pub fn value_str(&self) -> Option { type AttributeExt (line 853) | pub trait AttributeExt: Debug { method id (line 87) | fn id(&self) -> AttrId { method value_span (line 91) | fn value_span(&self) -> Option { method is_doc_comment (line 104) | fn is_doc_comment(&self) -> Option { method name (line 112) | fn name(&self) -> Option { method symbol_path (line 125) | fn symbol_path(&self) -> Option> { method path_span (line 134) | fn path_span(&self) -> Option { method path_matches (line 141) | fn path_matches(&self, name: &[Symbol]) -> bool { method span (line 157) | fn span(&self) -> Span { method is_word (line 161) | fn is_word(&self) -> bool { method meta_item_list (line 176) | fn meta_item_list(&self) -> Option> { method value_str (line 198) | fn value_str(&self) -> Option { method doc_str_and_fragment_kind (line 210) | fn doc_str_and_fragment_kind(&self) -> Option<(Symbol, DocFragmentKind... method doc_str (line 230) | fn doc_str(&self) -> Option { method deprecation_note (line 238) | fn deprecation_note(&self) -> Option { method doc_resolution_scope (line 266) | fn doc_resolution_scope(&self) -> Option { method is_automatically_derived_attr (line 278) | fn is_automatically_derived_attr(&self) -> bool { method is_doc_hidden (line 282) | fn is_doc_hidden(&self) -> bool { method is_doc_keyword_or_attribute (line 287) | fn is_doc_keyword_or_attribute(&self) -> bool { method is_rustc_doc_primitive (line 300) | fn is_rustc_doc_primitive(&self) -> bool { method id (line 854) | fn id(&self) -> AttrId; method name (line 858) | fn name(&self) -> Option; method meta_item_list (line 861) | fn meta_item_list(&self) -> Option>; method value_str (line 864) | fn value_str(&self) -> Option; method value_span (line 867) | fn value_span(&self) -> Option; method path_matches (line 872) | fn path_matches(&self, name: &[Symbol]) -> bool; method is_doc_comment (line 877) | fn is_doc_comment(&self) -> Option; method has_name (line 882) | fn has_name(&self, name: Symbol) -> bool { method has_any_name (line 889) | fn has_any_name(&self, names: &[Symbol]) -> bool { method span (line 894) | fn span(&self) -> Span; method is_word (line 897) | fn is_word(&self) -> bool; method path (line 899) | fn path(&self) -> SmallVec<[Symbol; 1]> { method path_span (line 903) | fn path_span(&self) -> Option; method symbol_path (line 906) | fn symbol_path(&self) -> Option>; method doc_str (line 912) | fn doc_str(&self) -> Option; method deprecation_note (line 917) | fn deprecation_note(&self) -> Option; method is_proc_macro_attr (line 921) | fn is_proc_macro_attr(&self) -> bool { method is_automatically_derived_attr (line 927) | fn is_automatically_derived_attr(&self) -> bool; method doc_str_and_fragment_kind (line 934) | fn doc_str_and_fragment_kind(&self) -> Option<(Symbol, DocFragmentKind)>; method doc_resolution_scope (line 943) | fn doc_resolution_scope(&self) -> Option; method is_doc_hidden (line 946) | fn is_doc_hidden(&self) -> bool; method is_doc_keyword_or_attribute (line 949) | fn is_doc_keyword_or_attribute(&self) -> bool; method is_rustc_doc_primitive (line 952) | fn is_rustc_doc_primitive(&self) -> bool; method id (line 958) | pub fn id(&self) -> AttrId { method name (line 962) | pub fn name(&self) -> Option { method meta_item_list (line 966) | pub fn meta_item_list(&self) -> Option> { method value_str (line 970) | pub fn value_str(&self) -> Option { method value_span (line 974) | pub fn value_span(&self) -> Option { method path_matches (line 978) | pub fn path_matches(&self, name: &[Symbol]) -> bool { method is_doc_comment (line 983) | pub fn is_doc_comment(&self) -> bool { method has_name (line 988) | pub fn has_name(&self, name: Symbol) -> bool { method has_any_name (line 993) | pub fn has_any_name(&self, names: &[Symbol]) -> bool { method span (line 997) | pub fn span(&self) -> Span { method is_word (line 1001) | pub fn is_word(&self) -> bool { method path (line 1005) | pub fn path(&self) -> SmallVec<[Symbol; 1]> { method doc_str (line 1009) | pub fn doc_str(&self) -> Option { method is_proc_macro_attr (line 1013) | pub fn is_proc_macro_attr(&self) -> bool { method doc_str_and_fragment_kind (line 1017) | pub fn doc_str_and_fragment_kind(&self) -> Option<(Symbol, DocFragmentKi... FILE: compiler/rustc_ast/src/attr/version.rs type RustcVersion (line 8) | pub struct RustcVersion { constant CURRENT (line 15) | pub const CURRENT: Self = current_rustc_version!(); method current_overridable (line 16) | pub fn current_overridable() -> Self { method parse_str (line 27) | fn parse_str(value: &str) -> Option { method fmt (line 40) | fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_ast/src/entry.rs type EntryPointType (line 4) | pub enum EntryPointType { function entry_point_type (line 30) | pub fn entry_point_type( FILE: compiler/rustc_ast/src/expand/allocator.rs type AllocatorKind (line 5) | pub enum AllocatorKind { function global_fn_name (line 12) | pub fn global_fn_name(base: Symbol) -> String { function default_fn_name (line 16) | pub fn default_fn_name(base: Symbol) -> String { constant ALLOC_ERROR_HANDLER (line 20) | pub const ALLOC_ERROR_HANDLER: Symbol = sym::alloc_error_handler; constant NO_ALLOC_SHIM_IS_UNSTABLE (line 21) | pub const NO_ALLOC_SHIM_IS_UNSTABLE: &str = "__rust_no_alloc_shim_is_uns... type AllocatorTy (line 25) | pub enum AllocatorTy { type SpecialAllocatorMethod (line 39) | pub enum SpecialAllocatorMethod { type AllocatorMethod (line 48) | pub struct AllocatorMethod { type AllocatorMethodInput (line 55) | pub struct AllocatorMethodInput { FILE: compiler/rustc_ast/src/expand/autodiff_attrs.rs type DiffMode (line 24) | pub enum DiffMode { method all_modes (line 36) | pub fn all_modes() -> &'static [Symbol] { method is_rev (line 104) | pub fn is_rev(&self) -> bool { method is_fwd (line 107) | pub fn is_fwd(&self) -> bool { type DiffActivity (line 46) | pub enum DiffActivity { method is_dual_or_const (line 82) | pub fn is_dual_or_const(&self) -> bool { method all_activities (line 87) | pub fn all_activities() -> &'static [Symbol] { method fmt (line 113) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function valid_ret_activity (line 128) | pub fn valid_ret_activity(mode: DiffMode, activity: DiffActivity) -> bool { function valid_ty_for_activity (line 151) | pub fn valid_ty_for_activity(ty: &Box, activity: DiffActivity) -> bo... function valid_input_activity (line 166) | pub fn valid_input_activity(mode: DiffMode, activity: DiffActivity) -> b... method fmt (line 179) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type Err (line 197) | type Err = (); method from_str (line 199) | fn from_str(s: &str) -> Result { type Err (line 210) | type Err = (); method from_str (line 212) | fn from_str(s: &str) -> Result { FILE: compiler/rustc_ast/src/expand/typetree.rs type Kind (line 27) | pub enum Kind { type TypeTree (line 39) | pub struct TypeTree(pub Vec); method new (line 42) | pub fn new() -> Self { method all_ints (line 45) | pub fn all_ints() -> Self { method int (line 48) | pub fn int(size: usize) -> Self { type FncTree (line 63) | pub struct FncTree { type Type (line 69) | pub struct Type { method add_offset (line 77) | pub fn add_offset(self, add: isize) -> Self { method fmt (line 88) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_ast/src/format.rs type FormatArgs (line 44) | pub struct FormatArgs { type FormatArgsPiece (line 66) | pub enum FormatArgsPiece { type FormatArguments (line 76) | pub struct FormatArguments { method new (line 84) | pub fn new() -> Self { method add (line 93) | pub fn add(&mut self, arg: FormatArgument) -> usize { method by_name (line 116) | pub fn by_name(&self, name: Symbol) -> Option<(usize, &FormatArgument)> { method by_index (line 121) | pub fn by_index(&self, i: usize) -> Option<&FormatArgument> { method unnamed_args (line 125) | pub fn unnamed_args(&self) -> &[FormatArgument] { method named_args (line 129) | pub fn named_args(&self) -> &[FormatArgument] { method explicit_args (line 133) | pub fn explicit_args(&self) -> &[FormatArgument] { method all_args (line 137) | pub fn all_args(&self) -> &[FormatArgument] { method all_args_mut (line 141) | pub fn all_args_mut(&mut self) -> &mut Vec { type FormatArgument (line 147) | pub struct FormatArgument { type FormatArgumentKind (line 153) | pub enum FormatArgumentKind { method ident (line 163) | pub fn ident(&self) -> Option { type FormatPlaceholder (line 173) | pub struct FormatPlaceholder { type FormatArgPosition (line 187) | pub struct FormatArgPosition { type FormatArgPositionKind (line 200) | pub enum FormatArgPositionKind { type FormatTrait (line 210) | pub enum FormatTrait { type FormatOptions (line 232) | pub struct FormatOptions { type FormatSign (line 252) | pub enum FormatSign { type FormatDebugHex (line 260) | pub enum FormatDebugHex { type FormatAlignment (line 268) | pub enum FormatAlignment { type FormatCount (line 278) | pub enum FormatCount { FILE: compiler/rustc_ast/src/lib.rs type HashStableContext (line 43) | pub trait HashStableContext: rustc_span::HashStableContext {} FILE: compiler/rustc_ast/src/mut_visit.rs type MutVisitorResult (line 26) | pub trait MutVisitorResult { type Result (line 31) | type Result = (); type MutVisitable (line 37) | pub(crate) trait MutVisitable { method visit_mut (line 39) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra); type Extra (line 46) | type Extra = T::Extra; function visit_mut (line 47) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra) { type Extra (line 56) | type Extra = T::Extra; function visit_mut (line 57) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra) { type Extra (line 68) | type Extra = T::Extra; function visit_mut (line 69) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra) { type Extra (line 80) | type Extra = T::Extra; function visit_mut (line 81) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra) { type Extra (line 92) | type Extra = T::Extra; function visit_mut (line 93) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra) { type Extra (line 104) | type Extra = T::Extra; function visit_mut (line 105) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra) { type Extra (line 115) | type Extra = (); function visit_mut (line 116) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra) { type Extra (line 128) | type Extra = (); function visit_mut (line 129) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra) { type Extra (line 143) | type Extra = (); function visit_mut (line 144) | fn visit_mut(&mut self, visitor: &mut V, extra: Self::Extra) { type MutWalkable (line 152) | pub trait MutWalkable { method walk_mut (line 153) | fn walk_mut(&mut self, visitor: &mut V); function walk_flat_map_pat_field (line 309) | pub fn walk_flat_map_pat_field( function walk_filter_map_expr (line 339) | pub fn walk_filter_map_expr(vis: &mut T, mut e: Box... function walk_flat_map_stmt (line 344) | pub fn walk_flat_map_stmt( function walk_flat_map_stmt_kind (line 364) | fn walk_flat_map_stmt_kind(vis: &mut T, kind: StmtKind) -... FILE: compiler/rustc_ast/src/node_id.rs constant DUMMY_NODE_ID (line 26) | pub const DUMMY_NODE_ID: NodeId = NodeId::MAX; method placeholder_from_expn_id (line 29) | pub fn placeholder_from_expn_id(expn_id: LocalExpnId) -> Self { method placeholder_to_expn_id (line 33) | pub fn placeholder_to_expn_id(self) -> LocalExpnId { method fmt (line 39) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_ast/src/token.rs type DocFragmentKind (line 21) | pub enum DocFragmentKind { method is_sugared (line 29) | pub fn is_sugared(self) -> bool { method comment_kind (line 35) | pub fn comment_kind(self) -> CommentKind { type CommentKind (line 44) | pub enum CommentKind { type InvisibleOrigin (line 50) | pub enum InvisibleOrigin { method skip (line 63) | pub fn skip(&self) -> bool { type MetaVarKind (line 73) | pub enum MetaVarKind { method fmt (line 102) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Delimiter (line 129) | pub enum Delimiter { method skip (line 149) | pub fn skip(&self) -> bool { method eq_ignoring_invisible_origin (line 158) | pub fn eq_ignoring_invisible_origin(&self, other: &Delimiter) -> bool { method as_open_token_kind (line 168) | pub fn as_open_token_kind(&self) -> TokenKind { method as_close_token_kind (line 177) | pub fn as_close_token_kind(&self) -> TokenKind { type LitKind (line 192) | pub enum LitKind { method article (line 287) | pub fn article(self) -> &'static str { method descr (line 294) | pub fn descr(self) -> &'static str { method may_have_suffix (line 308) | pub(crate) fn may_have_suffix(self) -> bool { type Lit (line 209) | pub struct Lit { method new (line 216) | pub fn new(kind: LitKind, symbol: Symbol, suffix: Option) -> L... method is_semantic_float (line 222) | pub fn is_semantic_float(&self) -> bool { method from_token (line 235) | pub fn from_token(token: &Token) -> Option { method fmt (line 251) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function ident_can_begin_expr (line 313) | pub fn ident_can_begin_expr(name: Symbol, span: Span, is_raw: IdentIsRaw... function ident_can_begin_type (line 345) | fn ident_can_begin_type(name: Symbol, span: Span, is_raw: IdentIsRaw) ->... type IdentIsRaw (line 355) | pub enum IdentIsRaw { method to_print_mode_ident (line 361) | pub fn to_print_mode_ident(self) -> IdentPrintMode { method to_print_mode_lifetime (line 367) | pub fn to_print_mode_lifetime(self) -> IdentPrintMode { method from (line 376) | fn from(b: bool) -> Self { type TokenKind (line 382) | pub enum TokenKind { method lit (line 538) | pub fn lit(kind: LitKind, symbol: Symbol, suffix: Option) -> T... method break_two_token_op (line 546) | pub fn break_two_token_op(&self, n: u32) -> Option<(TokenKind, TokenKi... method similar_tokens (line 583) | pub fn similar_tokens(&self) -> &[TokenKind] { method should_end_const_arg (line 593) | pub fn should_end_const_arg(&self) -> bool { method is_delim (line 597) | pub fn is_delim(&self) -> bool { method open_delim (line 601) | pub fn open_delim(&self) -> Option { method close_delim (line 611) | pub fn close_delim(&self) -> Option { method is_close_delim_or_eof (line 621) | pub fn is_close_delim_or_eof(&self) -> bool { type Token (line 532) | pub struct Token { method new (line 630) | pub const fn new(kind: TokenKind, span: Span) -> Self { method dummy (line 635) | pub const fn dummy() -> Self { method from_ast_ident (line 640) | pub fn from_ast_ident(ident: Ident) -> Self { method is_range_separator (line 644) | pub fn is_range_separator(&self) -> bool { method is_punct (line 648) | pub fn is_punct(&self) -> bool { method is_like_plus (line 662) | pub fn is_like_plus(&self) -> bool { method can_begin_expr (line 670) | pub fn can_begin_expr(&self) -> bool { method can_begin_pattern (line 703) | pub fn can_begin_pattern(&self, pat_kind: NtPatKind) -> bool { method can_begin_type (line 732) | pub fn can_begin_type(&self) -> bool { method can_begin_const_arg (line 757) | pub fn can_begin_const_arg(&self) -> bool { method can_begin_item (line 769) | pub fn can_begin_item(&self) -> bool { method is_lit (line 795) | pub fn is_lit(&self) -> bool { method can_begin_literal_maybe_minus (line 806) | pub fn can_begin_literal_maybe_minus(&self) -> bool { method can_begin_string_literal (line 821) | pub fn can_begin_string_literal(&self) -> bool { method uninterpolate (line 837) | pub fn uninterpolate(&self) -> Cow<'_, Token> { method ident (line 849) | pub fn ident(&self) -> Option<(Ident, IdentIsRaw)> { method lifetime (line 860) | pub fn lifetime(&self) -> Option<(Ident, IdentIsRaw)> { method is_ident (line 870) | pub fn is_ident(&self) -> bool { method is_lifetime (line 875) | pub fn is_lifetime(&self) -> bool { method is_ident_named (line 881) | pub fn is_ident_named(&self, name: Symbol) -> bool { method is_metavar_expr (line 887) | pub fn is_metavar_expr(&self) -> bool { method is_metavar_block (line 900) | pub fn is_metavar_block(&self) -> bool { method is_mutability (line 905) | pub fn is_mutability(&self) -> bool { method is_qpath_start (line 909) | pub fn is_qpath_start(&self) -> bool { method is_path_start (line 913) | pub fn is_path_start(&self) -> bool { method is_keyword (line 922) | pub fn is_keyword(&self, kw: Symbol) -> bool { method is_keyword_case (line 928) | pub fn is_keyword_case(&self, kw: Symbol, case: Case) -> bool { method is_path_segment_keyword (line 937) | pub fn is_path_segment_keyword(&self) -> bool { method is_special_ident (line 943) | pub fn is_special_ident(&self) -> bool { method is_used_keyword (line 948) | pub fn is_used_keyword(&self) -> bool { method is_unused_keyword (line 953) | pub fn is_unused_keyword(&self) -> bool { method is_reserved_ident (line 958) | pub fn is_reserved_ident(&self) -> bool { method is_non_reserved_ident (line 962) | pub fn is_non_reserved_ident(&self) -> bool { method is_bool_lit (line 967) | pub fn is_bool_lit(&self) -> bool { method is_numeric_lit (line 971) | pub fn is_numeric_lit(&self) -> bool { method is_integer_lit (line 979) | pub fn is_integer_lit(&self) -> bool { method is_non_raw_ident_where (line 984) | pub fn is_non_raw_ident_where(&self, pred: impl FnOnce(Ident) -> bool)... method is_metavar_seq (line 993) | pub fn is_metavar_seq(&self) -> Option { method glue (line 1000) | pub fn glue(&self, joint: &Token) -> Option { method eq (line 1088) | fn eq(&self, rhs: &TokenKind) -> bool { type NtPatKind (line 1094) | pub enum NtPatKind { type NtExprKind (line 1104) | pub enum NtExprKind { type NonterminalKind (line 1116) | pub enum NonterminalKind { method from_symbol (line 1136) | pub fn from_symbol( method symbol (line 1173) | fn symbol(self) -> Symbol { method fmt (line 1196) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_ast/src/tokenstream.rs type TokenTree (line 27) | pub enum TokenTree { method eq_unspanned (line 48) | pub fn eq_unspanned(&self, other: &TokenTree) -> bool { method span (line 59) | pub fn span(&self) -> Span { method token_alone (line 67) | pub fn token_alone(kind: TokenKind, span: Span) -> TokenTree { method token_joint (line 72) | pub fn token_joint(kind: TokenKind, span: Span) -> TokenTree { method token_joint_hidden (line 77) | pub fn token_joint_hidden(kind: TokenKind, span: Span) -> TokenTree { method uninterpolate (line 81) | pub fn uninterpolate(&self) -> Cow<'_, TokenTree> { function _dummy (line 36) | fn _dummy() type LazyAttrTokenStream (line 95) | pub struct LazyAttrTokenStream(Arc); method new_direct (line 98) | pub fn new_direct(stream: AttrTokenStream) -> LazyAttrTokenStream { method new_pending (line 102) | pub fn new_pending( method to_attr_token_stream (line 118) | pub fn to_attr_token_stream(&self) -> AttrTokenStream { method fmt (line 124) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method encode (line 130) | fn encode(&self, _s: &mut S) { method decode (line 136) | fn decode(_d: &mut D) -> Self { method hash_stable (line 142) | fn hash_stable(&self, _hcx: &mut Hcx, _hasher: &mut StableHasher) { type ParserRange (line 149) | pub struct ParserRange(pub Range); type NodeRange (line 155) | pub struct NodeRange(pub Range); method new (line 191) | pub fn new(ParserRange(parser_range): ParserRange, start_pos: u32) -> ... type ParserReplacement (line 176) | pub type ParserReplacement = (ParserRange, Option); type NodeReplacement (line 179) | pub type NodeReplacement = (NodeRange, Option); type LazyAttrTokenStreamInner (line 198) | enum LazyAttrTokenStreamInner { method to_attr_token_stream (line 223) | fn to_attr_token_stream(&self) -> AttrTokenStream { type FlatToken (line 311) | enum FlatToken { type AttrTokenStream (line 330) | pub struct AttrTokenStream(pub Arc>); method new (line 415) | pub fn new(tokens: Vec) -> AttrTokenStream { method to_token_trees (line 423) | pub fn to_token_trees(&self) -> Vec { function make_attr_token_stream (line 335) | fn make_attr_token_stream( type AttrTokenTree (line 405) | pub enum AttrTokenTree { function attrs_and_tokens_to_token_trees (line 455) | fn attrs_and_tokens_to_token_trees( type AttrsTarget (line 535) | pub struct AttrsTarget { type Spacing (line 549) | pub enum Spacing { type TokenStream (line 606) | pub struct TokenStream(pub(crate) Arc>); method new (line 609) | pub fn new(tts: Vec) -> TokenStream { method is_empty (line 613) | pub fn is_empty(&self) -> bool { method len (line 617) | pub fn len(&self) -> usize { method get (line 621) | pub fn get(&self, index: usize) -> Option<&TokenTree> { method iter (line 625) | pub fn iter(&self) -> TokenStreamIter<'_> { method token_alone (line 633) | pub fn token_alone(kind: TokenKind, span: Span) -> TokenStream { method from_ast (line 637) | pub fn from_ast(node: &(impl HasAttrs + HasTokens + fmt::Debug)) -> To... method try_glue_to_last (line 646) | fn try_glue_to_last(vec: &mut Vec, tt: &TokenTree) -> bool { method push_tree (line 662) | pub fn push_tree(&mut self, tt: TokenTree) { method push_stream (line 675) | pub fn push_stream(&mut self, stream: TokenStream) { method chunks (line 691) | pub fn chunks(&self, chunk_size: usize) -> core::slice::Chunks<'_, Tok... method desugar_doc_comments (line 698) | pub fn desugar_doc_comments(&mut self) { method add_comma (line 785) | pub fn add_comma(&self) -> Option<(TokenStream, Span)> { method from_iter (line 822) | fn from_iter>(iter: I) -> Self { method hash_stable (line 831) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { type TokenStreamIter (line 839) | pub struct TokenStreamIter<'t> { function new (line 845) | fn new(stream: &'t TokenStream) -> Self { function peek (line 852) | pub fn peek(&self) -> Option<&'t TokenTree> { type Item (line 858) | type Item = &'t TokenTree; method next (line 860) | fn next(&mut self) -> Option<&'t TokenTree> { type TokenTreeCursor (line 869) | pub struct TokenTreeCursor { method new (line 879) | pub fn new(stream: TokenStream) -> Self { method curr (line 884) | pub fn curr(&self) -> Option<&TokenTree> { method look_ahead (line 888) | pub fn look_ahead(&self, n: usize) -> Option<&TokenTree> { method bump (line 893) | pub fn bump(&mut self) { method bump_to_end (line 899) | pub fn bump_to_end(&mut self) { type TokenCursor (line 909) | pub struct TokenCursor { method next (line 923) | pub fn next(&mut self) -> (Token, Spacing) { method inlined_next (line 929) | pub fn inlined_next(&mut self) -> (Token, Spacing) { type DelimSpan (line 974) | pub struct DelimSpan { method from_single (line 980) | pub fn from_single(sp: Span) -> Self { method from_pair (line 984) | pub fn from_pair(open: Span, close: Span) -> Self { method dummy (line 988) | pub fn dummy() -> Self { method entire (line 992) | pub fn entire(self) -> Span { type DelimSpacing (line 998) | pub struct DelimSpacing { method new (line 1004) | pub fn new(open: Spacing, close: Spacing) -> DelimSpacing { FILE: compiler/rustc_ast/src/util/case.rs type Case (line 3) | pub enum Case { FILE: compiler/rustc_ast/src/util/classify.rs function expr_is_complete (line 40) | pub fn expr_is_complete(e: &ast::Expr) -> bool { function expr_requires_semi_to_be_stmt (line 78) | pub fn expr_requires_semi_to_be_stmt(e: &ast::Expr) -> bool { function leading_labeled_expr (line 101) | pub fn leading_labeled_expr(mut expr: &ast::Expr) -> bool { type TrailingBrace (line 163) | pub enum TrailingBrace<'a> { function expr_trailing_brace (line 173) | pub fn expr_trailing_brace(mut expr: &ast::Expr) -> Option Option<&ast::MacCa... function path_return_type (line 314) | fn path_return_type(path: &ast::Path) -> Option<&ast::Ty> { FILE: compiler/rustc_ast/src/util/comments.rs type CommentStyle (line 9) | pub enum CommentStyle { type Comment (line 21) | pub struct Comment { function may_have_doc_links (line 31) | pub fn may_have_doc_links(s: &str) -> bool { function beautify_doc_string (line 37) | pub fn beautify_doc_string(data: Symbol, kind: CommentKind) -> Symbol { FILE: compiler/rustc_ast/src/util/comments/tests.rs function test_block_doc_comment_1 (line 8) | fn test_block_doc_comment_1() { function test_block_doc_comment_2 (line 17) | fn test_block_doc_comment_2() { function test_block_doc_comment_3 (line 26) | fn test_block_doc_comment_3() { function test_line_doc_comment (line 35) | fn test_line_doc_comment() { function test_doc_blocks (line 49) | fn test_doc_blocks() { FILE: compiler/rustc_ast/src/util/literal.rs function escape_string_symbol (line 16) | pub fn escape_string_symbol(symbol: Symbol) -> Symbol { function escape_char_symbol (line 23) | pub fn escape_char_symbol(ch: char) -> Symbol { function escape_byte_str_symbol (line 29) | pub fn escape_byte_str_symbol(bytes: &[u8]) -> Symbol { type LitError (line 35) | pub enum LitError { method from_token_lit (line 45) | pub fn from_token_lit(lit: token::Lit) -> Result { method fmt (line 155) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from_token_lit (line 219) | pub fn from_token_lit(token_lit: token::Lit, span: Span) -> Result token::Lit { method from_token (line 249) | pub fn from_token(token: &Token) -> Option { function strip_underscores (line 255) | fn strip_underscores(symbol: Symbol) -> Symbol { function filtered_float_lit (line 266) | fn filtered_float_lit( function float_lit (line 290) | fn float_lit(symbol: Symbol, suffix: Option) -> Result) -> Result Option { method precedence (line 76) | pub fn precedence(&self) -> ExprPrecedence { method fixity (line 87) | pub fn fixity(&self) -> Fixity { method is_comparison (line 98) | pub fn is_comparison(&self) -> bool { method is_assign_like (line 106) | pub fn is_assign_like(&self) -> bool { method can_continue_expr_unambiguously (line 118) | pub fn can_continue_expr_unambiguously(&self) -> bool { type Fixity (line 22) | pub enum Fixity { type ExprPrecedence (line 142) | pub enum ExprPrecedence { function prec_let_scrutinee_needs_par (line 176) | pub fn prec_let_scrutinee_needs_par() -> ExprPrecedence { function needs_par_as_let_scrutinee (line 185) | pub fn needs_par_as_let_scrutinee(order: ExprPrecedence) -> bool { function contains_exterior_struct_lit (line 192) | pub fn contains_exterior_struct_lit(value: &ast::Expr) -> bool { FILE: compiler/rustc_ast/src/util/unicode.rs constant TEXT_FLOW_CONTROL_CHARS (line 1) | pub const TEXT_FLOW_CONTROL_CHARS: &[char] = &[ function contains_text_flow_control_chars (line 7) | pub fn contains_text_flow_control_chars(s: &str) -> bool { FILE: compiler/rustc_ast/src/visit.rs type AssocCtxt (line 25) | pub enum AssocCtxt { type FnCtxt (line 31) | pub enum FnCtxt { type BoundKind (line 38) | pub enum BoundKind { method descr (line 56) | pub fn descr(self) -> &'static str { type LifetimeCtxt (line 67) | pub enum LifetimeCtxt { type Visitable (line 76) | pub(crate) trait Visitable<'a, V: Visitor<'a>> { method visit (line 80) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result; type Extra (line 87) | type Extra = T::Extra; function visit (line 88) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result { type Extra (line 97) | type Extra = T::Extra; function visit (line 98) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result { type Extra (line 110) | type Extra = T::Extra; function visit (line 111) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result { type Extra (line 121) | type Extra = T::Extra; function visit (line 122) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result { type Extra (line 134) | type Extra = T::Extra; function visit (line 135) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result { type Extra (line 147) | type Extra = T::Extra; function visit (line 148) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result { type Extra (line 158) | type Extra = (); function visit (line 159) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result { type Extra (line 172) | type Extra = (); function visit (line 173) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result { type Extra (line 188) | type Extra = (); function visit (line 189) | fn visit(&'a self, visitor: &mut V, extra: Self::Extra) -> V::Result { type Walkable (line 198) | pub(crate) trait Walkable<'a, V: Visitor<'a>> { method walk_ref (line 200) | fn walk_ref(&'a self, visitor: &mut V) -> V::Result; function walk_stmt (line 1184) | pub fn walk_stmt<'a, V: Visitor<'a>>(visitor: &mut V, statement: &'a Stm... FILE: compiler/rustc_ast_ir/src/lib.rs type IntTy (line 28) | pub enum IntTy { method name_str (line 38) | pub fn name_str(&self) -> &'static str { method name (line 50) | pub fn name(self) -> Symbol { method bit_width (line 61) | pub fn bit_width(&self) -> Option { method normalize (line 72) | pub fn normalize(&self, target_width: u16) -> Self { method to_unsigned (line 84) | pub fn to_unsigned(self) -> UintTy { method fmt (line 97) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type UintTy (line 107) | pub enum UintTy { method name_str (line 117) | pub fn name_str(&self) -> &'static str { method name (line 129) | pub fn name(self) -> Symbol { method bit_width (line 140) | pub fn bit_width(&self) -> Option { method normalize (line 151) | pub fn normalize(&self, target_width: u16) -> Self { method to_signed (line 163) | pub fn to_signed(self) -> IntTy { method fmt (line 176) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type FloatTy (line 186) | pub enum FloatTy { method name_str (line 194) | pub fn name_str(self) -> &'static str { method name (line 204) | pub fn name(self) -> Symbol { method bit_width (line 213) | pub fn bit_width(self) -> u64 { method fmt (line 224) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Movability (line 236) | pub enum Movability { type Mutability (line 248) | pub enum Mutability { method invert (line 255) | pub fn invert(self) -> Self { method prefix_str (line 263) | pub fn prefix_str(self) -> &'static str { method ref_prefix_str (line 271) | pub fn ref_prefix_str(self) -> &'static str { method ptr_str (line 279) | pub fn ptr_str(self) -> &'static str { method mutably_str (line 287) | pub fn mutably_str(self) -> &'static str { method is_mut (line 295) | pub fn is_mut(self) -> bool { method is_not (line 300) | pub fn is_not(self) -> bool { type Pinnedness (line 310) | pub enum Pinnedness { method is_pinned (line 317) | pub fn is_pinned(self) -> bool { method prefix_str (line 323) | pub fn prefix_str(self, mutbl: Mutability) -> &'static str { FILE: compiler/rustc_ast_ir/src/visit.rs type VisitorResult (line 4) | pub trait VisitorResult { method output (line 6) | fn output() -> Self; method from_residual (line 7) | fn from_residual(residual: Self::Residual) -> Self; method from_branch (line 8) | fn from_branch(b: ControlFlow) -> Self; method branch (line 9) | fn branch(self) -> ControlFlow; type Residual (line 14) | type Residual = !; type Residual (line 17) | type Residual = core::convert::Infallible; method output (line 19) | fn output() -> Self {} method from_residual (line 20) | fn from_residual(_: Self::Residual) -> Self {} method from_branch (line 21) | fn from_branch(_: ControlFlow) -> Self {} method branch (line 22) | fn branch(self) -> ControlFlow { type Residual (line 28) | type Residual = T; method output (line 30) | fn output() -> Self { method from_residual (line 33) | fn from_residual(residual: Self::Residual) -> Self { method from_branch (line 36) | fn from_branch(b: Self) -> Self { method branch (line 39) | fn branch(self) -> Self { FILE: compiler/rustc_ast_lowering/src/asm.rs function lower_inline_asm (line 26) | pub(crate) fn lower_inline_asm( FILE: compiler/rustc_ast_lowering/src/block.rs function lower_block (line 10) | pub(super) fn lower_block( function lower_block_noalloc (line 19) | pub(super) fn lower_block_noalloc( function lower_stmts (line 30) | pub(super) fn lower_stmts( function impl_trait_in_bindings_ctxt (line 89) | fn impl_trait_in_bindings_ctxt(&self, position: ImplTraitPosition) -> Im... function lower_local (line 97) | fn lower_local(&mut self, l: &Local) -> &'hir hir::LetStmt<'hir> { function lower_block_check_mode (line 117) | fn lower_block_check_mode(&mut self, b: &BlockCheckMode) -> hir::BlockCh... FILE: compiler/rustc_ast_lowering/src/contract.rs function lower_contract (line 18) | pub(super) fn lower_contract( function lower_decls (line 127) | fn lower_decls(&mut self, contract: &rustc_ast::FnContract) -> &'hir [ru... function lower_precond (line 140) | fn lower_precond(&mut self, req: &Box) -> rustc_hir::St... function lower_postcond_checker (line 155) | fn lower_postcond_checker( function lower_contract_check_just_precond (line 173) | fn lower_contract_check_just_precond( function lower_contract_check_with_postcond (line 195) | fn lower_contract_check_with_postcond( function wrap_body_with_contract_check (line 233) | fn wrap_body_with_contract_check( function checked_return (line 279) | pub(super) fn checked_return( function inject_ensures_check (line 294) | pub(super) fn inject_ensures_check( FILE: compiler/rustc_ast_lowering/src/delegation.rs type DelegationResults (line 68) | pub(crate) struct DelegationResults<'hir> { type AttrAdditionInfo (line 75) | struct AttrAdditionInfo { type AttrAdditionKind (line 80) | enum AttrAdditionKind { constant PARENT_ID (line 85) | const PARENT_ID: hir::ItemLocalId = hir::ItemLocalId::ZERO; function is_method (line 110) | fn is_method(&self, def_id: DefId, span: Span) -> bool { function lower_delegation (line 118) | pub(crate) fn lower_delegation( function add_attrs_if_needed (line 179) | fn add_attrs_if_needed(&mut self, span: Span, sig_id: DefId) { function create_new_attrs (line 197) | fn create_new_attrs( function get_sig_id (line 230) | fn get_sig_id(&self, mut node_id: NodeId, span: Span) -> Result Option { function param_count (line 275) | fn param_count(&self, def_id: DefId) -> (usize, bool /*c_variadic*/) { function lower_delegation_decl (line 280) | fn lower_delegation_decl( function lower_delegation_sig (line 321) | fn lower_delegation_sig( function generate_param (line 347) | fn generate_param( function generate_arg (line 372) | fn generate_arg( function lower_delegation_body (line 398) | fn lower_delegation_body( function lower_target_expr (line 454) | fn lower_target_expr(&mut self, block: &Block) -> hir::Expr<'hir> { function finalize_body_lowering (line 480) | fn finalize_body_lowering( function process_segment (line 577) | fn process_segment( function generate_delegation_error (line 605) | fn generate_delegation_error( function generate_header_error (line 661) | fn generate_header_error(&self) -> hir::FnHeader { function mk_expr (line 671) | fn mk_expr(&mut self, kind: hir::ExprKind<'hir>, span: Span) -> hir::Exp... type SelfResolver (line 676) | struct SelfResolver<'a, 'tcx, R> { function try_replace_id (line 684) | fn try_replace_id(&mut self, id: NodeId) { function visit_id (line 696) | fn visit_id(&mut self, id: NodeId) { FILE: compiler/rustc_ast_lowering/src/delegation/generics.rs type DelegationGenerics (line 13) | pub(super) enum DelegationGenerics { type HirOrTyGenerics (line 37) | pub(super) enum HirOrTyGenerics<'hir> { type GenericsGenerationResult (line 42) | pub(super) struct GenericsGenerationResult<'hir> { type GenericsGenerationResults (line 47) | pub(super) struct GenericsGenerationResults<'hir> { type GenericArgsPropagationDetails (line 52) | pub(super) struct GenericArgsPropagationDetails { function args_propagation_details (line 58) | fn args_propagation_details(&self) -> GenericArgsPropagationDetails { function into_hir_generics (line 79) | pub(super) fn into_hir_generics( function hir_generics_or_empty (line 108) | fn hir_generics_or_empty(&self) -> &'hir hir::Generics<'hir> { function into_generic_args (line 120) | pub(super) fn into_generic_args( function args_propagation_details (line 141) | pub(super) fn args_propagation_details(&self) -> GenericArgsPropagationD... function new (line 150) | fn new( function all_params (line 158) | pub(super) fn all_params( function all_predicates (line 192) | pub(super) fn all_predicates( function uplift_delegation_generics (line 214) | pub(super) fn uplift_delegation_generics( function uplift_delegation_generic_params (line 284) | fn uplift_delegation_generic_params( function generate_lifetime_predicate (line 354) | fn generate_lifetime_predicate( function create_generics_args_from_params (line 384) | fn create_generics_args_from_params( FILE: compiler/rustc_ast_lowering/src/errors.rs type GenericTypeWithParentheses (line 8) | pub(crate) struct GenericTypeWithParentheses { type UseAngleBrackets (line 18) | pub(crate) struct UseAngleBrackets { type InvalidAbi (line 28) | pub(crate) struct InvalidAbi { type TupleStructWithDefault (line 40) | pub(crate) struct TupleStructWithDefault { type InvalidAbiSuggestion (line 53) | pub(crate) struct InvalidAbiSuggestion { type AssocTyParentheses (line 61) | pub(crate) struct AssocTyParentheses { type AssocTyParenthesesSub (line 69) | pub(crate) enum AssocTyParenthesesSub { type MisplacedImplTrait (line 87) | pub(crate) struct MisplacedImplTrait<'a> { type MisplacedAssocTyBinding (line 95) | pub(crate) struct MisplacedAssocTyBinding { type UnderscoreExprLhsAssign (line 109) | pub(crate) struct UnderscoreExprLhsAssign { type AwaitOnlyInAsyncFnAndBlocks (line 117) | pub(crate) struct AwaitOnlyInAsyncFnAndBlocks { type CoroutineTooManyParameters (line 127) | pub(crate) struct CoroutineTooManyParameters { type ClosureCannotBeStatic (line 134) | pub(crate) struct ClosureCannotBeStatic { type FunctionalRecordUpdateDestructuringAssignment (line 141) | pub(crate) struct FunctionalRecordUpdateDestructuringAssignment { type AsyncCoroutinesNotSupported (line 153) | pub(crate) struct AsyncCoroutinesNotSupported { type InlineAsmUnsupportedTarget (line 160) | pub(crate) struct InlineAsmUnsupportedTarget { type AttSyntaxOnlyX86 (line 167) | pub(crate) struct AttSyntaxOnlyX86 { type AbiSpecifiedMultipleTimes (line 174) | pub(crate) struct AbiSpecifiedMultipleTimes { type ClobberAbiNotSupported (line 186) | pub(crate) struct ClobberAbiNotSupported { type InvalidAbiClobberAbi (line 194) | pub(crate) struct InvalidAbiClobberAbi<'a> { type InvalidRegister (line 202) | pub(crate) struct InvalidRegister<'a> { type InvalidRegisterClass (line 214) | pub(crate) struct InvalidRegisterClass { type InvalidAsmTemplateModifierRegClass (line 223) | pub(crate) struct InvalidAsmTemplateModifierRegClass { type InvalidAsmTemplateModifierRegClassSub (line 235) | pub(crate) enum InvalidAsmTemplateModifierRegClassSub { type InvalidAsmTemplateModifierConst (line 246) | pub(crate) struct InvalidAsmTemplateModifierConst { type InvalidAsmTemplateModifierSym (line 256) | pub(crate) struct InvalidAsmTemplateModifierSym { type InvalidAsmTemplateModifierLabel (line 266) | pub(crate) struct InvalidAsmTemplateModifierLabel { type RegisterClassOnlyClobber (line 278) | pub(crate) struct RegisterClassOnlyClobber { type RegisterClassOnlyClobberStable (line 286) | pub(crate) struct RegisterClassOnlyClobberStable { type RegisterConflict (line 294) | pub(crate) struct RegisterConflict<'a> { type SubTupleBinding (line 309) | pub(crate) struct SubTupleBinding<'a> { type ExtraDoubleDot (line 326) | pub(crate) struct ExtraDoubleDot<'a> { type MisplacedDoubleDot (line 338) | pub(crate) struct MisplacedDoubleDot { type MatchArmWithNoBody (line 345) | pub(crate) struct MatchArmWithNoBody { type NeverPatternWithBody (line 358) | pub(crate) struct NeverPatternWithBody { type NeverPatternWithGuard (line 367) | pub(crate) struct NeverPatternWithGuard { type ArbitraryExpressionInPattern (line 375) | pub(crate) struct ArbitraryExpressionInPattern { type InclusiveRangeWithNoEnd (line 386) | pub(crate) struct InclusiveRangeWithNoEnd { type RTNSuggestion (line 398) | pub(crate) struct RTNSuggestion { type BadReturnTypeNotation (line 406) | pub(crate) enum BadReturnTypeNotation { type GenericParamDefaultInBinder (line 445) | pub(crate) struct GenericParamDefaultInBinder { type AsyncBoundNotOnTrait (line 452) | pub(crate) struct AsyncBoundNotOnTrait { type AsyncBoundOnlyForFnTraits (line 460) | pub(crate) struct AsyncBoundOnlyForFnTraits { type NoPreciseCapturesOnApit (line 467) | pub(crate) struct NoPreciseCapturesOnApit { type YieldInClosure (line 474) | pub(crate) struct YieldInClosure { type InvalidLegacyConstGenericArg (line 490) | pub(crate) struct InvalidLegacyConstGenericArg { type UseConstGenericArg (line 502) | pub(crate) struct UseConstGenericArg { type UnionWithDefault (line 513) | pub(crate) struct UnionWithDefault { type UnresolvedDelegationCallee (line 520) | pub(crate) struct UnresolvedDelegationCallee { type CycleInDelegationSignatureResolution (line 527) | pub(crate) struct CycleInDelegationSignatureResolution { FILE: compiler/rustc_ast_lowering/src/expr.rs type WillCreateDefIdsVisitor (line 32) | struct WillCreateDefIdsVisitor {} type Result (line 35) | type Result = ControlFlow; method visit_anon_const (line 37) | fn visit_anon_const(&mut self, c: &'v AnonConst) -> Self::Result { method visit_item (line 41) | fn visit_item(&mut self, item: &'v Item) -> Self::Result { method visit_expr (line 45) | fn visit_expr(&mut self, ex: &'v Expr) -> Self::Result { function lower_exprs (line 56) | fn lower_exprs(&mut self, exprs: &[Box]) -> &'hir [hir::Expr<'hir>] { function lower_expr (line 60) | pub(super) fn lower_expr(&mut self, e: &Expr) -> &'hir hir::Expr<'hir> { function lower_expr_mut (line 64) | pub(super) fn lower_expr_mut(&mut self, e: &Expr) -> hir::Expr<'hir> { function lower_const_block (line 397) | pub(crate) fn lower_const_block(&mut self, c: &AnonConst) -> hir::ConstB... function lower_lit (line 408) | pub(crate) fn lower_lit(&mut self, token_lit: &token::Lit, span: Span) -... function lower_unop (line 419) | fn lower_unop(&mut self, u: UnOp) -> hir::UnOp { function lower_binop (line 427) | fn lower_binop(&mut self, b: BinOp) -> BinOp { function lower_assign_op (line 431) | fn lower_assign_op(&mut self, a: AssignOp) -> AssignOp { function lower_legacy_const_generics (line 435) | fn lower_legacy_const_generics( function lower_expr_if (line 519) | fn lower_expr_if( function lower_expr_while_in_loop_scope (line 554) | fn lower_expr_while_in_loop_scope( function lower_expr_try_block (line 577) | fn lower_expr_try_block(&mut self, body: &Block, opt_ty: Option<&Ty>) ->... function wrap_in_try_constructor (line 630) | fn wrap_in_try_constructor( function lower_arm (line 641) | fn lower_arm(&mut self, arm: &Arm) -> hir::Arm<'hir> { function lower_capture_clause (line 688) | fn lower_capture_clause(&mut self, capture_clause: CaptureBy) -> Capture... function make_desugared_coroutine_expr (line 707) | pub(super) fn make_desugared_coroutine_expr( function maybe_forward_track_caller (line 800) | pub(super) fn maybe_forward_track_caller( function lower_expr_await (line 847) | fn lower_expr_await(&mut self, await_kw_span: Span, expr: &Expr) -> hir:... function make_lowered_await (line 853) | fn make_lowered_await( function lower_expr_use (line 1054) | fn lower_expr_use(&mut self, use_kw_span: Span, expr: &Expr) -> hir::Exp... function lower_expr_closure (line 1058) | fn lower_expr_closure( function closure_movability_for_fn (line 1116) | fn closure_movability_for_fn( function lower_closure_binder (line 1146) | fn lower_closure_binder<'c>( function lower_expr_coroutine_closure (line 1161) | fn lower_expr_coroutine_closure( function lower_expr_assign (line 1239) | fn lower_expr_assign( function extract_tuple_struct_path (line 1299) | fn extract_tuple_struct_path<'a>( function extract_unit_struct_path (line 1321) | fn extract_unit_struct_path<'a>( function destructure_assign (line 1341) | fn destructure_assign( function destructure_assign_mut (line 1350) | fn destructure_assign_mut( function destructure_sequence (line 1493) | fn destructure_sequence( function lower_expr_range_closed (line 1519) | fn lower_expr_range_closed(&mut self, span: Span, e1: &Expr, e2: &Expr) ... function lower_expr_range (line 1527) | fn lower_expr_range( function lower_label (line 1616) | fn lower_label( function lower_loop_destination (line 1627) | fn lower_loop_destination(&mut self, destination: Option<(NodeId, Label)... function lower_jump_destination (line 1648) | fn lower_jump_destination(&mut self, id: NodeId, opt_label: Option( function with_loop_scope (line 1670) | fn with_loop_scope(&mut self, loop_id: hir::HirId, f: impl FnOnce(&mu... function with_loop_condition_scope (line 1684) | fn with_loop_condition_scope(&mut self, f: impl FnOnce(&mut Self) -> ... function lower_expr_field (line 1695) | fn lower_expr_field(&mut self, f: &ExprField) -> hir::ExprField<'hir> { function lower_expr_yield (line 1707) | fn lower_expr_yield(&mut self, span: Span, opt_expr: Option<&Expr>) -> h... function lower_expr_for (line 1804) | fn lower_expr_for( function lower_expr_try (line 1980) | fn lower_expr_try(&mut self, span: Span, sub_expr: &Expr) -> hir::ExprKi... function lower_expr_yeet (line 2076) | fn lower_expr_yeet(&mut self, span: Span, sub_expr: Option<&Expr>) -> hi... function expr_drop_temps (line 2119) | pub(super) fn expr_drop_temps( function expr_drop_temps_mut (line 2127) | pub(super) fn expr_drop_temps_mut( function expr_match (line 2135) | pub(super) fn expr_match( function expr_break (line 2145) | fn expr_break(&mut self, span: Span) -> hir::Expr<'hir> { function expr_break_alloc (line 2150) | fn expr_break_alloc(&mut self, span: Span) -> &'hir hir::Expr<'hir> { function expr_mut_addr_of (line 2155) | fn expr_mut_addr_of(&mut self, span: Span, e: &'hir hir::Expr<'hir>) -> ... function expr_unit (line 2159) | pub(super) fn expr_unit(&mut self, sp: Span) -> &'hir hir::Expr<'hir> { function expr_str (line 2163) | pub(super) fn expr_str(&mut self, sp: Span, value: Symbol) -> hir::Expr<... function expr_byte_str (line 2171) | pub(super) fn expr_byte_str(&mut self, sp: Span, value: ByteSymbol) -> h... function expr_call_mut (line 2179) | pub(super) fn expr_call_mut( function expr_struct (line 2188) | pub(super) fn expr_struct( function expr_enum_variant (line 2197) | pub(super) fn expr_enum_variant( function expr_enum_variant_lang_item (line 2215) | pub(super) fn expr_enum_variant_lang_item( function expr_call (line 2225) | pub(super) fn expr_call( function expr_call_lang_item_fn_mut (line 2234) | pub(super) fn expr_call_lang_item_fn_mut( function expr_call_lang_item_fn (line 2244) | pub(super) fn expr_call_lang_item_fn( function expr_lang_item_path (line 2253) | pub(super) fn expr_lang_item_path( function expr_lang_item_type_relative (line 2263) | pub(super) fn expr_lang_item_type_relative( function expr_ident (line 2281) | pub(super) fn expr_ident( function expr_ident_mut (line 2290) | pub(super) fn expr_ident_mut( function expr_unsafe (line 2310) | pub(super) fn expr_unsafe( function expr_block_empty (line 2332) | fn expr_block_empty(&mut self, span: Span) -> &'hir hir::Expr<'hir> { function expr_block (line 2338) | pub(super) fn expr_block(&mut self, b: &'hir hir::Block<'hir>) -> hir::E... function block_expr_block (line 2345) | pub(super) fn block_expr_block( function expr_ref (line 2353) | pub(super) fn expr_ref(&mut self, span: Span, expr: &'hir hir::Expr<'hir... function expr_bool_literal (line 2357) | pub(super) fn expr_bool_literal(&mut self, span: Span, val: bool) -> hir... function expr (line 2361) | pub(super) fn expr(&mut self, span: Span, kind: hir::ExprKind<'hir>) -> ... function expr_field (line 2366) | pub(super) fn expr_field( function arm (line 2381) | pub(super) fn arm( function unreachable_code_attr (line 2397) | pub(super) fn unreachable_code_attr(&mut self, span: Span) -> Attribute { type FutureKind (line 2413) | enum FutureKind { FILE: compiler/rustc_ast_lowering/src/format.rs function lower_format_args (line 13) | pub(crate) fn lower_format_args(&mut self, sp: Span, fmt: &FormatArgs) -... function try_inline_lit (line 33) | fn try_inline_lit(&self, lit: token::Lit) -> Option { function int_ty_max (line 57) | fn int_ty_max(&self, int_ty: IntTy) -> u128 { function uint_ty_max (line 69) | fn uint_ty_max(&self, uint_ty: UintTy) -> u128 { function inline_literals (line 89) | fn inline_literals<'fmt>(&self, mut fmt: Cow<'fmt, FormatArgs>) -> Cow<'... function flatten_format_args (line 152) | fn flatten_format_args(mut fmt: Cow<'_, FormatArgs>) -> Cow<'_, FormatAr... type ArgumentType (line 221) | enum ArgumentType { function make_argument (line 233) | fn make_argument<'hir>( function make_count (line 266) | fn make_count( function expand_format_args (line 280) | fn expand_format_args<'hir>( function for_all_argument_indexes (line 539) | fn for_all_argument_indexes(template: &mut [FormatArgsPiece], mut f: imp... FILE: compiler/rustc_ast_lowering/src/index.rs type NodeCollector (line 14) | struct NodeCollector<'a, 'hir> { function index_hir (line 30) | pub(super) fn index_hir<'hir>( function insert (line 75) | fn insert(&mut self, span: Span, hir_id: HirId, node: Node<'hir>) { function with_parent (line 112) | fn with_parent(&mut self, parent_node_id: HirId, f... function insert_nested (line 120) | fn insert_nested(&mut self, item: LocalDefId) { function visit_nested_item (line 132) | fn visit_nested_item(&mut self, item: ItemId) { function visit_nested_trait_item (line 137) | fn visit_nested_trait_item(&mut self, item_id: TraitItemId) { function visit_nested_impl_item (line 141) | fn visit_nested_impl_item(&mut self, item_id: ImplItemId) { function visit_nested_foreign_item (line 145) | fn visit_nested_foreign_item(&mut self, foreign_id: ForeignItemId) { function visit_nested_body (line 149) | fn visit_nested_body(&mut self, id: BodyId) { function visit_param (line 155) | fn visit_param(&mut self, param: &'hir Param<'hir>) { function visit_item (line 164) | fn visit_item(&mut self, i: &'hir Item<'hir>) { function visit_foreign_item (line 178) | fn visit_foreign_item(&mut self, fi: &'hir ForeignItem<'hir>) { function visit_generic_param (line 185) | fn visit_generic_param(&mut self, param: &'hir GenericParam<'hir>) { function visit_const_param_default (line 190) | fn visit_const_param_default(&mut self, param: HirId, ct: &'hir ConstArg... function visit_trait_item (line 197) | fn visit_trait_item(&mut self, ti: &'hir TraitItem<'hir>) { function visit_impl_item (line 205) | fn visit_impl_item(&mut self, ii: &'hir ImplItem<'hir>) { function visit_pat (line 212) | fn visit_pat(&mut self, pat: &'hir Pat<'hir>) { function visit_pat_expr (line 220) | fn visit_pat_expr(&mut self, expr: &'hir PatExpr<'hir>) { function visit_pat_field (line 228) | fn visit_pat_field(&mut self, field: &'hir PatField<'hir>) { function visit_arm (line 235) | fn visit_arm(&mut self, arm: &'hir Arm<'hir>) { function visit_opaque_ty (line 245) | fn visit_opaque_ty(&mut self, opaq: &'hir OpaqueTy<'hir>) { function visit_anon_const (line 253) | fn visit_anon_const(&mut self, constant: &'hir AnonConst) { function visit_inline_const (line 261) | fn visit_inline_const(&mut self, constant: &'hir ConstBlock) { function visit_expr (line 269) | fn visit_expr(&mut self, expr: &'hir Expr<'hir>) { function visit_expr_field (line 277) | fn visit_expr_field(&mut self, field: &'hir ExprField<'hir>) { function visit_const_arg_expr_field (line 284) | fn visit_const_arg_expr_field(&mut self, field: &'hir ConstArgExprField<... function visit_stmt (line 291) | fn visit_stmt(&mut self, stmt: &'hir Stmt<'hir>) { function visit_path_segment (line 299) | fn visit_path_segment(&mut self, path_segment: &'hir PathSegment<'hir>) { function visit_ty (line 305) | fn visit_ty(&mut self, ty: &'hir Ty<'hir, AmbigArg>) { function visit_const_arg (line 313) | fn visit_const_arg(&mut self, const_arg: &'hir ConstArg<'hir, AmbigArg>) { function visit_infer (line 325) | fn visit_infer( function visit_trait_ref (line 340) | fn visit_trait_ref(&mut self, tr: &'hir TraitRef<'hir>) { function visit_block (line 348) | fn visit_block(&mut self, block: &'hir Block<'hir>) { function visit_local (line 355) | fn visit_local(&mut self, l: &'hir LetStmt<'hir>) { function visit_lifetime (line 362) | fn visit_lifetime(&mut self, lifetime: &'hir Lifetime) { function visit_variant (line 366) | fn visit_variant(&mut self, v: &'hir Variant<'hir>) { function visit_field_def (line 377) | fn visit_field_def(&mut self, field: &'hir FieldDef<'hir>) { function visit_assoc_item_constraint (line 384) | fn visit_assoc_item_constraint(&mut self, constraint: &'hir AssocItemCon... function visit_trait_item_ref (line 391) | fn visit_trait_item_ref(&mut self, id: &'hir TraitItemId) { function visit_impl_item_ref (line 395) | fn visit_impl_item_ref(&mut self, id: &'hir ImplItemId) { function visit_foreign_item_ref (line 399) | fn visit_foreign_item_ref(&mut self, id: &'hir ForeignItemId) { function visit_where_predicate (line 403) | fn visit_where_predicate(&mut self, predicate: &'hir WherePredicate<'hir... function visit_pattern_type_pattern (line 410) | fn visit_pattern_type_pattern(&mut self, pat: &'hir hir::TyPat<'hir>) { function visit_precise_capturing_arg (line 418) | fn visit_precise_capturing_arg( FILE: compiler/rustc_ast_lowering/src/item.rs type Owners (line 35) | pub(super) enum Owners<'a, 'hir> { function get_or_insert_mut (line 41) | fn get_or_insert_mut(&mut self, def_id: LocalDefId) -> &mut hir::MaybeOw... type ItemLowerer (line 51) | pub(super) struct ItemLowerer<'a, 'hir, R> { function add_ty_alias_where_clause (line 61) | fn add_ty_alias_where_clause( function with_lctx (line 78) | fn with_lctx( function lower_node (line 96) | pub(super) fn lower_node(&mut self, def_id: LocalDefId) { function lower_mod (line 126) | pub(super) fn lower_mod( function lower_item_ref (line 140) | pub(super) fn lower_item_ref(&mut self, i: &Item) -> SmallVec<[hir::Item... function lower_item_id_use_tree (line 148) | fn lower_item_id_use_tree(&mut self, tree: &UseTree, vec: &mut SmallVec<... function lower_eii_decl (line 160) | fn lower_eii_decl( function lower_eii_impl (line 173) | fn lower_eii_impl( function generate_extra_attrs_for_item_kind (line 210) | fn generate_extra_attrs_for_item_kind( function lower_item (line 249) | fn lower_item(&mut self, i: &Item) -> &'hir hir::Item<'hir> { function lower_item_kind (line 274) | fn lower_item_kind( function lower_path_simple_eii (line 618) | fn lower_path_simple_eii(&mut self, id: NodeId, path: &Path) -> Option hir... function lower_foreign_item (line 775) | fn lower_foreign_item(&mut self, i: &ForeignItem) -> &'hir hir::ForeignI... function lower_foreign_item_ref (line 842) | fn lower_foreign_item_ref(&mut self, i: &ForeignItem) -> hir::ForeignIte... function lower_variant (line 846) | fn lower_variant(&mut self, item_kind: &ItemKind, v: &Variant) -> hir::V... function lower_variant_data (line 862) | fn lower_variant_data( function lower_field_def (line 928) | pub(super) fn lower_field_def( function lower_trait_item (line 955) | fn lower_trait_item(&mut self, i: &AssocItem) -> &'hir hir::TraitItem<'h... function lower_trait_item_ref (line 1140) | fn lower_trait_item_ref(&mut self, i: &AssocItem) -> hir::TraitItemId { function expr_err (line 1145) | pub(crate) fn expr_err(&mut self, span: Span, guar: ErrorGuaranteed) -> ... function lower_trait_impl_header (line 1149) | fn lower_trait_impl_header( function lower_impl_item (line 1185) | fn lower_impl_item( function lower_impl_item_ref (line 1339) | fn lower_impl_item_ref(&mut self, i: &AssocItem) -> hir::ImplItemId { function lower_defaultness (line 1343) | fn lower_defaultness( function record_body (line 1358) | fn record_body( function lower_body (line 1370) | pub(super) fn lower_body( function lower_param (line 1385) | fn lower_param(&mut self, param: &Param) -> hir::Param<'hir> { function lower_fn_body (line 1396) | pub(super) fn lower_fn_body( function lower_fn_body_block (line 1419) | fn lower_fn_body_block( function lower_const_body (line 1429) | pub(super) fn lower_const_body(&mut self, span: Span, expr: Option<&Expr... function lower_maybe_coroutine_body (line 1446) | fn lower_maybe_coroutine_body( function lower_coroutine_body_with_moved_arguments (line 1512) | pub(crate) fn lower_coroutine_body_with_moved_arguments( function lower_method_sig (line 1709) | fn lower_method_sig( function lower_fn_header (line 1726) | pub(super) fn lower_fn_header( function lower_abi (line 1758) | pub(super) fn lower_abi(&mut self, abi_str: StrLit) -> ExternAbi { function lower_extern (line 1790) | pub(super) fn lower_extern(&mut self, ext: Extern) -> ExternAbi { function error_on_invalid_abi (line 1798) | fn error_on_invalid_abi(&self, abi: StrLit) { function lower_constness (line 1815) | pub(super) fn lower_constness(&mut self, c: Const) -> hir::Constness { function lower_safety (line 1822) | pub(super) fn lower_safety(&self, s: Safety, default: hir::Safety) -> hi... function lower_generics (line 1833) | fn lower_generics( function lower_define_opaque (line 1902) | pub(super) fn lower_define_opaque( function lower_generic_bound_predicate (line 1931) | pub(super) fn lower_generic_bound_predicate( function lower_where_predicate (line 2000) | fn lower_where_predicate( FILE: compiler/rustc_ast_lowering/src/lib.rs type LoweringContext (line 93) | struct LoweringContext<'a, 'hir, R> { function new (line 156) | fn new(tcx: TyCtxt<'hir>, resolver: &'a mut R) -> Self { function dcx (line 218) | pub(crate) fn dcx(&self) -> DiagCtxtHandle<'hir> { type SpanLowerer (line 223) | struct SpanLowerer { method lower (line 229) | fn lower(&self, span: Span) -> Span { type ResolverDelayedAstLowering (line 239) | struct ResolverDelayedAstLowering<'a, 'tcx> { function legacy_const_generic_args (line 248) | fn legacy_const_generic_args(&self, expr: &Expr, tcx: TyCtxt<'tcx>) -> O... function get_partial_res (line 252) | fn get_partial_res(&self, id: NodeId) -> Option { function get_import_res (line 256) | fn get_import_res(&self, id: NodeId) -> PerNS>> { function get_label_res (line 260) | fn get_label_res(&self, id: NodeId) -> Option { function get_lifetime_res (line 264) | fn get_lifetime_res(&self, id: NodeId) -> Option { function extra_lifetime_params (line 268) | fn extra_lifetime_params(&self, id: NodeId) -> Vec<(Ident, NodeId, Lifet... function delegation_info (line 272) | fn delegation_info(&self, id: LocalDefId) -> Option<&DelegationInfo> { function opt_local_def_id (line 276) | fn opt_local_def_id(&self, id: NodeId) -> Option { function local_def_id (line 280) | fn local_def_id(&self, id: NodeId) -> LocalDefId { function lifetime_elision_allowed (line 284) | fn lifetime_elision_allowed(&self, id: NodeId) -> bool { function insert_new_def_id (line 288) | fn insert_new_def_id(&mut self, node_id: NodeId, def_id: LocalDefId) { function insert_partial_res (line 292) | fn insert_partial_res(&mut self, node_id: NodeId, res: PartialRes) { function trait_candidates (line 296) | fn trait_candidates(&self, node_id: NodeId) -> Option<&'tcx [hir::TraitC... function next_node_id (line 301) | fn next_node_id(&mut self) -> NodeId { function next_node_id (line 306) | fn next_node_id(current_id: &mut NodeId) -> NodeId { function legacy_const_generic_args (line 316) | fn legacy_const_generic_args(&self, expr: &Expr, tcx: TyCtxt<'tcx>) -> O... function get_partial_res (line 344) | fn get_partial_res(&self, id: NodeId) -> Option { function get_import_res (line 349) | fn get_import_res(&self, id: NodeId) -> PerNS>> { function get_label_res (line 354) | fn get_label_res(&self, id: NodeId) -> Option { function get_lifetime_res (line 359) | fn get_lifetime_res(&self, id: NodeId) -> Option { function extra_lifetime_params (line 370) | fn extra_lifetime_params(&self, id: NodeId) -> Vec<(Ident, NodeId, Lifet... function delegation_info (line 374) | fn delegation_info(&self, id: LocalDefId) -> Option<&DelegationInfo> { function opt_local_def_id (line 378) | fn opt_local_def_id(&self, id: NodeId) -> Option { function local_def_id (line 382) | fn local_def_id(&self, id: NodeId) -> LocalDefId { function lifetime_elision_allowed (line 386) | fn lifetime_elision_allowed(&self, id: NodeId) -> bool { function insert_new_def_id (line 390) | fn insert_new_def_id(&mut self, node_id: NodeId, def_id: LocalDefId) { function insert_partial_res (line 394) | fn insert_partial_res(&mut self, node_id: NodeId, res: PartialRes) { function trait_candidates (line 398) | fn trait_candidates(&self, node_id: NodeId) -> Option<&'tcx [hir::TraitC... function next_node_id (line 403) | fn next_node_id(&mut self) -> NodeId { type RelaxedBoundPolicy (line 413) | enum RelaxedBoundPolicy<'a> { type RelaxedBoundForbiddenReason (line 420) | enum RelaxedBoundForbiddenReason { type ImplTraitContext (line 431) | enum ImplTraitContext { type ImplTraitPosition (line 459) | enum ImplTraitPosition { method fmt (line 484) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type FnDeclKind (line 514) | enum FnDeclKind { type AstOwner (line 525) | enum AstOwner<'a> { type TryBlockScope (line 534) | enum TryBlockScope { function index_crate (line 545) | fn index_crate<'a, 'b>( function compute_hir_hash (line 591) | fn compute_hir_hash( function lower_to_hir (line 612) | pub fn lower_to_hir(tcx: TyCtxt<'_>, (): ()) -> mid_hir::Crate<'_> { function lower_delayed_owner (line 654) | pub fn lower_delayed_owner(tcx: TyCtxt<'_>, def_id: LocalDefId) { type ParamMode (line 687) | enum ParamMode { type AllowReturnTypeNotation (line 695) | enum AllowReturnTypeNotation { type GenericArgsMode (line 702) | enum GenericArgsMode { function create_def (line 714) | fn create_def( function next_node_id (line 744) | fn next_node_id(&mut self) -> NodeId { function opt_local_def_id (line 750) | fn opt_local_def_id(&self, node: NodeId) -> Option { function local_def_id (line 754) | fn local_def_id(&self, node: NodeId) -> LocalDefId { function owner_id (line 759) | fn owner_id(&self, node: NodeId) -> hir::OwnerId { function with_hir_id_owner (line 769) | fn with_hir_id_owner( function make_owner_info (line 830) | fn make_owner_info(&mut self, node: hir::OwnerNode<'hir>) -> &'hir hir::... function lower_node_id (line 867) | fn lower_node_id(&mut self, ast_node_id: NodeId) -> HirId { function next_id (line 896) | fn next_id(&mut self) -> HirId { function lower_res (line 905) | fn lower_res(&mut self, res: Res) -> Res { function expect_full_res (line 921) | fn expect_full_res(&mut self, id: NodeId) -> Res { function lower_import_res (line 925) | fn lower_import_res(&mut self, id: NodeId, span: Span) -> PerNS SpanLowerer { function lower_span (line 990) | fn lower_span(&self, span: Span) -> Span { function lower_ident (line 994) | fn lower_ident(&self, ident: Ident) -> Ident { function lifetime_res_to_generic_param (line 1000) | fn lifetime_res_to_generic_param( function lower_lifetime_binder (line 1051) | fn lower_lifetime_binder( function with_dyn_type_scope (line 1077) | fn with_dyn_type_scope(&mut self, in_scope: bool, f: impl FnOnce(&mut... function with_new_scopes (line 1088) | fn with_new_scopes(&mut self, scope_span: Span, f: impl FnOnce(&mut S... function lower_attrs (line 1112) | fn lower_attrs( function lower_attrs_with_extra (line 1122) | fn lower_attrs_with_extra( function lower_attrs_vec (line 1155) | fn lower_attrs_vec( function alias_attrs (line 1180) | fn alias_attrs(&mut self, id: HirId, target_id: HirId) { function lower_delim_args (line 1189) | fn lower_delim_args(&self, args: &DelimArgs) -> DelimArgs { function lower_assoc_item_constraint (line 1195) | fn lower_assoc_item_constraint( function emit_bad_parenthesized_trait_in_assoc_ty (line 1323) | fn emit_bad_parenthesized_trait_in_assoc_ty(&self, data: &ParenthesizedA... function lower_generic_arg (line 1348) | fn lower_generic_arg( function lower_ty_alloc (line 1411) | fn lower_ty_alloc(&mut self, t: &Ty, itctx: ImplTraitContext) -> &'hir h... function lower_path_ty (line 1415) | fn lower_path_ty( function ty (line 1468) | fn ty(&mut self, span: Span, kind: hir::TyKind<'hir>) -> hir::Ty<'hir> { function ty_tup (line 1472) | fn ty_tup(&mut self, span: Span, tys: &'hir [hir::Ty<'hir>]) -> hir::Ty<... function lower_ty (line 1476) | fn lower_ty(&mut self, t: &Ty, itctx: ImplTraitContext) -> hir::Ty<'hir> { function lower_ty_direct_lifetime (line 1670) | fn lower_ty_direct_lifetime( function lower_opaque_impl_trait (line 1727) | fn lower_opaque_impl_trait( function lower_opaque_inner (line 1747) | fn lower_opaque_inner( function lower_precise_capturing_args (line 1771) | fn lower_precise_capturing_args( function lower_fn_params_to_idents (line 1795) | fn lower_fn_params_to_idents(&mut self, decl: &FnDecl) -> &'hir [Option<... function lower_fn_decl (line 1820) | fn lower_fn_decl( function lower_coroutine_fn_ret_ty (line 1937) | fn lower_coroutine_fn_ret_ty( function lower_coroutine_fn_output_type_to_bound (line 1989) | fn lower_coroutine_fn_output_type_to_bound( function lower_param_bound (line 2033) | fn lower_param_bound( function lower_lifetime (line 2055) | fn lower_lifetime( function lower_lifetime_hidden_in_path (line 2064) | fn lower_lifetime_hidden_in_path( function new_named_lifetime (line 2080) | fn new_named_lifetime( function lower_generic_params_mut (line 2123) | fn lower_generic_params_mut( function lower_generic_params (line 2131) | fn lower_generic_params( function lower_generic_param (line 2140) | fn lower_generic_param( function lower_generic_param_kind (line 2164) | fn lower_generic_param_kind( function lower_trait_ref (line 2242) | fn lower_trait_ref( function lower_poly_trait_ref (line 2264) | fn lower_poly_trait_ref( function validate_relaxed_bound (line 2287) | fn validate_relaxed_bound( function lower_mt (line 2365) | fn lower_mt(&mut self, mt: &MutTy, itctx: ImplTraitContext) -> hir::MutT... function lower_param_bounds (line 2370) | fn lower_param_bounds( function lower_param_bounds_mut (line 2379) | fn lower_param_bounds_mut( function lower_universal_param_and_bounds (line 2389) | fn lower_universal_param_and_bounds( function lower_block_expr (line 2441) | fn lower_block_expr(&mut self, b: &Block) -> hir::Expr<'hir> { function lower_array_length_to_const_arg (line 2446) | fn lower_array_length_to_const_arg(&mut self, c: &AnonConst) -> &'hir hi... function lower_const_path_to_const_arg (line 2466) | fn lower_const_path_to_const_arg( function lower_const_item_rhs (line 2533) | fn lower_const_item_rhs( function lower_expr_to_const_arg_direct (line 2562) | fn lower_expr_to_const_arg_direct(&mut self, expr: &Expr) -> hir::ConstA... function lower_anon_const_to_const_arg_and_alloc (line 2729) | fn lower_anon_const_to_const_arg_and_alloc( function lower_anon_const_to_const_arg (line 2737) | fn lower_anon_const_to_const_arg( function lower_anon_const_to_anon_const (line 2808) | fn lower_anon_const_to_anon_const( function lower_unsafe_source (line 2825) | fn lower_unsafe_source(&mut self, u: UnsafeSource) -> hir::UnsafeSource { function lower_trait_bound_modifiers (line 2832) | fn lower_trait_bound_modifiers( function stmt (line 2851) | fn stmt(&mut self, span: Span, kind: hir::StmtKind<'hir>) -> hir::Stmt<'... function stmt_expr (line 2855) | fn stmt_expr(&mut self, span: Span, expr: hir::Expr<'hir>) -> hir::Stmt<... function stmt_let_pat (line 2859) | fn stmt_let_pat( function stmt_super_let_pat (line 2885) | fn stmt_super_let_pat( function block_expr (line 2906) | fn block_expr(&mut self, expr: &'hir hir::Expr<'hir>) -> &'hir hir::Bloc... function block_all (line 2910) | fn block_all( function pat_cf_continue (line 2927) | fn pat_cf_continue(&mut self, span: Span, pat: &'hir hir::Pat<'hir>) -> ... function pat_cf_break (line 2932) | fn pat_cf_break(&mut self, span: Span, pat: &'hir hir::Pat<'hir>) -> &'h... function pat_some (line 2937) | fn pat_some(&mut self, span: Span, pat: &'hir hir::Pat<'hir>) -> &'hir h... function pat_none (line 2942) | fn pat_none(&mut self, span: Span) -> &'hir hir::Pat<'hir> { function single_pat_field (line 2946) | fn single_pat_field( function pat_lang_item_variant (line 2961) | fn pat_lang_item_variant( function pat_ident (line 2971) | fn pat_ident(&mut self, span: Span, ident: Ident) -> (&'hir hir::Pat<'hi... function pat_ident_mut (line 2975) | fn pat_ident_mut(&mut self, span: Span, ident: Ident) -> (hir::Pat<'hir>... function pat_ident_binding_mode (line 2979) | fn pat_ident_binding_mode( function pat_ident_binding_mode_mut (line 2989) | fn pat_ident_binding_mode_mut( function pat (line 3008) | fn pat(&mut self, span: Span, kind: hir::PatKind<'hir>) -> &'hir hir::Pa... function pat_without_dbm (line 3017) | fn pat_without_dbm(&mut self, span: Span, kind: hir::PatKind<'hir>) -> h... function ty_path (line 3026) | fn ty_path(&mut self, mut hir_id: HirId, span: Span, qpath: hir::QPath<'... function elided_dyn_bound (line 3060) | fn elided_dyn_bound(&mut self, span: Span) -> &'hir hir::Lifetime { type GenericArgsCtor (line 3074) | struct GenericArgsCtor<'hir> { function is_empty (line 3082) | fn is_empty(&self) -> bool { function into_generic_args (line 3088) | fn into_generic_args( FILE: compiler/rustc_ast_lowering/src/pat.rs function lower_pat (line 18) | pub(crate) fn lower_pat(&mut self, pattern: &Pat) -> &'hir hir::Pat<'hir> { function lower_pat_mut (line 22) | fn lower_pat_mut(&mut self, mut pattern: &Pat) -> hir::Pat<'hir> { function lower_pat_tuple (line 160) | fn lower_pat_tuple( function lower_pat_slice (line 217) | fn lower_pat_slice(&mut self, pats: &[Pat]) -> hir::PatKind<'hir> { function lower_pat_ident (line 283) | fn lower_pat_ident( function pat_wild_with_node_id_of (line 340) | fn pat_wild_with_node_id_of(&mut self, p: &Pat, hir_id: hir::HirId) -> &... function pat_with_node_id_of (line 345) | fn pat_with_node_id_of( function ban_extra_rest_pat (line 355) | pub(crate) fn ban_extra_rest_pat(&self, sp: Span, prev_sp: Span, ctx: &s... function ban_illegal_rest_pat (line 360) | fn ban_illegal_rest_pat(&self, sp: Span) -> hir::PatKind<'hir> { function lower_range_end (line 369) | fn lower_range_end(&mut self, e: &RangeEnd, has_end: bool) -> hir::Range... function lower_expr_within_pat (line 392) | fn lower_expr_within_pat( function lower_ty_pat (line 436) | pub(crate) fn lower_ty_pat( function lower_ty_pat_mut (line 444) | fn lower_ty_pat_mut(&mut self, pattern: &TyPat, base_type: Span) -> hir:... function lower_excluded_range_end (line 485) | fn lower_excluded_range_end(&mut self, e: &AnonConst) -> &'hir hir::Cons... function lower_ty_pat_range_end (line 525) | fn lower_ty_pat_range_end( FILE: compiler/rustc_ast_lowering/src/path.rs function lower_qpath (line 25) | pub(crate) fn lower_qpath( function lower_use_path (line 230) | pub(crate) fn lower_use_path( function lower_path_segment (line 253) | pub(crate) fn lower_path_segment( function maybe_insert_elided_lifetimes_in_path (line 419) | fn maybe_insert_elided_lifetimes_in_path( function lower_angle_bracketed_parameter_data (line 468) | pub(crate) fn lower_angle_bracketed_parameter_data( function lower_parenthesized_parameter_data (line 503) | fn lower_parenthesized_parameter_data( function assoc_ty_binding (line 569) | pub(crate) fn assoc_ty_binding( function map_trait_to_async_trait (line 600) | fn map_trait_to_async_trait(&self, def_id: DefId) -> Option { FILE: compiler/rustc_ast_lowering/src/stability.rs function enabled_names (line 10) | pub(crate) fn enabled_names(features: &rustc_feature::Features, span: Sp... function extern_abi_enabled (line 18) | pub(crate) fn extern_abi_enabled( function gate_unstable_abi (line 32) | pub(crate) fn gate_unstable_abi(sess: &Session, features: &Features, spa... type UnstableAbi (line 42) | pub struct UnstableAbi { method fmt (line 54) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type GateReason (line 48) | enum GateReason { function extern_abi_stability (line 67) | pub fn extern_abi_stability(abi: ExternAbi) -> Result<(), UnstableAbi> { FILE: compiler/rustc_ast_passes/src/ast_validation.rs type SelfSemantic (line 45) | enum SelfSemantic { type TraitOrImpl (line 50) | enum TraitOrImpl { method constness (line 57) | fn constness(&self) -> Option { type AllowDefault (line 67) | enum AllowDefault { method when (line 73) | fn when(b: bool) -> Self { type AllowFinal (line 78) | enum AllowFinal { method when (line 84) | fn when(b: bool) -> Self { type AstValidator (line 89) | struct AstValidator<'a> { function with_in_trait_or_impl (line 119) | fn with_in_trait_or_impl( function with_in_trait (line 129) | fn with_in_trait(&mut self, vis: Span, constness: Const, f: impl FnOnce(... function with_in_extern_mod (line 138) | fn with_in_extern_mod( function with_tilde_const (line 151) | fn with_tilde_const( function check_type_alias_where_clause_location (line 161) | fn check_type_alias_where_clause_location( function with_impl_trait (line 204) | fn with_impl_trait(&mut self, outer_span: Option, f: impl FnOnce(&... function walk_ty (line 211) | fn walk_ty(&mut self, t: &'a Ty) { function dcx (line 240) | fn dcx(&self) -> DiagCtxtHandle<'a> { function visibility_not_permitted (line 244) | fn visibility_not_permitted(&self, vis: &Visibility, note: errors::Visib... function check_decl_no_pat (line 256) | fn check_decl_no_pat(decl: &FnDecl, mut report_err: impl FnMut(Span, Opt... function check_impl_fn_not_const (line 268) | fn check_impl_fn_not_const(&self, constness: Const, parent_constness: Co... function check_trait_fn_not_const (line 282) | fn check_trait_fn_not_const(&self, constness: Const, parent: &TraitOrImp... function check_async_fn_in_const_trait_or_impl (line 330) | fn check_async_fn_in_const_trait_or_impl(&self, sig: &FnSig, parent: &Tr... function check_fn_decl (line 351) | fn check_fn_decl(&self, fn_decl: &FnDecl, self_semantic: SelfSemantic) { function check_decl_num_args (line 360) | fn check_decl_num_args(&self, fn_decl: &FnDecl) { function check_decl_cvariadic_pos (line 371) | fn check_decl_cvariadic_pos(&self, fn_decl: &FnDecl) { function check_decl_attrs (line 384) | fn check_decl_attrs(&self, fn_decl: &FnDecl) { function check_decl_self_param (line 410) | fn check_decl_self_param(&self, fn_decl: &FnDecl, self_semantic: SelfSem... function check_extern_fn_signature (line 419) | fn check_extern_fn_signature(&self, abi: ExternAbi, ctxt: FnCtxt, ident:... function reject_safe_fn (line 479) | fn reject_safe_fn(&self, abi: ExternAbi, ctxt: FnCtxt, sig: &FnSig) { function reject_coroutine (line 502) | fn reject_coroutine(&self, abi: ExternAbi, sig: &FnSig) { function reject_return (line 519) | fn reject_return(&self, abi: ExternAbi, sig: &FnSig) { function reject_params_or_return (line 531) | fn reject_params_or_return(&self, abi: ExternAbi, ident: &Ident, sig: &F... function check_item_safety (line 563) | fn check_item_safety(&self, span: Span, safety: Safety) { function check_fn_ptr_safety (line 583) | fn check_fn_ptr_safety(&self, span: Span, safety: Safety) { function check_defaultness (line 589) | fn check_defaultness( function check_final_has_body (line 609) | fn check_final_has_body(&self, item: &Item, defaultness: ... function ending_semi_or_hi (line 620) | fn ending_semi_or_hi(&self, sp: Span) -> Span { function check_type_no_bounds (line 631) | fn check_type_no_bounds(&self, bounds: &[GenericBound], ctx: &str) { function check_foreign_ty_genericless (line 640) | fn check_foreign_ty_genericless(&self, generics: &Generics, after_where_... function check_foreign_kind_bodyless (line 664) | fn check_foreign_kind_bodyless(&self, ident: Ident, kind: &str, body_spa... function check_foreign_fn_bodyless (line 677) | fn check_foreign_fn_bodyless(&self, ident: Ident, body: Option<&Block>) { function current_extern_span (line 688) | fn current_extern_span(&self) -> Span { function check_foreign_fn_headerless (line 693) | fn check_foreign_fn_headerless( function check_foreign_item_ascii_only (line 720) | fn check_foreign_item_ascii_only(&self, ident: Ident) { function check_c_variadic_type (line 734) | fn check_c_variadic_type(&self, fk: FnKind<'a>, attrs: &'a AttrVec) { function check_c_variadic_abi (line 806) | fn check_c_variadic_abi( function check_item_named (line 861) | fn check_item_named(&self, ident: Ident, kind: &str) { function check_nomangle_item_asciionly (line 868) | fn check_nomangle_item_asciionly(&self, ident: Ident, item_span: Span) { function check_mod_file_item_asciionly (line 876) | fn check_mod_file_item_asciionly(&self, ident: Ident) { function deny_const_auto_traits (line 883) | fn deny_const_auto_traits(&self, constness: Const) { function deny_generic_params (line 889) | fn deny_generic_params(&self, generics: &Generics, ident_span: Span) { function deny_super_traits (line 896) | fn deny_super_traits(&self, bounds: &GenericBounds, ident: Span) { function deny_where_clause (line 904) | fn deny_where_clause(&self, where_clause: &WhereClause, ident: Span) { function deny_items (line 916) | fn deny_items(&self, trait_items: &[Box], ident_span: Span) { function correct_generic_order_suggestion (line 924) | fn correct_generic_order_suggestion(&self, data: &AngleBracketedArgs) ->... function check_generic_args_before_constraints (line 952) | fn check_generic_args_before_constraints(&self, data: &AngleBracketedArg... function visit_ty_common (line 979) | fn visit_ty_common(&mut self, ty: &'a Ty) { function handle_missing_abi (line 1021) | fn handle_missing_abi(&mut self, span: Span, id: NodeId) { function visit_attrs_vis (line 1042) | fn visit_attrs_vis(&mut self, attrs: &'a AttrVec, vis: &'a Visibility) { function visit_attrs_vis_ident (line 1048) | fn visit_attrs_vis_ident(&mut self, attrs: &'a AttrVec, vis: &'a Visibil... function validate_generic_param_order (line 1057) | fn validate_generic_param_order(dcx: DiagCtxtHandle<'_>, generics: &[Gen... function visit_attribute (line 1129) | fn visit_attribute(&mut self, attr: &Attribute) { function visit_ty (line 1133) | fn visit_ty(&mut self, ty: &'a Ty) { function visit_item (line 1138) | fn visit_item(&mut self, item: &'a Item) { function visit_foreign_item (line 1478) | fn visit_foreign_item(&mut self, fi: &'a ForeignItem) { function visit_generic_args (line 1528) | fn visit_generic_args(&mut self, generic_args: &'a GenericArgs) { function visit_generics (line 1558) | fn visit_generics(&mut self, generics: &'a Generics) { function visit_param_bound (line 1614) | fn visit_param_bound(&mut self, bound: &'a GenericBound, ctxt: BoundKind) { function visit_fn (line 1672) | fn visit_fn(&mut self, fk: FnKind<'a>, attrs: &AttrVec, span: Span, id: ... function visit_assoc_item (line 1776) | fn visit_assoc_item(&mut self, item: &'a AssocItem, ctxt: AssocCtxt) { function visit_anon_const (line 1923) | fn visit_anon_const(&mut self, anon_const: &'a AnonConst) { function deny_equality_constraints (line 1933) | fn deny_equality_constraints( function check_crate (line 2095) | pub fn check_crate( FILE: compiler/rustc_ast_passes/src/errors.rs type VisibilityNotPermitted (line 12) | pub(crate) struct VisibilityNotPermitted { type VisibilityNotPermittedNote (line 22) | pub(crate) enum VisibilityNotPermittedNote { type ImplFnConst (line 34) | pub(crate) struct ImplFnConst { type TraitFnConst (line 47) | pub(crate) struct TraitFnConst { type AsyncFnInConstTraitOrTraitImpl (line 90) | pub(crate) struct AsyncFnInConstTraitOrTraitImpl { type ForbiddenBound (line 100) | pub(crate) struct ForbiddenBound { type ForbiddenConstParam (line 107) | pub(crate) struct ForbiddenConstParam { type FnParamTooMany (line 114) | pub(crate) struct FnParamTooMany { type FnParamCVarArgsNotLast (line 122) | pub(crate) struct FnParamCVarArgsNotLast { type FnParamDocComment (line 129) | pub(crate) struct FnParamDocComment { type FnParamForbiddenAttr (line 139) | pub(crate) struct FnParamForbiddenAttr { type FnParamForbiddenSelf (line 147) | pub(crate) struct FnParamForbiddenSelf { type ForbiddenDefault (line 155) | pub(crate) struct ForbiddenDefault { type ForbiddenFinal (line 164) | pub(crate) struct ForbiddenFinal { type ForbiddenFinalWithoutBody (line 173) | pub(crate) struct ForbiddenFinalWithoutBody { type AssocConstWithoutBody (line 182) | pub(crate) struct AssocConstWithoutBody { type AssocFnWithoutBody (line 195) | pub(crate) struct AssocFnWithoutBody { type AssocTypeWithoutBody (line 208) | pub(crate) struct AssocTypeWithoutBody { type ConstWithoutBody (line 221) | pub(crate) struct ConstWithoutBody { type StaticWithoutBody (line 234) | pub(crate) struct StaticWithoutBody { type TyAliasWithoutBody (line 247) | pub(crate) struct TyAliasWithoutBody { type FnWithoutBody (line 260) | pub(crate) struct FnWithoutBody { type ExternBlockSuggestion (line 274) | pub(crate) enum ExternBlockSuggestion { type InvalidSafetyOnExtern (line 300) | pub(crate) struct InvalidSafetyOnExtern { type InvalidSafetyOnItem (line 316) | pub(crate) struct InvalidSafetyOnItem { type InvalidSafetyOnFnPtr (line 323) | pub(crate) struct InvalidSafetyOnFnPtr { type UnsafeStatic (line 330) | pub(crate) struct UnsafeStatic { type BoundInContext (line 337) | pub(crate) struct BoundInContext<'a> { type ExternTypesCannotHave (line 346) | pub(crate) struct ExternTypesCannotHave<'a> { type BodyInExtern (line 359) | pub(crate) struct BodyInExtern<'a> { type FnBodyInExtern (line 378) | pub(crate) struct FnBodyInExtern { type FnQualifierInExtern (line 392) | pub(crate) struct FnQualifierInExtern { type ExternItemAscii (line 406) | pub(crate) struct ExternItemAscii { type CVariadicNoExtern (line 418) | pub(crate) struct CVariadicNoExtern { type CVariadicMustBeUnsafe (line 425) | pub(crate) struct CVariadicMustBeUnsafe { type CVariadicBadExtern (line 443) | pub(crate) struct CVariadicBadExtern { type CVariadicBadNakedExtern (line 454) | pub(crate) struct CVariadicBadNakedExtern { type ItemUnderscore (line 464) | pub(crate) struct ItemUnderscore<'a> { type NoMangleAscii (line 473) | pub(crate) struct NoMangleAscii { type ModuleNonAscii (line 481) | pub(crate) struct ModuleNonAscii { type AutoTraitGeneric (line 489) | pub(crate) struct AutoTraitGeneric { type AutoTraitBounds (line 504) | pub(crate) struct AutoTraitBounds { type AutoTraitItems (line 520) | pub(crate) struct AutoTraitItems { type ConstAutoTrait (line 537) | pub(crate) struct ConstAutoTrait { type ArgsBeforeConstraint (line 544) | pub(crate) struct ArgsBeforeConstraint { type EmptyLabelManySpans (line 583) | pub(crate) struct EmptyLabelManySpans(pub Vec); method add_to_diag (line 587) | fn add_to_diag(self, diag: &mut Diag<'_, G>) { type PatternFnPointer (line 594) | pub(crate) struct PatternFnPointer { type TraitObjectBound (line 601) | pub(crate) struct TraitObjectBound { type NestedImplTrait (line 608) | pub(crate) struct NestedImplTrait { type AtLeastOneTrait (line 619) | pub(crate) struct AtLeastOneTrait { type OutOfOrderParams (line 626) | pub(crate) struct OutOfOrderParams<'a> { type ObsoleteAuto (line 643) | pub(crate) struct ObsoleteAuto { type UnsafeNegativeImpl (line 650) | pub(crate) struct UnsafeNegativeImpl { type UnsafeItem (line 661) | pub(crate) struct UnsafeItem { type MissingUnsafeOnExtern (line 669) | pub(crate) struct MissingUnsafeOnExtern { type MissingUnsafeOnExternLint (line 676) | pub(crate) struct MissingUnsafeOnExternLint { type FieldlessUnion (line 687) | pub(crate) struct FieldlessUnion { type WhereClauseAfterTypeAlias (line 695) | pub(crate) struct WhereClauseAfterTypeAlias { type WhereClauseBeforeTypeAlias (line 705) | pub(crate) struct WhereClauseBeforeTypeAlias { type WhereClauseBeforeTypeAliasSugg (line 713) | pub(crate) enum WhereClauseBeforeTypeAliasSugg { type GenericDefaultTrailing (line 735) | pub(crate) struct GenericDefaultTrailing { type NestedLifetimes (line 742) | pub(crate) struct NestedLifetimes { type ConstBoundTraitObject (line 749) | pub(crate) struct ConstBoundTraitObject { type TildeConstDisallowed (line 758) | pub(crate) struct TildeConstDisallowed { type TildeConstReason (line 766) | pub(crate) enum TildeConstReason { type ConstAndCoroutine (line 832) | pub(crate) struct ConstAndCoroutine { type CoroutineAndCVariadic (line 846) | pub(crate) struct CoroutineAndCVariadic { type CVariadicNotSupported (line 858) | pub(crate) struct CVariadicNotSupported<'a> { type PatternInForeign (line 867) | pub(crate) struct PatternInForeign { type PatternInBodiless (line 876) | pub(crate) struct PatternInBodiless { type EqualityInWhere (line 885) | pub(crate) struct EqualityInWhere { type AssociatedSuggestion (line 902) | pub(crate) struct AssociatedSuggestion { type AssociatedSuggestion2 (line 915) | pub(crate) struct AssociatedSuggestion2 { type FeatureOnNonNightly (line 927) | pub(crate) struct FeatureOnNonNightly { type StableFeature (line 941) | pub(crate) struct StableFeature { type IncompatibleFeatures (line 949) | pub(crate) struct IncompatibleFeatures { type MissingDependentFeatures (line 959) | pub(crate) struct MissingDependentFeatures { type NegativeBoundUnsupported (line 968) | pub(crate) struct NegativeBoundUnsupported { type ConstraintOnNegativeBound (line 975) | pub(crate) struct ConstraintOnNegativeBound { type NegativeBoundWithParentheticalNotation (line 982) | pub(crate) struct NegativeBoundWithParentheticalNotation { type MatchArmWithNoBody (line 989) | pub(crate) struct MatchArmWithNoBody { type PreciseCapturingNotAllowedHere (line 1006) | pub(crate) struct PreciseCapturingNotAllowedHere { type DuplicatePreciseCapturing (line 1014) | pub(crate) struct DuplicatePreciseCapturing { type MissingAbi (line 1024) | pub(crate) struct MissingAbi { type MissingAbiSugg (line 1032) | pub(crate) struct MissingAbiSugg { type AbiCustomSafeForeignFunction (line 1044) | pub(crate) struct AbiCustomSafeForeignFunction { type AbiCustomSafeFunction (line 1059) | pub(crate) struct AbiCustomSafeFunction { type AbiCannotBeCoroutine (line 1075) | pub(crate) struct AbiCannotBeCoroutine { type AbiMustNotHaveParametersOrReturnType (line 1093) | pub(crate) struct AbiMustNotHaveParametersOrReturnType { type AbiMustNotHaveReturnType (line 1112) | pub(crate) struct AbiMustNotHaveReturnType { type AbiX86Interrupt (line 1124) | pub(crate) struct AbiX86Interrupt { type ScalableVectorNotTupleStruct (line 1132) | pub(crate) struct ScalableVectorNotTupleStruct { type ScalableVectorBadArch (line 1139) | pub(crate) struct ScalableVectorBadArch { type RequiresRustAbi (line 1146) | pub(crate) struct RequiresRustAbi { type UnusedVisibility (line 1157) | pub(crate) struct UnusedVisibility { type PatternsInFnsWithoutBodySub (line 1173) | pub(crate) struct PatternsInFnsWithoutBodySub { type PatternsInFnsWithoutBody (line 1181) | pub(crate) enum PatternsInFnsWithoutBody { type DeprecatedWhereClauseLocation (line 1197) | pub(crate) struct DeprecatedWhereClauseLocation { type DeprecatedWhereClauseLocationSugg (line 1203) | pub(crate) enum DeprecatedWhereClauseLocationSugg { FILE: compiler/rustc_ast_passes/src/feature_gate.rs function check_attribute (line 69) | pub fn check_attribute(attr: &ast::Attribute, sess: &Session, features: ... type PostExpansionVisitor (line 73) | struct PostExpansionVisitor<'a> { function check_impl_trait (line 82) | fn check_impl_trait(&self, ty: &ast::Ty, in_associated_ty: bool) { function check_late_bound_lifetime_defs (line 119) | fn check_late_bound_lifetime_defs(&self, params: &[ast::GenericParam]) { function visit_attribute (line 166) | fn visit_attribute(&mut self, attr: &ast::Attribute) { function visit_item (line 204) | fn visit_item(&mut self, i: &'a ast::Item) { function visit_foreign_item (line 276) | fn visit_foreign_item(&mut self, i: &'a ast::ForeignItem) { function visit_ty (line 299) | fn visit_ty(&mut self, ty: &'a ast::Ty) { function visit_where_predicate_kind (line 316) | fn visit_where_predicate_kind(&mut self, kind: &'a ast::WherePredicateKi... function visit_fn_ret_ty (line 324) | fn visit_fn_ret_ty(&mut self, ret_ty: &'a ast::FnRetTy) { function visit_generic_args (line 334) | fn visit_generic_args(&mut self, args: &'a ast::GenericArgs) { function visit_expr (line 347) | fn visit_expr(&mut self, e: &'a ast::Expr) { function visit_pat (line 374) | fn visit_pat(&mut self, pattern: &'a ast::Pat) { function visit_poly_trait_ref (line 400) | fn visit_poly_trait_ref(&mut self, t: &'a ast::PolyTraitRef) { function visit_fn (line 405) | fn visit_fn(&mut self, fn_kind: FnKind<'a>, _: &AttrVec, span: Span, _: ... function visit_assoc_item (line 421) | fn visit_assoc_item(&mut self, i: &'a ast::AssocItem, ctxt: AssocCtxt) { function check_crate (line 479) | pub fn check_crate(krate: &ast::Crate, sess: &Session, features: &Featur... function maybe_stage_features (line 651) | fn maybe_stage_features(sess: &Session, features: &Features, krate: &ast... function check_incompatible_features (line 704) | fn check_incompatible_features(sess: &Session, features: &Features) { function check_dependent_features (line 720) | fn check_dependent_features(sess: &Session, features: &Features) { function check_new_solver_banned_features (line 741) | fn check_new_solver_banned_features(sess: &Session, features: &Features) { FILE: compiler/rustc_ast_pretty/src/helpers.rs method word_space (line 6) | pub fn word_space>>(&mut self, w: W) { method popen (line 11) | pub fn popen(&mut self) { method pclose (line 15) | pub fn pclose(&mut self) { method hardbreak_if_not_bol (line 19) | pub fn hardbreak_if_not_bol(&mut self) { method space_if_not_bol (line 25) | pub fn space_if_not_bol(&mut self) { method nbsp (line 31) | pub fn nbsp(&mut self) { method word_nbsp (line 35) | pub fn word_nbsp>>(&mut self, w: S) { method synth_comment (line 42) | pub fn synth_comment(&mut self, text: impl Into>) { FILE: compiler/rustc_ast_pretty/src/pp.rs type Breaks (line 146) | pub enum Breaks { type IndentStyle (line 152) | enum IndentStyle { type BreakToken (line 168) | pub(crate) struct BreakToken { type BeginToken (line 175) | pub(crate) struct BeginToken { type Token (line 181) | pub(crate) enum Token { type PrintFrame (line 192) | enum PrintFrame { constant SIZE_INFINITY (line 197) | const SIZE_INFINITY: isize = 0xffff; constant MARGIN (line 200) | const MARGIN: isize = 78; constant MIN_SPACE (line 202) | const MIN_SPACE: isize = 60; type Printer (line 204) | pub struct Printer { method new (line 266) | pub fn new() -> Self { method last_token (line 281) | pub(crate) fn last_token(&self) -> Option<&Token> { method last_token_still_buffered (line 285) | pub(crate) fn last_token_still_buffered(&self) -> Option<&Token> { method replace_last_token_still_buffered (line 290) | pub(crate) fn replace_last_token_still_buffered(&mut self, token: Toke... method scan_eof (line 294) | fn scan_eof(&mut self) { method scan_begin (line 302) | fn scan_begin(&mut self, token: BeginToken) -> BoxMarker { method scan_end (line 314) | fn scan_end(&mut self, b: BoxMarker) { method scan_break (line 324) | fn scan_break(&mut self, token: BreakToken) { method scan_string (line 337) | fn scan_string(&mut self, string: Cow<'static, str>) { method offset (line 348) | pub(crate) fn offset(&mut self, offset: isize) { method check_stream (line 354) | fn check_stream(&mut self) { method advance_left (line 367) | fn advance_left(&mut self) { method check_stack (line 392) | fn check_stack(&mut self, mut depth: usize) { method get_top (line 421) | fn get_top(&self) -> PrintFrame { method print_begin (line 428) | fn print_begin(&mut self, token: BeginToken, size: isize) { method print_end (line 442) | fn print_end(&mut self) { method print_break (line 448) | fn print_break(&mut self, token: BreakToken, size: isize) { method print_string (line 468) | fn print_string(&mut self, string: &str) { type BufEntry (line 232) | struct BufEntry { type BoxMarker (line 254) | pub struct BoxMarker; method drop (line 260) | fn drop(&mut self) { FILE: compiler/rustc_ast_pretty/src/pp/convenience.rs method rbox (line 9) | pub fn rbox(&mut self, indent: isize, breaks: Breaks) -> BoxMarker { method ibox (line 14) | pub fn ibox(&mut self, indent: isize) -> BoxMarker { method cbox (line 19) | pub fn cbox(&mut self, indent: isize) -> BoxMarker { method visual_align (line 23) | pub fn visual_align(&mut self) -> BoxMarker { method break_offset (line 27) | pub fn break_offset(&mut self, n: usize, off: isize) { method end (line 35) | pub fn end(&mut self, b: BoxMarker) { method eof (line 39) | pub fn eof(mut self) -> String { method word (line 44) | pub fn word>>(&mut self, wrd: S) { method spaces (line 49) | fn spaces(&mut self, n: usize) { method zerobreak (line 53) | pub fn zerobreak(&mut self) { method space (line 57) | pub fn space(&mut self) { method hardbreak (line 61) | pub fn hardbreak(&mut self) { method is_beginning_of_line (line 65) | pub fn is_beginning_of_line(&self) -> bool { method hardbreak_tok_offset (line 72) | pub(crate) fn hardbreak_tok_offset(off: isize) -> Token { method trailing_comma (line 80) | pub fn trailing_comma(&mut self) { method trailing_comma_or_space (line 84) | pub fn trailing_comma_or_space(&mut self) { method is_hardbreak_tok (line 94) | pub(crate) fn is_hardbreak_tok(&self) -> bool { FILE: compiler/rustc_ast_pretty/src/pp/ring.rs type RingBuffer (line 14) | pub(super) struct RingBuffer { function new (line 21) | pub(super) fn new() -> Self { function is_empty (line 25) | pub(super) fn is_empty(&self) -> bool { function push (line 29) | pub(super) fn push(&mut self, value: T) -> usize { function clear (line 35) | pub(super) fn clear(&mut self) { function index_of_first (line 39) | pub(super) fn index_of_first(&self) -> usize { function first (line 43) | pub(super) fn first(&self) -> Option<&T> { function first_mut (line 47) | pub(super) fn first_mut(&mut self) -> Option<&mut T> { function pop_first (line 51) | pub(super) fn pop_first(&mut self) -> Option { function last (line 57) | pub(super) fn last(&self) -> Option<&T> { function last_mut (line 61) | pub(super) fn last_mut(&mut self) -> Option<&mut T> { type Output (line 67) | type Output = T; function index (line 68) | fn index(&self, index: usize) -> &Self::Output { function index_mut (line 74) | fn index_mut(&mut self, index: usize) -> &mut Self::Output { FILE: compiler/rustc_ast_pretty/src/pprust/mod.rs function token_kind_to_string (line 15) | pub fn token_kind_to_string(tok: &TokenKind) -> Cow<'static, str> { function token_to_string (line 20) | pub fn token_to_string(token: &Token) -> Cow<'static, str> { function ty_to_string (line 24) | pub fn ty_to_string(ty: &ast::Ty) -> String { function bounds_to_string (line 28) | pub fn bounds_to_string(bounds: &[ast::GenericBound]) -> String { function where_bound_predicate_to_string (line 32) | pub fn where_bound_predicate_to_string(where_bound_predicate: &ast::Wher... function pat_to_string (line 39) | pub fn pat_to_string(pat: &ast::Pat) -> String { function expr_to_string (line 43) | pub fn expr_to_string(e: &ast::Expr) -> String { function tt_to_string (line 47) | pub fn tt_to_string(tt: &TokenTree) -> String { function tts_to_string (line 51) | pub fn tts_to_string(tokens: &TokenStream) -> String { function item_to_string (line 55) | pub fn item_to_string(i: &ast::Item) -> String { function assoc_item_to_string (line 59) | pub fn assoc_item_to_string(i: &ast::AssocItem) -> String { function foreign_item_to_string (line 63) | pub fn foreign_item_to_string(i: &ast::ForeignItem) -> String { function stmt_to_string (line 67) | pub fn stmt_to_string(s: &ast::Stmt) -> String { function path_to_string (line 71) | pub fn path_to_string(p: &ast::Path) -> String { function path_segment_to_string (line 75) | pub fn path_segment_to_string(p: &ast::PathSegment) -> String { function vis_to_string (line 79) | pub fn vis_to_string(v: &ast::Visibility) -> String { function impl_restriction_to_string (line 83) | pub fn impl_restriction_to_string(r: &ast::ImplRestriction) -> String { function meta_list_item_to_string (line 87) | pub fn meta_list_item_to_string(li: &ast::MetaItemInner) -> String { function attribute_to_string (line 91) | pub fn attribute_to_string(attr: &ast::Attribute) -> String { function to_string (line 95) | pub fn to_string(f: impl FnOnce(&mut State<'_>)) -> String { function crate_to_string_for_macros (line 99) | pub fn crate_to_string_for_macros(krate: &ast::Crate) -> String { FILE: compiler/rustc_ast_pretty/src/pprust/state.rs type MacHeader (line 33) | pub enum MacHeader<'a> { type AnnNode (line 38) | pub enum AnnNode<'a> { type PpAnn (line 49) | pub trait PpAnn { method pre (line 50) | fn pre(&self, _state: &mut State<'_>, _node: AnnNode<'_>) {} method post (line 51) | fn post(&self, _state: &mut State<'_>, _node: AnnNode<'_>) {} type NoAnn (line 54) | struct NoAnn; type Comments (line 58) | pub struct Comments<'a> { function all_whitespace (line 67) | fn all_whitespace(s: &str, col: CharPos) -> Option { function trim_whitespace_prefix (line 78) | fn trim_whitespace_prefix(s: &str, col: CharPos) -> &str { function split_block_comment_into_lines (line 92) | fn split_block_comment_into_lines(text: &str, col: CharPos) -> Vec Vec Comm... function peek (line 200) | fn peek(&self) -> Option<&Comment> { function next (line 204) | fn next(&mut self) -> Option { function trailing_comment (line 208) | fn trailing_comment( type State (line 229) | pub struct State<'a> { constant INDENT_UNIT (line 236) | const INDENT_UNIT: isize = 4; function print_crate (line 240) | pub fn print_crate<'a>( function print_crate_as_interface (line 261) | pub fn print_crate_as_interface( function print_crate_inner (line 273) | fn print_crate_inner<'a>( function idents_would_merge (line 335) | fn idents_would_merge(tt1: &TokenTree, tt2: &TokenTree) -> bool { function space_between (line 345) | fn space_between(tt1: &TokenTree, tt2: &TokenTree) -> bool { function doc_comment_to_string (line 398) | pub fn doc_comment_to_string( function literal_to_string (line 420) | fn literal_to_string(lit: token::Lit) -> String { type Target (line 448) | type Target = pp::Printer; function deref (line 449) | fn deref(&self) -> &Self::Target { function deref_mut (line 455) | fn deref_mut(&mut self) -> &mut Self::Target { type PrintState (line 461) | pub trait PrintState<'a>: std::ops::Deref + std::o... method comments (line 462) | fn comments(&self) -> Option<&Comments<'a>>; method comments_mut (line 463) | fn comments_mut(&mut self) -> Option<&mut Comments<'a>>; method ann_post (line 464) | fn ann_post(&mut self, ident: Ident); method print_generic_args (line 465) | fn print_generic_args(&mut self, args: &ast::GenericArgs, colons_befor... method print_ident (line 467) | fn print_ident(&mut self, ident: Ident) { method strsep (line 472) | fn strsep<'x, T: 'x, F, I>( method commasep (line 499) | fn commasep<'x, T: 'x, F, I>(&mut self, b: Breaks, elts: I, op: F) method maybe_print_comment (line 507) | fn maybe_print_comment(&mut self, pos: BytePos) -> bool { method print_comment (line 520) | fn print_comment(&mut self, cmnt: Comment) { method peek_comment (line 586) | fn peek_comment<'b>(&'b self) -> Option<&'b Comment> method next_comment (line 593) | fn next_comment(&mut self) -> Option { method maybe_print_trailing_comment (line 597) | fn maybe_print_trailing_comment(&mut self, span: rustc_span::Span, nex... method print_remaining_comments (line 605) | fn print_remaining_comments(&mut self) { method print_string (line 616) | fn print_string(&mut self, st: &str, style: ast::StrStyle) { method maybe_print_shebang (line 626) | fn maybe_print_shebang(&mut self) { method print_inner_attributes (line 640) | fn print_inner_attributes(&mut self, attrs: &[ast::Attribute]) -> bool { method print_outer_attributes (line 644) | fn print_outer_attributes(&mut self, attrs: &[ast::Attribute]) -> bool { method print_either_attributes (line 648) | fn print_either_attributes( method print_attribute_inline (line 672) | fn print_attribute_inline(&mut self, attr: &ast::Attribute, is_inline:... method print_attr_item (line 703) | fn print_attr_item(&mut self, item: &ast::AttrItem, span: Span) { method print_tt (line 748) | fn print_tt(&mut self, tt: &TokenTree, convert_dollar_crate: bool) -> ... method print_tts (line 820) | fn print_tts(&mut self, tts: &TokenStream, convert_dollar_crate: bool) { method print_mac_common (line 839) | fn print_mac_common( method print_mac_def (line 900) | fn print_mac_def( method print_path (line 939) | fn print_path(&mut self, path: &ast::Path, colons_before_params: bool,... method print_path_segment (line 950) | fn print_path_segment(&mut self, segment: &ast::PathSegment, colons_be... method head (line 959) | fn head>>(&mut self, w: S) -> (BoxMarker, Bo... method bopen (line 972) | fn bopen(&mut self, ib: BoxMarker) { method bclose_maybe_open (line 977) | fn bclose_maybe_open(&mut self, span: rustc_span::Span, no_space: bool... method bclose (line 988) | fn bclose(&mut self, span: rustc_span::Span, no_space: bool, cb: BoxMa... method break_offset_if_not_bol (line 993) | fn break_offset_if_not_bol(&mut self, n: usize, off: isize) { method token_kind_to_string (line 1009) | fn token_kind_to_string(&self, tok: &TokenKind) -> Cow<'static, str> { method token_kind_to_string_ext (line 1013) | fn token_kind_to_string_ext( method token_to_string (line 1103) | fn token_to_string(&self, token: &Token) -> Cow<'static, str> { method token_to_string_ext (line 1107) | fn token_to_string_ext(&self, token: &Token, convert_dollar_crate: boo... method ty_to_string (line 1112) | fn ty_to_string(&self, ty: &ast::Ty) -> String { method pat_to_string (line 1116) | fn pat_to_string(&self, pat: &ast::Pat) -> String { method expr_to_string (line 1120) | fn expr_to_string(&self, e: &ast::Expr) -> String { method meta_item_lit_to_string (line 1124) | fn meta_item_lit_to_string(&self, lit: &ast::MetaItemLit) -> String { method stmt_to_string (line 1128) | fn stmt_to_string(&self, stmt: &ast::Stmt) -> String { method item_to_string (line 1132) | fn item_to_string(&self, i: &ast::Item) -> String { method assoc_item_to_string (line 1136) | fn assoc_item_to_string(&self, i: &ast::AssocItem) -> String { method foreign_item_to_string (line 1140) | fn foreign_item_to_string(&self, i: &ast::ForeignItem) -> String { method path_to_string (line 1144) | fn path_to_string(&self, p: &ast::Path) -> String { method vis_to_string (line 1148) | fn vis_to_string(&self, v: &ast::Visibility) -> String { method impl_restriction_to_string (line 1152) | fn impl_restriction_to_string(&self, r: &ast::ImplRestriction) -> Stri... method block_to_string (line 1156) | fn block_to_string(&self, blk: &ast::Block) -> String { method attr_item_to_string (line 1163) | fn attr_item_to_string(&self, ai: &ast::AttrItem) -> String { method tts_to_string (line 1167) | fn tts_to_string(&self, tokens: &TokenStream) -> String { method to_string (line 1171) | fn to_string(f: impl FnOnce(&mut State<'_>)) -> String { function comments (line 1179) | fn comments(&self) -> Option<&Comments<'a>> { function comments_mut (line 1183) | fn comments_mut(&mut self) -> Option<&mut Comments<'a>> { function ann_post (line 1187) | fn ann_post(&mut self, ident: Ident) { function print_generic_args (line 1191) | fn print_generic_args(&mut self, args: &ast::GenericArgs, colons_before_... function new (line 1222) | pub fn new() -> State<'a> { function commasep_cmnt (line 1226) | fn commasep_cmnt(&mut self, b: Breaks, elts: &[T], mut op: F, m... function commasep_exprs (line 1247) | fn commasep_exprs(&mut self, b: Breaks, exprs: &[Box]) { function print_opt_lifetime (line 1251) | pub fn print_opt_lifetime(&mut self, lifetime: &Option) { function print_assoc_item_constraint (line 1258) | pub fn print_assoc_item_constraint(&mut self, constraint: &ast::AssocIte... function print_generic_arg (line 1281) | pub fn print_generic_arg(&mut self, generic_arg: &GenericArg) { function print_ty_pat (line 1289) | pub fn print_ty_pat(&mut self, pat: &ast::TyPat) { function print_type (line 1323) | pub fn print_type(&mut self, ty: &ast::Ty) { function print_trait_ref (line 1444) | fn print_trait_ref(&mut self, t: &ast::TraitRef) { function print_formal_generic_params (line 1448) | fn print_formal_generic_params(&mut self, generic_params: &[ast::Generic... function print_poly_trait_ref (line 1456) | fn print_poly_trait_ref(&mut self, t: &ast::PolyTraitRef) { function print_stmt (line 1488) | fn print_stmt(&mut self, st: &ast::Stmt) { function print_block (line 1550) | fn print_block(&mut self, blk: &ast::Block, cb: BoxMarker, ib: BoxMarker) { function print_block_unclosed_indent (line 1554) | fn print_block_unclosed_indent(&mut self, blk: &ast::Block, ib: BoxMarke... function print_block_with_attrs (line 1558) | fn print_block_with_attrs( function print_block_maybe_unclosed (line 1568) | fn print_block_maybe_unclosed( function print_let (line 1627) | fn print_let(&mut self, pat: &ast::Pat, expr: &ast::Expr, fixup: FixupCo... function print_mac (line 1639) | fn print_mac(&mut self, m: &ast::MacCall) { function inline_asm_template_and_operands (line 1652) | fn inline_asm_template_and_operands<'asm>( function print_inline_asm (line 1731) | fn print_inline_asm(&mut self, asm: &ast::InlineAsm) { function print_local_decl (line 1837) | fn print_local_decl(&mut self, loc: &ast::Local) { function print_name (line 1845) | fn print_name(&mut self, name: Symbol) { function print_qpath (line 1850) | fn print_qpath(&mut self, path: &ast::Path, qself: &ast::QSelf, colons_b... function print_pat_paren_if_or (line 1875) | fn print_pat_paren_if_or(&mut self, pat: &ast::Pat) { function print_pat (line 1886) | fn print_pat(&mut self, pat: &ast::Pat) { function print_explicit_self (line 2055) | fn print_explicit_self(&mut self, explicit_self: &ast::ExplicitSelf) { function print_coroutine_kind (line 2083) | fn print_coroutine_kind(&mut self, coroutine_kind: ast::CoroutineKind) { function print_type_bounds (line 2098) | pub fn print_type_bounds(&mut self, bounds: &[ast::GenericBound]) { function print_lifetime (line 2126) | fn print_lifetime(&mut self, lifetime: ast::Lifetime) { function print_lifetime_bounds (line 2131) | fn print_lifetime_bounds(&mut self, bounds: &ast::GenericBounds) { function print_generic_params (line 2145) | fn print_generic_params(&mut self, generic_params: &[ast::GenericParam]) { function print_mutability (line 2198) | pub fn print_mutability(&mut self, mutbl: ast::Mutability, print_const: ... function print_mt (line 2209) | fn print_mt(&mut self, mt: &ast::MutTy, print_const: bool) { function print_param (line 2214) | fn print_param(&mut self, input: &ast::Param, is_closure: bool) { function print_fn_ret_ty (line 2237) | fn print_fn_ret_ty(&mut self, fn_ret_ty: &ast::FnRetTy) { function print_ty_fn (line 2248) | fn print_ty_fn( function print_fn_header_info (line 2264) | fn print_fn_header_info(&mut self, header: ast::FnHeader) { function print_safety (line 2284) | fn print_safety(&mut self, s: ast::Safety) { function print_constness (line 2292) | fn print_constness(&mut self, s: ast::Const) { function print_is_auto (line 2299) | fn print_is_auto(&mut self, s: ast::IsAuto) { function print_meta_item_lit (line 2306) | fn print_meta_item_lit(&mut self, lit: &ast::MetaItemLit) { function print_token_literal (line 2310) | fn print_token_literal(&mut self, token_lit: token::Lit, span: Span) { function print_symbol (line 2315) | fn print_symbol(&mut self, sym: Symbol, style: ast::StrStyle) { function print_inner_attributes_no_trailing_hardbreak (line 2319) | fn print_inner_attributes_no_trailing_hardbreak(&mut self, attrs: &[ast:... function print_outer_attributes_inline (line 2323) | fn print_outer_attributes_inline(&mut self, attrs: &[ast::Attribute]) ->... function print_attribute (line 2327) | fn print_attribute(&mut self, attr: &ast::Attribute) { function print_meta_list_item (line 2331) | fn print_meta_list_item(&mut self, item: &ast::MetaItemInner) { function print_meta_item (line 2338) | fn print_meta_item(&mut self, item: &ast::MetaItem) { function bounds_to_string (line 2373) | pub(crate) fn bounds_to_string(&self, bounds: &[ast::GenericBound]) -> S... function where_bound_predicate_to_string (line 2377) | pub(crate) fn where_bound_predicate_to_string( function tt_to_string (line 2384) | pub(crate) fn tt_to_string(&self, tt: &TokenTree) -> String { function path_segment_to_string (line 2390) | pub(crate) fn path_segment_to_string(&self, p: &ast::PathSegment) -> Str... function meta_list_item_to_string (line 2394) | pub(crate) fn meta_list_item_to_string(&self, li: &ast::MetaItemInner) -... function attribute_to_string (line 2398) | pub(crate) fn attribute_to_string(&self, attr: &ast::Attribute) -> String { FILE: compiler/rustc_ast_pretty/src/pprust/state/expr.rs function print_else (line 18) | fn print_else(&mut self, els: Option<&ast::Expr>) { function print_if (line 46) | fn print_if(&mut self, test: &ast::Expr, blk: &ast::Block, elseopt: Opti... function print_call_post (line 56) | fn print_call_post(&mut self, args: &[Box]) { function print_expr_as_cond (line 64) | fn print_expr_as_cond(&mut self, expr: &ast::Expr) { function cond_needs_par (line 72) | fn cond_needs_par(expr: &ast::Expr) -> bool { function print_expr_cond_paren (line 83) | pub(super) fn print_expr_cond_paren( function print_expr_vec (line 113) | fn print_expr_vec(&mut self, exprs: &[Box]) { function print_expr_anon_const (line 121) | pub(super) fn print_expr_anon_const( function print_expr_repeat (line 139) | fn print_expr_repeat(&mut self, element: &ast::Expr, count: &ast::AnonCo... function print_expr_struct (line 149) | fn print_expr_struct( function print_expr_tup (line 206) | fn print_expr_tup(&mut self, exprs: &[Box]) { function print_expr_call (line 215) | fn print_expr_call(&mut self, func: &ast::Expr, args: &[Box],... function print_expr_method_call (line 245) | fn print_expr_method_call( function print_expr_binary (line 280) | fn print_expr_binary( function print_expr_unary (line 339) | fn print_expr_unary(&mut self, op: ast::UnOp, expr: &ast::Expr, fixup: F... function print_expr_addr_of (line 348) | fn print_expr_addr_of( function print_expr (line 374) | pub(super) fn print_expr(&mut self, expr: &ast::Expr, fixup: FixupContex... function print_expr_outer_attr_style (line 378) | pub(super) fn print_expr_outer_attr_style( function print_arm (line 883) | fn print_arm(&mut self, arm: &ast::Arm) { function print_closure_binder (line 930) | fn print_closure_binder(&mut self, binder: &ast::ClosureBinder) { function print_movability (line 939) | fn print_movability(&mut self, movability: ast::Movability) { function print_capture_clause (line 946) | fn print_capture_clause(&mut self, capture_clause: ast::CaptureBy) { function reconstruct_format_args_template_string (line 955) | fn reconstruct_format_args_template_string(pieces: &[FormatArgsPiece]) -... function expr_ends_with_dot (line 1044) | fn expr_ends_with_dot(expr: &ast::Expr) -> bool { FILE: compiler/rustc_ast_pretty/src/pprust/state/fixup.rs type FixupContext (line 8) | pub(crate) struct FixupContext { method new_stmt (line 120) | pub(crate) fn new_stmt() -> Self { method new_match_arm (line 126) | pub(crate) fn new_match_arm() -> Self { method new_cond (line 134) | pub(crate) fn new_cond() -> Self { method leftmost_subexpression (line 149) | pub(crate) fn leftmost_subexpression(self) -> Self { method leftmost_subexpression_with_dot (line 166) | pub(crate) fn leftmost_subexpression_with_dot(self) -> Self { method leftmost_subexpression_with_operator (line 181) | pub(crate) fn leftmost_subexpression_with_operator( method rightmost_subexpression (line 199) | pub(crate) fn rightmost_subexpression(self) -> Self { method would_cause_statement_boundary (line 214) | pub(crate) fn would_cause_statement_boundary(self, expr: &Expr) -> bool { method needs_par_as_let_scrutinee (line 230) | pub(crate) fn needs_par_as_let_scrutinee(self, expr: &Expr) -> bool { method precedence (line 237) | pub(crate) fn precedence(self, expr: &Expr) -> ExprPrecedence { FILE: compiler/rustc_ast_pretty/src/pprust/state/item.rs type DelegationKind (line 11) | enum DelegationKind<'a> { function visibility_qualified (line 17) | fn visibility_qualified(vis: &ast::Visibility, s: &str) -> String { function print_foreign_mod (line 22) | fn print_foreign_mod(&mut self, nmod: &ast::ForeignMod, attrs: &[ast::At... function print_foreign_item (line 29) | pub(crate) fn print_foreign_item(&mut self, item: &ast::ForeignItem) { function print_item_const (line 85) | fn print_item_const( function print_associated_type (line 125) | fn print_associated_type( function print_item (line 158) | pub(crate) fn print_item(&mut self, item: &ast::Item) { function print_enum_def (line 445) | fn print_enum_def( function print_visibility (line 473) | pub(crate) fn print_visibility(&mut self, vis: &ast::Visibility) { function print_impl_restriction (line 488) | pub(crate) fn print_impl_restriction(&mut self, impl_restriction: &ast::... function print_defaultness (line 502) | fn print_defaultness(&mut self, defaultness: ast::Defaultness) { function print_struct (line 508) | fn print_struct( function print_variant (line 565) | pub(crate) fn print_variant(&mut self, v: &ast::Variant) { function print_assoc_item (line 577) | pub(crate) fn print_assoc_item(&mut self, item: &ast::AssocItem) { function print_delegation (line 651) | fn print_delegation( function print_fn_full (line 700) | fn print_fn_full(&mut self, vis: &ast::Visibility, attrs: &[ast::Attribu... function print_define_opaques (line 744) | fn print_define_opaques(&mut self, define_opaque: Option<&[(ast::NodeId,... function print_contract (line 759) | fn print_contract(&mut self, contract: &ast::FnContract) { function print_fn (line 774) | pub(crate) fn print_fn( function print_fn_params_and_ret (line 791) | pub(crate) fn print_fn_params_and_ret(&mut self, decl: &ast::FnDecl, is_... function print_where_clause (line 799) | fn print_where_clause(&mut self, where_clause: &ast::WhereClause) { function print_where_predicate (line 817) | pub fn print_where_predicate(&mut self, predicate: &ast::WherePredicate) { function print_where_bound_predicate (line 847) | pub(crate) fn print_where_bound_predicate( function print_use_tree (line 860) | fn print_use_tree(&mut self, tree: &ast::UseTree) { FILE: compiler/rustc_ast_pretty/src/pprust/tests.rs function fun_to_string (line 7) | fn fun_to_string( function variant_to_string (line 21) | fn variant_to_string(var: &ast::Variant) -> String { function test_fun_to_string (line 26) | fn test_fun_to_string() { function test_variant_to_string (line 40) | fn test_variant_to_string() { FILE: compiler/rustc_attr_parsing/src/attributes/allow_unstable.rs type AllowInternalUnstableParser (line 6) | pub(crate) struct AllowInternalUnstableParser; constant PATH (line 8) | const PATH: &[Symbol] = &[sym::allow_internal_unstable]; type Item (line 9) | type Item = (Symbol, Span); constant CONVERT (line 10) | const CONVERT: ConvertFn = constant ALLOWED_TARGETS (line 12) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 18) | const TEMPLATE: AttributeTemplate = template!(Word, List: &["feat1, fe... method extend (line 20) | fn extend( type UnstableFeatureBoundParser (line 30) | pub(crate) struct UnstableFeatureBoundParser; constant PATH (line 32) | const PATH: &[rustc_span::Symbol] = &[sym::unstable_feature_bound]; type Item (line 33) | type Item = (Symbol, Span); constant CONVERT (line 34) | const CONVERT: ConvertFn = |items, _| AttributeKind::Unsta... constant ALLOWED_TARGETS (line 35) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 40) | const TEMPLATE: AttributeTemplate = template!(Word, List: &["feat1, fe... method extend (line 42) | fn extend( type RustcAllowConstFnUnstableParser (line 55) | pub(crate) struct RustcAllowConstFnUnstableParser; constant PATH (line 57) | const PATH: &[Symbol] = &[sym::rustc_allow_const_fn_unstable]; type Item (line 58) | type Item = Symbol; constant CONVERT (line 59) | const CONVERT: ConvertFn = constant ALLOWED_TARGETS (line 61) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 67) | const TEMPLATE: AttributeTemplate = template!(Word, List: &["feat1, fe... method extend (line 69) | fn extend( function parse_unstable (line 77) | fn parse_unstable( FILE: compiler/rustc_attr_parsing/src/attributes/autodiff.rs type RustcAutodiffParser (line 17) | pub(crate) struct RustcAutodiffParser; constant PATH (line 20) | const PATH: &[Symbol] = &[sym::rustc_autodiff]; constant ON_DUPLICATE (line 21) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 22) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 29) | const TEMPLATE: AttributeTemplate = template!( method convert (line 34) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/body.rs type CoroutineParser (line 5) | pub(crate) struct CoroutineParser; constant PATH (line 8) | const PATH: &[Symbol] = &[sym::coroutine]; constant ON_DUPLICATE (line 9) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 10) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 11) | const CREATE: fn(rustc_span::Span) -> AttributeKind = |span| Attribute... FILE: compiler/rustc_attr_parsing/src/attributes/cfg.rs constant CFG_TEMPLATE (line 32) | pub const CFG_TEMPLATE: AttributeTemplate = template!( constant CFG_ATTR_TEMPLATE (line 37) | const CFG_ATTR_TEMPLATE: AttributeTemplate = template!( function parse_cfg (line 42) | pub fn parse_cfg( function parse_cfg_entry (line 57) | pub fn parse_cfg_entry( function parse_cfg_entry_version (line 102) | fn parse_cfg_entry_version( function parse_cfg_entry_target (line 134) | fn parse_cfg_entry_target( function parse_name_value (line 177) | pub(crate) fn parse_name_value( function eval_config_entry (line 216) | pub fn eval_config_entry(sess: &Session, cfg_entry: &CfgEntry) -> EvalCo... type EvalConfigResult (line 279) | pub enum EvalConfigResult { method as_bool (line 285) | pub fn as_bool(&self) -> bool { function parse_cfg_attr (line 293) | pub fn parse_cfg_attr( function check_cfg_attr_bad_delim (line 346) | fn check_cfg_attr_bad_delim(psess: &ParseSess, span: DelimSpan, delim: D... function parse_cfg_attr_internal (line 357) | fn parse_cfg_attr_internal<'a>( function try_gate_cfg (line 414) | fn try_gate_cfg(name: Symbol, span: Span, sess: &Session, features: Opti... function gate_cfg (line 421) | fn gate_cfg(gated_cfg: &GatedCfg, cfg_span: Span, sess: &Session, featur... FILE: compiler/rustc_attr_parsing/src/attributes/cfg_select.rs type CfgSelectPredicate (line 19) | pub enum CfgSelectPredicate { method span (line 25) | fn span(&self) -> Span { type CfgSelectBranches (line 34) | pub struct CfgSelectBranches { method pop_first_match (line 47) | pub fn pop_first_match(&mut self, predicate: F) -> Option<(TokenStr... method into_iter_tts (line 62) | pub fn into_iter_tts(self) -> impl Iterator { function parse_cfg_select (line 71) | pub fn parse_cfg_select( function lint_unreachable (line 144) | fn lint_unreachable( FILE: compiler/rustc_attr_parsing/src/attributes/cfi_encoding.rs type CfiEncodingParser (line 2) | pub(crate) struct CfiEncodingParser; constant PATH (line 4) | const PATH: &[Symbol] = &[sym::cfi_encoding]; constant ALLOWED_TARGETS (line 5) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... constant ON_DUPLICATE (line 11) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant TEMPLATE (line 12) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "encoding"); method convert (line 14) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/codegen_attrs.rs type OptimizeParser (line 11) | pub(crate) struct OptimizeParser; constant PATH (line 14) | const PATH: &[Symbol] = &[sym::optimize]; constant ON_DUPLICATE (line 15) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 16) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 23) | const TEMPLATE: AttributeTemplate = template!(List: &["size", "speed",... method convert (line 25) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type ColdParser (line 50) | pub(crate) struct ColdParser; constant PATH (line 53) | const PATH: &[Symbol] = &[sym::cold]; constant ON_DUPLICATE (line 54) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 55) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... constant CREATE (line 63) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::Cold; type CoverageParser (line 66) | pub(crate) struct CoverageParser; constant PATH (line 69) | const PATH: &[Symbol] = &[sym::coverage]; constant ON_DUPLICATE (line 70) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 71) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 82) | const TEMPLATE: AttributeTemplate = template!(OneOf: &[sym::off, sym::... method convert (line 84) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type ExportNameParser (line 116) | pub(crate) struct ExportNameParser; constant PATH (line 119) | const PATH: &[rustc_span::Symbol] = &[sym::export_name]; constant ON_DUPLICATE (line 120) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 121) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 132) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "name"); method convert (line 134) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcObjcClassParser (line 153) | pub(crate) struct RustcObjcClassParser; constant PATH (line 156) | const PATH: &[rustc_span::Symbol] = &[sym::rustc_objc_class]; constant ON_DUPLICATE (line 157) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 158) | const ALLOWED_TARGETS: AllowedTargets = constant TEMPLATE (line 160) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "ClassName"); method convert (line 162) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcObjcSelectorParser (line 184) | pub(crate) struct RustcObjcSelectorParser; constant PATH (line 187) | const PATH: &[rustc_span::Symbol] = &[sym::rustc_objc_selector]; constant ON_DUPLICATE (line 188) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 189) | const ALLOWED_TARGETS: AllowedTargets = constant TEMPLATE (line 191) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "methodNam... method convert (line 193) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type NakedParser (line 216) | pub(crate) struct NakedParser { constant ATTRIBUTES (line 221) | const ATTRIBUTES: AcceptMapping = constant ALLOWED_TARGETS (line 235) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ method finalize (line 243) | fn finalize(self, cx: &FinalizeContext<'_, '_, S>) -> Option = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 335) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 348) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::TrackCaller; type NoMangleParser (line 351) | pub(crate) struct NoMangleParser; constant PATH (line 353) | const PATH: &[Symbol] = &[sym::no_mangle]; constant ON_DUPLICATE (line 354) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 355) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... constant CREATE (line 363) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::NoMangle; type UsedParser (line 367) | pub(crate) struct UsedParser { constant ATTRIBUTES (line 378) | const ATTRIBUTES: AcceptMapping = &[( constant ALLOWED_TARGETS (line 454) | const ALLOWED_TARGETS: AllowedTargets = method finalize (line 457) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option( type TargetFeatureParser (line 514) | pub(crate) struct TargetFeatureParser; type Item (line 517) | type Item = (Symbol, Span); constant PATH (line 518) | const PATH: &[Symbol] = &[sym::target_feature]; constant CONVERT (line 519) | const CONVERT: ConvertFn = |items, span| AttributeKind::Ta... constant TEMPLATE (line 524) | const TEMPLATE: AttributeTemplate = template!(List: &["enable = \"feat... method extend (line 526) | fn extend( constant ALLOWED_TARGETS (line 533) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ type ForceTargetFeatureParser (line 546) | pub(crate) struct ForceTargetFeatureParser; type Item (line 549) | type Item = (Symbol, Span); constant PATH (line 550) | const PATH: &[Symbol] = &[sym::force_target_feature]; constant CONVERT (line 551) | const CONVERT: ConvertFn = |items, span| AttributeKind::Ta... constant TEMPLATE (line 556) | const TEMPLATE: AttributeTemplate = template!(List: &["enable = \"feat... constant ALLOWED_TARGETS (line 557) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ method extend (line 564) | fn extend( type SanitizeParser (line 572) | pub(crate) struct SanitizeParser; constant PATH (line 575) | const PATH: &[Symbol] = &[sym::sanitize]; constant ALLOWED_TARGETS (line 578) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... constant TEMPLATE (line 580) | const TEMPLATE: AttributeTemplate = template!(List: &[ constant ON_DUPLICATE (line 594) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; method convert (line 596) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type ThreadLocalParser (line 692) | pub(crate) struct ThreadLocalParser; constant PATH (line 695) | const PATH: &[Symbol] = &[sym::thread_local]; constant ON_DUPLICATE (line 696) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 697) | const ALLOWED_TARGETS: AllowedTargets = constant CREATE (line 699) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::ThreadLocal; type RustcPassIndirectlyInNonRusticAbisParser (line 702) | pub(crate) struct RustcPassIndirectlyInNonRusticAbisParser; constant PATH (line 705) | const PATH: &[Symbol] = &[sym::rustc_pass_indirectly_in_non_rustic_abis]; constant ON_DUPLICATE (line 706) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 707) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 708) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcPassIndi... type RustcEiiForeignItemParser (line 711) | pub(crate) struct RustcEiiForeignItemParser; constant PATH (line 714) | const PATH: &[Symbol] = &[sym::rustc_eii_foreign_item]; constant ON_DUPLICATE (line 715) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 716) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 717) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcEiiF... type PatchableFunctionEntryParser (line 720) | pub(crate) struct PatchableFunctionEntryParser; constant PATH (line 723) | const PATH: &[Symbol] = &[sym::patchable_function_entry]; constant ON_DUPLICATE (line 724) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 725) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 726) | const TEMPLATE: AttributeTemplate = template!(List: &["prefix_nops = m... method convert (line 728) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/confusables.rs type ConfusablesParser (line 5) | pub(crate) struct ConfusablesParser { constant ATTRIBUTES (line 11) | const ATTRIBUTES: AcceptMapping = &[( constant ALLOWED_TARGETS (line 38) | const ALLOWED_TARGETS: AllowedTargets = method finalize (line 41) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option = OnDuplicate::WarnButFutureError; constant TEMPLATE (line 14) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "name"); constant ALLOWED_TARGETS (line 15) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... method convert (line 17) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type CrateTypeParser (line 32) | pub(crate) struct CrateTypeParser; constant PATH (line 35) | const PATH: &[Symbol] = &[sym::crate_type]; type Item (line 36) | type Item = CrateType; constant CONVERT (line 37) | const CONVERT: ConvertFn = |items, _| AttributeKind::Crate... constant ALLOWED_TARGETS (line 39) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 41) | const TEMPLATE: AttributeTemplate = method extend (line 44) | fn extend( type RecursionLimitParser (line 82) | pub(crate) struct RecursionLimitParser; constant PATH (line 85) | const PATH: &[Symbol] = &[sym::recursion_limit]; constant ON_DUPLICATE (line 86) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant TEMPLATE (line 87) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "N", "http... constant ALLOWED_TARGETS (line 88) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... method convert (line 90) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type MoveSizeLimitParser (line 104) | pub(crate) struct MoveSizeLimitParser; constant PATH (line 107) | const PATH: &[Symbol] = &[sym::move_size_limit]; constant ON_DUPLICATE (line 108) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant TEMPLATE (line 109) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "N"); constant ALLOWED_TARGETS (line 110) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... method convert (line 112) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type TypeLengthLimitParser (line 126) | pub(crate) struct TypeLengthLimitParser; constant PATH (line 129) | const PATH: &[Symbol] = &[sym::type_length_limit]; constant ON_DUPLICATE (line 130) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant TEMPLATE (line 131) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "N"); constant ALLOWED_TARGETS (line 132) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... method convert (line 134) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type PatternComplexityLimitParser (line 148) | pub(crate) struct PatternComplexityLimitParser; constant PATH (line 151) | const PATH: &[Symbol] = &[sym::pattern_complexity_limit]; constant ON_DUPLICATE (line 152) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant TEMPLATE (line 153) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "N"); constant ALLOWED_TARGETS (line 154) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... method convert (line 156) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type NoCoreParser (line 170) | pub(crate) struct NoCoreParser; constant PATH (line 173) | const PATH: &[Symbol] = &[sym::no_core]; constant ON_DUPLICATE (line 174) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 175) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 176) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::NoCore; type NoStdParser (line 179) | pub(crate) struct NoStdParser; constant PATH (line 182) | const PATH: &[Symbol] = &[sym::no_std]; constant ON_DUPLICATE (line 183) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 184) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 185) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::NoStd; type NoMainParser (line 188) | pub(crate) struct NoMainParser; constant PATH (line 191) | const PATH: &[Symbol] = &[sym::no_main]; constant ON_DUPLICATE (line 192) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 193) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 194) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::NoMain; type RustcCoherenceIsCoreParser (line 197) | pub(crate) struct RustcCoherenceIsCoreParser; constant PATH (line 200) | const PATH: &[Symbol] = &[sym::rustc_coherence_is_core]; constant ON_DUPLICATE (line 201) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 202) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 203) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcCoherenc... type WindowsSubsystemParser (line 206) | pub(crate) struct WindowsSubsystemParser; constant PATH (line 209) | const PATH: &[Symbol] = &[sym::windows_subsystem]; constant ON_DUPLICATE (line 210) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 211) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 212) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: ["windows"... method convert (line 214) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type PanicRuntimeParser (line 236) | pub(crate) struct PanicRuntimeParser; constant PATH (line 239) | const PATH: &[Symbol] = &[sym::panic_runtime]; constant ON_DUPLICATE (line 240) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 241) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 242) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::PanicRunt... type NeedsPanicRuntimeParser (line 245) | pub(crate) struct NeedsPanicRuntimeParser; constant PATH (line 248) | const PATH: &[Symbol] = &[sym::needs_panic_runtime]; constant ON_DUPLICATE (line 249) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 250) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 251) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::NeedsPani... type ProfilerRuntimeParser (line 254) | pub(crate) struct ProfilerRuntimeParser; constant PATH (line 257) | const PATH: &[Symbol] = &[sym::profiler_runtime]; constant ON_DUPLICATE (line 258) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 259) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 260) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::ProfilerR... type NoBuiltinsParser (line 263) | pub(crate) struct NoBuiltinsParser; constant PATH (line 266) | const PATH: &[Symbol] = &[sym::no_builtins]; constant ON_DUPLICATE (line 267) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 268) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 269) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::NoBuiltins; type RustcPreserveUbChecksParser (line 272) | pub(crate) struct RustcPreserveUbChecksParser; constant PATH (line 275) | const PATH: &[Symbol] = &[sym::rustc_preserve_ub_checks]; constant ON_DUPLICATE (line 276) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 277) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 278) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcPres... type RustcNoImplicitBoundsParser (line 281) | pub(crate) struct RustcNoImplicitBoundsParser; constant PATH (line 284) | const PATH: &[Symbol] = &[sym::rustc_no_implicit_bounds]; constant ON_DUPLICATE (line 285) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 286) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 287) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcNoIm... type DefaultLibAllocatorParser (line 290) | pub(crate) struct DefaultLibAllocatorParser; constant PATH (line 293) | const PATH: &[Symbol] = &[sym::default_lib_allocator]; constant ON_DUPLICATE (line 294) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 295) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 296) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::DefaultLi... type FeatureParser (line 299) | pub(crate) struct FeatureParser; constant PATH (line 302) | const PATH: &[Symbol] = &[sym::feature]; type Item (line 303) | type Item = Ident; constant CONVERT (line 304) | const CONVERT: ConvertFn = AttributeKind::Feature; constant ALLOWED_TARGETS (line 305) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 306) | const TEMPLATE: AttributeTemplate = template!(List: &["feature1, featu... method extend (line 308) | fn extend( type RegisterToolParser (line 345) | pub(crate) struct RegisterToolParser; constant PATH (line 348) | const PATH: &[Symbol] = &[sym::register_tool]; type Item (line 349) | type Item = Ident; constant CONVERT (line 350) | const CONVERT: ConvertFn = AttributeKind::RegisterTool; constant ALLOWED_TARGETS (line 351) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... constant TEMPLATE (line 352) | const TEMPLATE: AttributeTemplate = template!(List: &["tool1, tool2, .... method extend (line 354) | fn extend( FILE: compiler/rustc_attr_parsing/src/attributes/debugger.rs type DebuggerViualizerParser (line 5) | pub(crate) struct DebuggerViualizerParser; constant PATH (line 8) | const PATH: &[Symbol] = &[sym::debugger_visualizer]; constant ALLOWED_TARGETS (line 9) | const ALLOWED_TARGETS: AllowedTargets = constant TEMPLATE (line 11) | const TEMPLATE: AttributeTemplate = template!( type Item (line 16) | type Item = DebugVisualizer; constant CONVERT (line 17) | const CONVERT: ConvertFn = |v, _| AttributeKind::DebuggerV... method extend (line 19) | fn extend( FILE: compiler/rustc_attr_parsing/src/attributes/deprecation.rs function get (line 10) | fn get( type DeprecatedParser (line 34) | pub(crate) struct DeprecatedParser; constant PATH (line 36) | const PATH: &[Symbol] = &[sym::deprecated]; constant ON_DUPLICATE (line 37) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 38) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... constant TEMPLATE (line 64) | const TEMPLATE: AttributeTemplate = template!( method convert (line 70) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/diagnostic/do_not_recommend.rs type DoNotRecommendParser (line 12) | pub(crate) struct DoNotRecommendParser; constant PATH (line 14) | const PATH: &[Symbol] = &[sym::diagnostic, sym::do_not_recommend]; constant ON_DUPLICATE (line 15) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 16) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... constant TEMPLATE (line 17) | const TEMPLATE: AttributeTemplate = template!(Word /*doesn't matter */); method convert (line 19) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/diagnostic/mod.rs type Mode (line 29) | pub(crate) enum Mode { function merge_directives (line 40) | fn merge_directives( function merge (line 58) | fn merge( function parse_directive_items (line 83) | fn parse_directive_items<'p, S: Stage>( function warn_on_format_spec (line 368) | fn warn_on_format_spec( function slice_span (line 384) | fn slice_span(input: Span, Range { start, end }: Range, is_source... function parse_condition (line 388) | pub(crate) fn parse_condition( function parse_predicate (line 396) | fn parse_predicate(input: &MetaItemOrLitParser) -> Result Result Name { function parse_filter (line 463) | fn parse_filter(input: Symbol) -> FilterFormatString { type InvalidOnClause (line 490) | pub(crate) enum InvalidOnClause { type NoValueInOnUnimplemented (line 537) | pub(crate) struct NoValueInOnUnimplemented { type DupesNotAllowed (line 547) | pub(crate) struct DupesNotAllowed; FILE: compiler/rustc_attr_parsing/src/attributes/diagnostic/on_const.rs type OnConstParser (line 9) | pub(crate) struct OnConstParser { constant ATTRIBUTES (line 15) | const ATTRIBUTES: AcceptMapping = &[( constant ALLOWED_TARGETS (line 56) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... method finalize (line 58) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option( constant ATTRIBUTES (line 56) | const ATTRIBUTES: AcceptMapping = &[( constant ALLOWED_TARGETS (line 63) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... method finalize (line 65) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option( constant ATTRIBUTES (line 59) | const ATTRIBUTES: AcceptMapping = &[ constant ALLOWED_TARGETS (line 76) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... method finalize (line 78) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option(cx: &mut AcceptContext<'_, '_, S>, keyword: S... function check_attribute (line 36) | fn check_attribute( function check_attr_not_crate_level (line 50) | fn check_attr_not_crate_level( function check_attr_crate_level (line 63) | fn check_attr_crate_level(cx: &mut AcceptContext<'_, '_, S>, s... function expected_name_value (line 76) | fn expected_name_value( function expected_no_args (line 89) | fn expected_no_args(cx: &mut AcceptContext<'_, '_, S>, span: S... function expected_string_literal (line 99) | fn expected_string_literal( function parse_keyword_and_attribute (line 111) | fn parse_keyword_and_attribute( type DocParser (line 151) | pub(crate) struct DocParser { method parse_single_test_doc_attr_item (line 157) | fn parse_single_test_doc_attr_item( method add_alias (line 227) | fn add_alias( method parse_alias (line 265) | fn parse_alias( method parse_inline (line 295) | fn parse_inline( method parse_cfg (line 310) | fn parse_cfg(&mut self, cx: &mut AcceptContext<'_, '_, S>, a... method parse_auto_cfg (line 330) | fn parse_auto_cfg( method parse_single_doc_attr_item (line 444) | fn parse_single_doc_attr_item( method accept_single_doc_attr (line 657) | fn accept_single_doc_attr( constant ATTRIBUTES (line 699) | const ATTRIBUTES: AcceptMapping = &[( constant ALLOWED_TARGETS (line 736) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... method finalize (line 769) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option = OnDuplicate::Ignore; constant ALLOWED_TARGETS (line 14) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... constant TEMPLATE (line 15) | const TEMPLATE: AttributeTemplate = template!(Word); method convert (line 17) | fn convert(_: &mut AcceptContext<'_, '_, S>, _: &ArgParser) -> Option<... FILE: compiler/rustc_attr_parsing/src/attributes/inline.rs type InlineParser (line 10) | pub(crate) struct InlineParser; constant PATH (line 13) | const PATH: &[Symbol] = &[sym::inline]; constant ON_DUPLICATE (line 14) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 15) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 30) | const TEMPLATE: AttributeTemplate = template!( method convert (line 36) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcForceInlineParser (line 66) | pub(crate) struct RustcForceInlineParser; constant PATH (line 69) | const PATH: &[Symbol] = &[sym::rustc_force_inline]; constant ON_DUPLICATE (line 70) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 71) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 76) | const TEMPLATE: AttributeTemplate = template!(Word, List: &["reason"],... method convert (line 78) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/instruction_set.rs type InstructionSetParser (line 6) | pub(crate) struct InstructionSetParser; constant PATH (line 9) | const PATH: &[Symbol] = &[sym::instruction_set]; constant ALLOWED_TARGETS (line 10) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... constant TEMPLATE (line 17) | const TEMPLATE: AttributeTemplate = template!(List: &["set"], "https:/... constant ON_DUPLICATE (line 18) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; method convert (line 20) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/link_attrs.rs type LinkNameParser (line 21) | pub(crate) struct LinkNameParser; constant PATH (line 24) | const PATH: &[Symbol] = &[sym::link_name]; constant ON_DUPLICATE (line 25) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 26) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... constant TEMPLATE (line 30) | const TEMPLATE: AttributeTemplate = template!( method convert (line 35) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type LinkParser (line 49) | pub(crate) struct LinkParser; type Item (line 52) | type Item = LinkEntry; constant PATH (line 53) | const PATH: &[Symbol] = &[sym::link]; constant CONVERT (line 54) | const CONVERT: ConvertFn = AttributeKind::Link; constant TEMPLATE (line 55) | const TEMPLATE: AttributeTemplate = template!(List: &[ constant ALLOWED_TARGETS (line 62) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... method extend (line 64) | fn extend( method parse_link_name (line 250) | fn parse_link_name( method parse_link_kind (line 275) | fn parse_link_kind( method parse_link_modifiers (line 357) | fn parse_link_modifiers( method parse_link_cfg (line 378) | fn parse_link_cfg( method parse_link_wasm_import_module (line 404) | fn parse_link_wasm_import_module( method parse_link_import_name_type (line 425) | fn parse_link_import_name_type( type LinkSectionParser (line 464) | pub(crate) struct LinkSectionParser; constant PATH (line 467) | const PATH: &[Symbol] = &[sym::link_section]; constant ON_DUPLICATE (line 468) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 469) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... constant TEMPLATE (line 476) | const TEMPLATE: AttributeTemplate = template!( method convert (line 481) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type ExportStableParser (line 501) | pub(crate) struct ExportStableParser; constant PATH (line 503) | const PATH: &[Symbol] = &[sym::export_stable]; constant ON_DUPLICATE (line 504) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 505) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... constant CREATE (line 506) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::ExportSta... type FfiConstParser (line 509) | pub(crate) struct FfiConstParser; constant PATH (line 511) | const PATH: &[Symbol] = &[sym::ffi_const]; constant ON_DUPLICATE (line 512) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 513) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 514) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::FfiConst; type FfiPureParser (line 517) | pub(crate) struct FfiPureParser; constant PATH (line 519) | const PATH: &[Symbol] = &[sym::ffi_pure]; constant ON_DUPLICATE (line 520) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 521) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 522) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::FfiPure; type RustcStdInternalSymbolParser (line 525) | pub(crate) struct RustcStdInternalSymbolParser; constant PATH (line 527) | const PATH: &[Symbol] = &[sym::rustc_std_internal_symbol]; constant ON_DUPLICATE (line 528) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 529) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 535) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcStdInter... type LinkOrdinalParser (line 538) | pub(crate) struct LinkOrdinalParser; constant PATH (line 541) | const PATH: &[Symbol] = &[sym::link_ordinal]; constant ON_DUPLICATE (line 542) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 543) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 548) | const TEMPLATE: AttributeTemplate = template!( method convert (line 553) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type LinkageParser (line 578) | pub(crate) struct LinkageParser; constant PATH (line 581) | const PATH: &[Symbol] = &[sym::linkage]; constant ON_DUPLICATE (line 583) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 584) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 595) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: [ method convert (line 607) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type NeedsAllocatorParser (line 660) | pub(crate) struct NeedsAllocatorParser; constant PATH (line 663) | const PATH: &[Symbol] = &[sym::needs_allocator]; constant ON_DUPLICATE (line 664) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 665) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 666) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::NeedsAllo... type CompilerBuiltinsParser (line 669) | pub(crate) struct CompilerBuiltinsParser; constant PATH (line 672) | const PATH: &[Symbol] = &[sym::compiler_builtins]; constant ON_DUPLICATE (line 673) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 674) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 675) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::CompilerB... FILE: compiler/rustc_attr_parsing/src/attributes/lint_helpers.rs type RustcAsPtrParser (line 3) | pub(crate) struct RustcAsPtrParser; constant PATH (line 5) | const PATH: &[Symbol] = &[sym::rustc_as_ptr]; constant ON_DUPLICATE (line 6) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 7) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 14) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcAsPtr; type RustcPubTransparentParser (line 17) | pub(crate) struct RustcPubTransparentParser; constant PATH (line 19) | const PATH: &[Symbol] = &[sym::rustc_pub_transparent]; constant ON_DUPLICATE (line 20) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 21) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 26) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcPubTrans... type RustcPassByValueParser (line 29) | pub(crate) struct RustcPassByValueParser; constant PATH (line 31) | const PATH: &[Symbol] = &[sym::rustc_pass_by_value]; constant ON_DUPLICATE (line 32) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 33) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 38) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcPassByVa... type RustcShouldNotBeCalledOnConstItemsParser (line 41) | pub(crate) struct RustcShouldNotBeCalledOnConstItemsParser; constant PATH (line 43) | const PATH: &[Symbol] = &[sym::rustc_should_not_be_called_on_const_ite... constant ON_DUPLICATE (line 44) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 45) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 49) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcShouldNo... type AutomaticallyDerivedParser (line 52) | pub(crate) struct AutomaticallyDerivedParser; constant PATH (line 54) | const PATH: &[Symbol] = &[sym::automatically_derived]; constant ON_DUPLICATE (line 55) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 56) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... constant CREATE (line 61) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::Automatically... FILE: compiler/rustc_attr_parsing/src/attributes/loop_match.rs type LoopMatchParser (line 3) | pub(crate) struct LoopMatchParser; constant PATH (line 5) | const PATH: &[Symbol] = &[sym::loop_match]; constant ON_DUPLICATE (line 6) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 7) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 8) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::LoopMatch; type ConstContinueParser (line 11) | pub(crate) struct ConstContinueParser; constant PATH (line 13) | const PATH: &[Symbol] = &[sym::const_continue]; constant ON_DUPLICATE (line 14) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 15) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 16) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::ConstContinue; FILE: compiler/rustc_attr_parsing/src/attributes/macro_attrs.rs type MacroEscapeParser (line 6) | pub(crate) struct MacroEscapeParser; constant PATH (line 8) | const PATH: &[Symbol] = &[sym::macro_escape]; constant ON_DUPLICATE (line 9) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 10) | const ALLOWED_TARGETS: AllowedTargets = MACRO_USE_ALLOWED_TARGETS; constant CREATE (line 11) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::MacroEscape; type MacroUseParser (line 19) | pub(crate) struct MacroUseParser { constant ATTRIBUTES (line 41) | const ATTRIBUTES: AcceptMapping = &[( constant ALLOWED_TARGETS (line 108) | const ALLOWED_TARGETS: AllowedTargets = MACRO_USE_ALLOWED_TARGETS; method finalize (line 110) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option = OnDuplicate::Ignore; constant ALLOWED_TARGETS (line 120) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 126) | const CREATE: fn(Span) -> AttributeKind = |span| AttributeKind::AllowI... type MacroExportParser (line 129) | pub(crate) struct MacroExportParser; constant PATH (line 132) | const PATH: &[Symbol] = &[sym::macro_export]; constant ON_DUPLICATE (line 133) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant TEMPLATE (line 134) | const TEMPLATE: AttributeTemplate = template!(Word, List: &["local_inn... constant ALLOWED_TARGETS (line 135) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... method convert (line 141) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type CollapseDebugInfoParser (line 166) | pub(crate) struct CollapseDebugInfoParser; constant PATH (line 169) | const PATH: &[Symbol] = &[sym::collapse_debuginfo]; constant ON_DUPLICATE (line 170) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant TEMPLATE (line 171) | const TEMPLATE: AttributeTemplate = template!( constant ALLOWED_TARGETS (line 175) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... method convert (line 177) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcProcMacroDeclsParser (line 208) | pub(crate) struct RustcProcMacroDeclsParser; constant PATH (line 211) | const PATH: &[Symbol] = &[sym::rustc_proc_macro_decls]; constant ON_DUPLICATE (line 212) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 213) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 214) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcProc... FILE: compiler/rustc_attr_parsing/src/attributes/mod.rs type AcceptFn (line 72) | type AcceptFn = for<'sess> fn(&mut T, &mut AcceptContext<'_, 'sess... type AcceptMapping (line 73) | type AcceptMapping = &'static [(&'static [Symbol], AttributeTempla... type AttributeParser (line 94) | pub(crate) trait AttributeParser: Default + 'static { constant ATTRIBUTES (line 98) | const ATTRIBUTES: AcceptMapping; constant ALLOWED_TARGETS (line 99) | const ALLOWED_TARGETS: AllowedTargets; method finalize (line 109) | fn finalize(self, cx: &FinalizeContext<'_, '_, S>) -> Option: 'static { constant PATH (line 125) | const PATH: &[Symbol]; constant ON_DUPLICATE (line 129) | const ON_DUPLICATE: OnDuplicate; constant ALLOWED_TARGETS (line 131) | const ALLOWED_TARGETS: AllowedTargets; constant TEMPLATE (line 134) | const TEMPLATE: AttributeTemplate; method convert (line 137) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type Single (line 142) | pub(crate) struct Single, S: Stage>( method default (line 148) | fn default() -> Self { constant ATTRIBUTES (line 154) | const ATTRIBUTES: AcceptMapping = &[( constant ALLOWED_TARGETS (line 167) | const ALLOWED_TARGETS: AllowedTargets = T::ALLOWED_TARGETS; function finalize (line 169) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option { function exec (line 196) | fn exec>( type NoArgsAttributeParser (line 225) | pub(crate) trait NoArgsAttributeParser: 'static { constant PATH (line 226) | const PATH: &[Symbol]; constant ON_DUPLICATE (line 227) | const ON_DUPLICATE: OnDuplicate; constant ALLOWED_TARGETS (line 228) | const ALLOWED_TARGETS: AllowedTargets; constant CREATE (line 231) | const CREATE: fn(Span) -> AttributeKind; type WithoutArgs (line 234) | pub(crate) struct WithoutArgs, S: Stage>(Pha... method default (line 237) | fn default() -> Self { constant PATH (line 243) | const PATH: &[Symbol] = T::PATH; constant ON_DUPLICATE (line 244) | const ON_DUPLICATE: OnDuplicate = T::ON_DUPLICATE; constant ALLOWED_TARGETS (line 245) | const ALLOWED_TARGETS: AllowedTargets = T::ALLOWED_TARGETS; constant TEMPLATE (line 246) | const TEMPLATE: AttributeTemplate = template!(Word); function convert (line 248) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Optio... type ConvertFn (line 256) | type ConvertFn = fn(ThinVec, Span) -> AttributeKind; type CombineAttributeParser (line 265) | pub(crate) trait CombineAttributeParser: 'static { constant PATH (line 266) | const PATH: &[rustc_span::Symbol]; constant CONVERT (line 273) | const CONVERT: ConvertFn; constant ALLOWED_TARGETS (line 275) | const ALLOWED_TARGETS: AllowedTargets; constant TEMPLATE (line 278) | const TEMPLATE: AttributeTemplate; method extend (line 281) | fn extend( type Combine (line 289) | pub(crate) struct Combine, S: Stage> { method default (line 298) | fn default() -> Self { constant ATTRIBUTES (line 308) | const ATTRIBUTES: AcceptMapping = constant ALLOWED_TARGETS (line 314) | const ALLOWED_TARGETS: AllowedTargets = T::ALLOWED_TARGETS; function finalize (line 316) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option = OnDuplicate::Error; constant ALLOWED_TARGETS (line 8) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 14) | const TEMPLATE: AttributeTemplate = template!(Word, List: &["count"]); method convert (line 16) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/must_use.rs type MustUseParser (line 3) | pub(crate) struct MustUseParser; constant PATH (line 6) | const PATH: &[Symbol] = &[sym::must_use]; constant ON_DUPLICATE (line 7) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 8) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowListWarnR... constant TEMPLATE (line 23) | const TEMPLATE: AttributeTemplate = template!( method convert (line 28) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/no_implicit_prelude.rs type NoImplicitPreludeParser (line 3) | pub(crate) struct NoImplicitPreludeParser; constant PATH (line 6) | const PATH: &[rustc_span::Symbol] = &[sym::no_implicit_prelude]; constant ON_DUPLICATE (line 7) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 8) | const ALLOWED_TARGETS: AllowedTargets = constant CREATE (line 10) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::NoImplicitPre... FILE: compiler/rustc_attr_parsing/src/attributes/no_link.rs type NoLinkParser (line 3) | pub(crate) struct NoLinkParser; constant PATH (line 5) | const PATH: &[Symbol] = &[sym::no_link]; constant ON_DUPLICATE (line 6) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 7) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 13) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::NoLink; FILE: compiler/rustc_attr_parsing/src/attributes/non_exhaustive.rs type NonExhaustiveParser (line 10) | pub(crate) struct NonExhaustiveParser; constant PATH (line 13) | const PATH: &[Symbol] = &[sym::non_exhaustive]; constant ON_DUPLICATE (line 14) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 15) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 24) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::NonExhaustive; FILE: compiler/rustc_attr_parsing/src/attributes/path.rs type PathParser (line 3) | pub(crate) struct PathParser; constant PATH (line 6) | const PATH: &[Symbol] = &[sym::path]; constant ON_DUPLICATE (line 7) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 8) | const ALLOWED_TARGETS: AllowedTargets = constant TEMPLATE (line 10) | const TEMPLATE: AttributeTemplate = template!( method convert (line 15) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/pin_v2.rs type PinV2Parser (line 10) | pub(crate) struct PinV2Parser; constant PATH (line 13) | const PATH: &[Symbol] = &[sym::pin_v2]; constant ON_DUPLICATE (line 14) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 15) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 20) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::PinV2; FILE: compiler/rustc_attr_parsing/src/attributes/proc_macro_attrs.rs constant PROC_MACRO_ALLOWED_TARGETS (line 6) | const PROC_MACRO_ALLOWED_TARGETS: AllowedTargets = type ProcMacroParser (line 9) | pub(crate) struct ProcMacroParser; constant PATH (line 11) | const PATH: &[Symbol] = &[sym::proc_macro]; constant ON_DUPLICATE (line 12) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 13) | const ALLOWED_TARGETS: AllowedTargets = PROC_MACRO_ALLOWED_TARGETS; constant CREATE (line 14) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::ProcMacro; type ProcMacroAttributeParser (line 17) | pub(crate) struct ProcMacroAttributeParser; constant PATH (line 19) | const PATH: &[Symbol] = &[sym::proc_macro_attribute]; constant ON_DUPLICATE (line 20) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 21) | const ALLOWED_TARGETS: AllowedTargets = PROC_MACRO_ALLOWED_TARGETS; constant CREATE (line 22) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::ProcMacroAttr... type ProcMacroDeriveParser (line 25) | pub(crate) struct ProcMacroDeriveParser; constant PATH (line 27) | const PATH: &[Symbol] = &[sym::proc_macro_derive]; constant ON_DUPLICATE (line 28) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 29) | const ALLOWED_TARGETS: AllowedTargets = PROC_MACRO_ALLOWED_TARGETS; constant TEMPLATE (line 30) | const TEMPLATE: AttributeTemplate = template!( method convert (line 35) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcBuiltinMacroParser (line 45) | pub(crate) struct RustcBuiltinMacroParser; constant PATH (line 47) | const PATH: &[Symbol] = &[sym::rustc_builtin_macro]; constant ON_DUPLICATE (line 48) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 49) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 50) | const TEMPLATE: AttributeTemplate = method convert (line 53) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... function parse_derive_like (line 59) | fn parse_derive_like( FILE: compiler/rustc_attr_parsing/src/attributes/prototype.rs type CustomMirParser (line 16) | pub(crate) struct CustomMirParser; constant PATH (line 19) | const PATH: &[rustc_span::Symbol] = &[sym::custom_mir]; constant ON_DUPLICATE (line 21) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 23) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 25) | const TEMPLATE: AttributeTemplate = template!(List: &[r#"dialect = "..... method convert (line 27) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... function extract_value (line 69) | fn extract_value( function parse_dialect (line 98) | fn parse_dialect( function parse_phase (line 120) | fn parse_phase( function check_custom_mir (line 142) | fn check_custom_mir( FILE: compiler/rustc_attr_parsing/src/attributes/repr.rs type ReprParser (line 16) | pub(crate) struct ReprParser; type Item (line 19) | type Item = (ReprAttr, Span); constant PATH (line 20) | const PATH: &[Symbol] = &[sym::repr]; constant CONVERT (line 21) | const CONVERT: ConvertFn = constant TEMPLATE (line 24) | const TEMPLATE: AttributeTemplate = template!( method extend (line 29) | fn extend( constant ALLOWED_TARGETS (line 61) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... function int_type_of_word (line 81) | fn int_type_of_word(s: Symbol) -> Option { function parse_repr (line 101) | fn parse_repr(cx: &AcceptContext<'_, '_, S>, param: &MetaItemP... type AlignKind (line 185) | enum AlignKind { function parse_repr_align (line 190) | fn parse_repr_align( function parse_alignment (line 251) | fn parse_alignment( type RustcAlignParser (line 284) | pub(crate) struct RustcAlignParser(Option<(Align, Span)>); constant PATH (line 287) | const PATH: &[Symbol] = &[sym::rustc_align]; constant TEMPLATE (line 288) | const TEMPLATE: AttributeTemplate = template!(List: &["(&mut self, cx: &mut AcceptContext<'_, '_, S>, args:... constant ATTRIBUTES (line 324) | const ATTRIBUTES: AcceptMapping = &[(Self::PATH, Self::TEMPLA... constant ALLOWED_TARGETS (line 325) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ method finalize (line 334) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option(&mut self, cx: &mut AcceptContext<'_, '_, S>, args:... constant ATTRIBUTES (line 353) | const ATTRIBUTES: AcceptMapping = &[(Self::PATH, Self::TEMPLA... constant ALLOWED_TARGETS (line 354) | const ALLOWED_TARGETS: AllowedTargets = method finalize (line 357) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option = OnDuplicate::Error; constant ALLOWED_TARGETS (line 8) | const ALLOWED_TARGETS: AllowedTargets = constant CREATE (line 10) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcAllo... type RustcAllocatorZeroedParser (line 13) | pub(crate) struct RustcAllocatorZeroedParser; constant PATH (line 16) | const PATH: &[Symbol] = &[sym::rustc_allocator_zeroed]; constant ON_DUPLICATE (line 17) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 18) | const ALLOWED_TARGETS: AllowedTargets = constant CREATE (line 20) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcAllo... type RustcAllocatorZeroedVariantParser (line 23) | pub(crate) struct RustcAllocatorZeroedVariantParser; constant PATH (line 26) | const PATH: &[Symbol] = &[sym::rustc_allocator_zeroed_variant]; constant ON_DUPLICATE (line 27) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 28) | const ALLOWED_TARGETS: AllowedTargets = constant TEMPLATE (line 30) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "function"); method convert (line 31) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcDeallocatorParser (line 41) | pub(crate) struct RustcDeallocatorParser; constant PATH (line 44) | const PATH: &[Symbol] = &[sym::rustc_deallocator]; constant ON_DUPLICATE (line 45) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 46) | const ALLOWED_TARGETS: AllowedTargets = constant CREATE (line 48) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDeal... type RustcReallocatorParser (line 51) | pub(crate) struct RustcReallocatorParser; constant PATH (line 54) | const PATH: &[Symbol] = &[sym::rustc_reallocator]; constant ON_DUPLICATE (line 55) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 56) | const ALLOWED_TARGETS: AllowedTargets = constant CREATE (line 58) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcReal... FILE: compiler/rustc_attr_parsing/src/attributes/rustc_dump.rs type RustcDumpUserArgsParser (line 10) | pub(crate) struct RustcDumpUserArgsParser; constant PATH (line 13) | const PATH: &[Symbol] = &[sym::rustc_dump_user_args]; constant ON_DUPLICATE (line 14) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 15) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 16) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDump... type RustcDumpDefParentsParser (line 19) | pub(crate) struct RustcDumpDefParentsParser; constant PATH (line 22) | const PATH: &[Symbol] = &[sym::rustc_dump_def_parents]; constant ON_DUPLICATE (line 23) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 24) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 25) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDump... type RustcDumpInferredOutlivesParser (line 28) | pub(crate) struct RustcDumpInferredOutlivesParser; constant PATH (line 31) | const PATH: &[Symbol] = &[sym::rustc_dump_inferred_outlives]; constant ON_DUPLICATE (line 32) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 33) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 39) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDump... type RustcDumpItemBoundsParser (line 42) | pub(crate) struct RustcDumpItemBoundsParser; constant PATH (line 45) | const PATH: &[Symbol] = &[sym::rustc_dump_item_bounds]; constant ON_DUPLICATE (line 46) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 47) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 48) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDump... type RustcDumpObjectLifetimeDefaultsParser (line 51) | pub(crate) struct RustcDumpObjectLifetimeDefaultsParser; constant PATH (line 54) | const PATH: &[Symbol] = &[sym::rustc_dump_object_lifetime_defaults]; constant ON_DUPLICATE (line 55) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 56) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 75) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDump... type RustcDumpPredicatesParser (line 78) | pub(crate) struct RustcDumpPredicatesParser; constant PATH (line 81) | const PATH: &[Symbol] = &[sym::rustc_dump_predicates]; constant ON_DUPLICATE (line 82) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 83) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 103) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDump... type RustcDumpVariancesParser (line 106) | pub(crate) struct RustcDumpVariancesParser; constant PATH (line 109) | const PATH: &[Symbol] = &[sym::rustc_dump_variances]; constant ON_DUPLICATE (line 110) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 111) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 121) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDump... type RustcDumpVariancesOfOpaquesParser (line 124) | pub(crate) struct RustcDumpVariancesOfOpaquesParser; constant PATH (line 127) | const PATH: &[Symbol] = &[sym::rustc_dump_variances_of_opaques]; constant ON_DUPLICATE (line 128) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 129) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 130) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDump... type RustcDumpVtableParser (line 133) | pub(crate) struct RustcDumpVtableParser; constant PATH (line 136) | const PATH: &[Symbol] = &[sym::rustc_dump_vtable]; constant ON_DUPLICATE (line 137) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 138) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 142) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcDumpVtable; FILE: compiler/rustc_attr_parsing/src/attributes/rustc_internal.rs type RustcMainParser (line 19) | pub(crate) struct RustcMainParser; constant PATH (line 22) | const PATH: &[Symbol] = &[sym::rustc_main]; constant ON_DUPLICATE (line 23) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 24) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 25) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcMain; type RustcMustImplementOneOfParser (line 28) | pub(crate) struct RustcMustImplementOneOfParser; constant PATH (line 31) | const PATH: &[Symbol] = &[sym::rustc_must_implement_one_of]; constant ON_DUPLICATE (line 32) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 33) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 34) | const TEMPLATE: AttributeTemplate = template!(List: &["function1, func... method convert (line 35) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcNeverReturnsNullPtrParser (line 73) | pub(crate) struct RustcNeverReturnsNullPtrParser; constant PATH (line 76) | const PATH: &[Symbol] = &[sym::rustc_never_returns_null_ptr]; constant ON_DUPLICATE (line 77) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 78) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 85) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcNeve... type RustcNoImplicitAutorefsParser (line 87) | pub(crate) struct RustcNoImplicitAutorefsParser; constant PATH (line 90) | const PATH: &[Symbol] = &[sym::rustc_no_implicit_autorefs]; constant ON_DUPLICATE (line 91) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 92) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 100) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcNoIm... type RustcLayoutScalarValidRangeStartParser (line 103) | pub(crate) struct RustcLayoutScalarValidRangeStartParser; constant PATH (line 106) | const PATH: &[Symbol] = &[sym::rustc_layout_scalar_valid_range_start]; constant ON_DUPLICATE (line 107) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 108) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 109) | const TEMPLATE: AttributeTemplate = template!(List: &["start"]); method convert (line 111) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcLayoutScalarValidRangeEndParser (line 117) | pub(crate) struct RustcLayoutScalarValidRangeEndParser; constant PATH (line 120) | const PATH: &[Symbol] = &[sym::rustc_layout_scalar_valid_range_end]; constant ON_DUPLICATE (line 121) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 122) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 123) | const TEMPLATE: AttributeTemplate = template!(List: &["end"]); method convert (line 125) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcLegacyConstGenericsParser (line 131) | pub(crate) struct RustcLegacyConstGenericsParser; constant PATH (line 134) | const PATH: &[Symbol] = &[sym::rustc_legacy_const_generics]; constant ON_DUPLICATE (line 135) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 136) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 137) | const TEMPLATE: AttributeTemplate = template!(List: &["N"]); method convert (line 139) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcInheritOverflowChecksParser (line 174) | pub(crate) struct RustcInheritOverflowChecksParser; constant PATH (line 177) | const PATH: &[Symbol] = &[sym::rustc_inherit_overflow_checks]; constant ON_DUPLICATE (line 178) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 179) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 185) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcInhe... type RustcLintOptDenyFieldAccessParser (line 188) | pub(crate) struct RustcLintOptDenyFieldAccessParser; constant PATH (line 191) | const PATH: &[Symbol] = &[sym::rustc_lint_opt_deny_field_access]; constant ON_DUPLICATE (line 192) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 193) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 194) | const TEMPLATE: AttributeTemplate = template!(Word); method convert (line 195) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcLintOptTyParser (line 211) | pub(crate) struct RustcLintOptTyParser; constant PATH (line 214) | const PATH: &[Symbol] = &[sym::rustc_lint_opt_ty]; constant ON_DUPLICATE (line 215) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 216) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 217) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcLint... function parse_cgu_fields (line 220) | fn parse_cgu_fields( type RustcCguTestAttributeParser (line 315) | pub(crate) struct RustcCguTestAttributeParser { constant ATTRIBUTES (line 320) | const ATTRIBUTES: AcceptMapping = &[ constant ALLOWED_TARGETS (line 351) | const ALLOWED_TARGETS: AllowedTargets = method finalize (line 354) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option = OnDuplicate::Error; constant ALLOWED_TARGETS (line 364) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 371) | const TEMPLATE: AttributeTemplate = template!(List: &[r#"audit_that = ... method convert (line 373) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcConversionSuggestionParser (line 408) | pub(crate) struct RustcConversionSuggestionParser; constant PATH (line 411) | const PATH: &[Symbol] = &[sym::rustc_conversion_suggestion]; constant ON_DUPLICATE (line 412) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 413) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 420) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcConv... type RustcCaptureAnalysisParser (line 423) | pub(crate) struct RustcCaptureAnalysisParser; constant PATH (line 426) | const PATH: &[Symbol] = &[sym::rustc_capture_analysis]; constant ON_DUPLICATE (line 427) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 428) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 429) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcCapt... type RustcNeverTypeOptionsParser (line 432) | pub(crate) struct RustcNeverTypeOptionsParser; constant PATH (line 435) | const PATH: &[Symbol] = &[sym::rustc_never_type_options]; constant ON_DUPLICATE (line 436) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 437) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 438) | const TEMPLATE: AttributeTemplate = template!(List: &[ method convert (line 443) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcTrivialFieldReadsParser (line 513) | pub(crate) struct RustcTrivialFieldReadsParser; constant PATH (line 516) | const PATH: &[Symbol] = &[sym::rustc_trivial_field_reads]; constant ON_DUPLICATE (line 517) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 518) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 519) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcTriv... type RustcNoMirInlineParser (line 522) | pub(crate) struct RustcNoMirInlineParser; constant PATH (line 525) | const PATH: &[Symbol] = &[sym::rustc_no_mir_inline]; constant ON_DUPLICATE (line 526) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 527) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 534) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcNoMi... type RustcLintQueryInstabilityParser (line 537) | pub(crate) struct RustcLintQueryInstabilityParser; constant PATH (line 540) | const PATH: &[Symbol] = &[sym::rustc_lint_query_instability]; constant ON_DUPLICATE (line 541) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 542) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 549) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcLint... type RustcRegionsParser (line 552) | pub(crate) struct RustcRegionsParser; constant PATH (line 555) | const PATH: &[Symbol] = &[sym::rustc_regions]; constant ON_DUPLICATE (line 556) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 557) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 565) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcRegi... type RustcLintUntrackedQueryInformationParser (line 568) | pub(crate) struct RustcLintUntrackedQueryInformationParser; constant PATH (line 571) | const PATH: &[Symbol] = &[sym::rustc_lint_untracked_query_information]; constant ON_DUPLICATE (line 572) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 573) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 581) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcLint... type RustcSimdMonomorphizeLaneLimitParser (line 584) | pub(crate) struct RustcSimdMonomorphizeLaneLimitParser; constant PATH (line 587) | const PATH: &[Symbol] = &[sym::rustc_simd_monomorphize_lane_limit]; constant ON_DUPLICATE (line 588) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 589) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 590) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "N"); method convert (line 592) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcScalableVectorParser (line 601) | pub(crate) struct RustcScalableVectorParser; constant PATH (line 604) | const PATH: &[Symbol] = &[sym::rustc_scalable_vector]; constant ON_DUPLICATE (line 605) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 606) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 607) | const TEMPLATE: AttributeTemplate = template!(Word, List: &["count"]); method convert (line 609) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type LangParser (line 626) | pub(crate) struct LangParser; constant PATH (line 629) | const PATH: &[Symbol] = &[sym::lang]; constant ON_DUPLICATE (line 630) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 631) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... constant TEMPLATE (line 632) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "name"); method convert (line 634) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcHasIncoherentInherentImplsParser (line 651) | pub(crate) struct RustcHasIncoherentInherentImplsParser; constant PATH (line 654) | const PATH: &[Symbol] = &[sym::rustc_has_incoherent_inherent_impls]; constant ON_DUPLICATE (line 655) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 656) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 663) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcHasI... type PanicHandlerParser (line 666) | pub(crate) struct PanicHandlerParser; constant PATH (line 669) | const PATH: &[Symbol] = &[sym::panic_handler]; constant ON_DUPLICATE (line 670) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 671) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... constant CREATE (line 672) | const CREATE: fn(Span) -> AttributeKind = |span| AttributeKind::Lang(L... type RustcHiddenTypeOfOpaquesParser (line 675) | pub(crate) struct RustcHiddenTypeOfOpaquesParser; constant PATH (line 678) | const PATH: &[Symbol] = &[sym::rustc_hidden_type_of_opaques]; constant ON_DUPLICATE (line 679) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 680) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 681) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcHidd... type RustcNounwindParser (line 683) | pub(crate) struct RustcNounwindParser; constant PATH (line 686) | const PATH: &[Symbol] = &[sym::rustc_nounwind]; constant ON_DUPLICATE (line 687) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 688) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 695) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcNoun... type RustcOffloadKernelParser (line 698) | pub(crate) struct RustcOffloadKernelParser; constant PATH (line 701) | const PATH: &[Symbol] = &[sym::rustc_offload_kernel]; constant ON_DUPLICATE (line 702) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 703) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 704) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcOffl... type RustcLayoutParser (line 707) | pub(crate) struct RustcLayoutParser; constant PATH (line 710) | const PATH: &[Symbol] = &[sym::rustc_layout]; type Item (line 712) | type Item = RustcLayoutType; constant CONVERT (line 714) | const CONVERT: ConvertFn = |items, _| AttributeKind::Rustc... constant ALLOWED_TARGETS (line 716) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 723) | const TEMPLATE: AttributeTemplate = method extend (line 725) | fn extend( type RustcMirParser (line 764) | pub(crate) struct RustcMirParser; constant PATH (line 767) | const PATH: &[Symbol] = &[sym::rustc_mir]; type Item (line 769) | type Item = RustcMirKind; constant CONVERT (line 771) | const CONVERT: ConvertFn = |items, _| AttributeKind::Rustc... constant ALLOWED_TARGETS (line 773) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 781) | const TEMPLATE: AttributeTemplate = template!(List: &["arg1, arg2, ...... method extend (line 783) | fn extend( type RustcNonConstTraitMethodParser (line 852) | pub(crate) struct RustcNonConstTraitMethodParser; constant PATH (line 855) | const PATH: &[Symbol] = &[sym::rustc_non_const_trait_method]; constant ON_DUPLICATE (line 856) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 857) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 861) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcNonC... type RustcCleanParser (line 864) | pub(crate) struct RustcCleanParser; constant PATH (line 867) | const PATH: &[Symbol] = &[sym::rustc_clean]; type Item (line 869) | type Item = RustcCleanAttribute; constant CONVERT (line 871) | const CONVERT: ConvertFn = |items, _| AttributeKind::Rustc... constant ALLOWED_TARGETS (line 873) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 898) | const TEMPLATE: AttributeTemplate = method extend (line 901) | fn extend( type RustcIfThisChangedParser (line 969) | pub(crate) struct RustcIfThisChangedParser; constant PATH (line 972) | const PATH: &[Symbol] = &[sym::rustc_if_this_changed]; constant ON_DUPLICATE (line 974) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 976) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 1001) | const TEMPLATE: AttributeTemplate = template!(Word, List: &["DepNode"]); method convert (line 1003) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcThenThisWouldNeedParser (line 1028) | pub(crate) struct RustcThenThisWouldNeedParser; constant PATH (line 1031) | const PATH: &[Symbol] = &[sym::rustc_then_this_would_need]; type Item (line 1032) | type Item = Ident; constant CONVERT (line 1034) | const CONVERT: ConvertFn = constant ALLOWED_TARGETS (line 1036) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 1061) | const TEMPLATE: AttributeTemplate = template!(List: &["DepNode"]); method extend (line 1063) | fn extend( type RustcInsignificantDtorParser (line 1082) | pub(crate) struct RustcInsignificantDtorParser; constant PATH (line 1085) | const PATH: &[Symbol] = &[sym::rustc_insignificant_dtor]; constant ON_DUPLICATE (line 1086) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1087) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 1092) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcInsi... type RustcEffectiveVisibilityParser (line 1095) | pub(crate) struct RustcEffectiveVisibilityParser; constant PATH (line 1098) | const PATH: &[Symbol] = &[sym::rustc_effective_visibility]; constant ON_DUPLICATE (line 1099) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1100) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 1131) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcEffe... type RustcDiagnosticItemParser (line 1134) | pub(crate) struct RustcDiagnosticItemParser; constant PATH (line 1137) | const PATH: &[Symbol] = &[sym::rustc_diagnostic_item]; constant ON_DUPLICATE (line 1138) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1139) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 1157) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "name"); method convert (line 1159) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcDoNotConstCheckParser (line 1172) | pub(crate) struct RustcDoNotConstCheckParser; constant PATH (line 1175) | const PATH: &[Symbol] = &[sym::rustc_do_not_const_check]; constant ON_DUPLICATE (line 1176) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1177) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 1184) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDoNo... type RustcNonnullOptimizationGuaranteedParser (line 1187) | pub(crate) struct RustcNonnullOptimizationGuaranteedParser; constant PATH (line 1190) | const PATH: &[Symbol] = &[sym::rustc_nonnull_optimization_guaranteed]; constant ON_DUPLICATE (line 1191) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1192) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 1193) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcNonn... type RustcSymbolNameParser (line 1196) | pub(crate) struct RustcSymbolNameParser; constant PATH (line 1199) | const PATH: &[Symbol] = &[sym::rustc_symbol_name]; constant ALLOWED_TARGETS (line 1200) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant ON_DUPLICATE (line 1209) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant TEMPLATE (line 1210) | const TEMPLATE: AttributeTemplate = template!(Word); method convert (line 1211) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcDefPathParser (line 1220) | pub(crate) struct RustcDefPathParser; constant PATH (line 1223) | const PATH: &[Symbol] = &[sym::rustc_def_path]; constant ALLOWED_TARGETS (line 1224) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant ON_DUPLICATE (line 1233) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant TEMPLATE (line 1234) | const TEMPLATE: AttributeTemplate = template!(Word); method convert (line 1235) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcStrictCoherenceParser (line 1244) | pub(crate) struct RustcStrictCoherenceParser; constant PATH (line 1247) | const PATH: &[Symbol] = &[sym::rustc_strict_coherence]; constant ON_DUPLICATE (line 1248) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1249) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 1256) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcStrictCo... type RustcReservationImplParser (line 1259) | pub(crate) struct RustcReservationImplParser; constant PATH (line 1262) | const PATH: &[Symbol] = &[sym::rustc_reservation_impl]; constant ON_DUPLICATE (line 1263) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1264) | const ALLOWED_TARGETS: AllowedTargets = constant TEMPLATE (line 1267) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "reservati... method convert (line 1269) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type PreludeImportParser (line 1284) | pub(crate) struct PreludeImportParser; constant PATH (line 1287) | const PATH: &[Symbol] = &[sym::prelude_import]; constant ON_DUPLICATE (line 1288) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 1289) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 1290) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::PreludeIm... type RustcDocPrimitiveParser (line 1293) | pub(crate) struct RustcDocPrimitiveParser; constant PATH (line 1296) | const PATH: &[Symbol] = &[sym::rustc_doc_primitive]; constant ON_DUPLICATE (line 1297) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1298) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 1299) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "primitive... method convert (line 1301) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcIntrinsicParser (line 1316) | pub(crate) struct RustcIntrinsicParser; constant PATH (line 1319) | const PATH: &[Symbol] = &[sym::rustc_intrinsic]; constant ON_DUPLICATE (line 1320) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1321) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 1322) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcIntr... type RustcIntrinsicConstStableIndirectParser (line 1325) | pub(crate) struct RustcIntrinsicConstStableIndirectParser; constant PATH (line 1328) | const PATH: &'static [Symbol] = &[sym::rustc_intrinsic_const_stable_in... constant ON_DUPLICATE (line 1329) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 1330) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 1331) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcIntr... FILE: compiler/rustc_attr_parsing/src/attributes/semantics.rs type MayDangleParser (line 3) | pub(crate) struct MayDangleParser; constant PATH (line 5) | const PATH: &[Symbol] = &[sym::may_dangle]; constant ON_DUPLICATE (line 6) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 7) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... constant CREATE (line 8) | const CREATE: fn(span: Span) -> AttributeKind = AttributeKind::MayDangle; FILE: compiler/rustc_attr_parsing/src/attributes/stability.rs constant ALLOWED_TARGETS (line 25) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ type StabilityParser (line 56) | pub(crate) struct StabilityParser { method check_duplicate (line 63) | fn check_duplicate(&self, cx: &AcceptContext<'_, '_, S>) -> ... constant ATTRIBUTES (line 74) | const ATTRIBUTES: AcceptMapping = &[ constant ALLOWED_TARGETS (line 116) | const ALLOWED_TARGETS: AllowedTargets = ALLOWED_TARGETS; method finalize (line 118) | fn finalize(mut self, cx: &FinalizeContext<'_, '_, S>) -> Option = &[( constant ALLOWED_TARGETS (line 172) | const ALLOWED_TARGETS: AllowedTargets = ALLOWED_TARGETS; method finalize (line 174) | fn finalize(self, _cx: &FinalizeContext<'_, '_, S>) -> Option = OnDuplicate::Ignore; constant ALLOWED_TARGETS (line 185) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 189) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcCons... type ConstStabilityParser (line 193) | pub(crate) struct ConstStabilityParser { method check_duplicate (line 200) | fn check_duplicate(&self, cx: &AcceptContext<'_, '_, S>) -> ... constant ATTRIBUTES (line 211) | const ATTRIBUTES: AcceptMapping = &[ constant ALLOWED_TARGETS (line 248) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ method finalize (line 263) | fn finalize(mut self, cx: &FinalizeContext<'_, '_, S>) -> Option( function parse_stability (line 305) | pub(crate) fn parse_stability( function parse_unstability (line 372) | pub(crate) fn parse_unstability( FILE: compiler/rustc_attr_parsing/src/attributes/test_attrs.rs type IgnoreParser (line 6) | pub(crate) struct IgnoreParser; constant PATH (line 9) | const PATH: &[Symbol] = &[sym::ignore]; constant ON_DUPLICATE (line 10) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 11) | const ALLOWED_TARGETS: AllowedTargets = constant TEMPLATE (line 13) | const TEMPLATE: AttributeTemplate = template!( method convert (line 18) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type ShouldPanicParser (line 39) | pub(crate) struct ShouldPanicParser; constant PATH (line 42) | const PATH: &[Symbol] = &[sym::should_panic]; constant ON_DUPLICATE (line 43) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::WarnButFutureError; constant ALLOWED_TARGETS (line 44) | const ALLOWED_TARGETS: AllowedTargets = constant TEMPLATE (line 46) | const TEMPLATE: AttributeTemplate = template!( method convert (line 51) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type ReexportTestHarnessMainParser (line 94) | pub(crate) struct ReexportTestHarnessMainParser; constant PATH (line 97) | const PATH: &[Symbol] = &[sym::reexport_test_harness_main]; constant ON_DUPLICATE (line 98) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 99) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 100) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "name"); method convert (line 102) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcAbiParser (line 120) | pub(crate) struct RustcAbiParser; constant PATH (line 123) | const PATH: &[Symbol] = &[sym::rustc_abi]; constant ON_DUPLICATE (line 124) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant TEMPLATE (line 125) | const TEMPLATE: AttributeTemplate = template!(OneOf: &[sym::debug, sym... constant ALLOWED_TARGETS (line 126) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ method convert (line 136) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcDelayedBugFromInsideQueryParser (line 168) | pub(crate) struct RustcDelayedBugFromInsideQueryParser; constant PATH (line 171) | const PATH: &[Symbol] = &[sym::rustc_delayed_bug_from_inside_query]; constant ON_DUPLICATE (line 172) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 173) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 174) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcDela... type RustcEvaluateWhereClausesParser (line 177) | pub(crate) struct RustcEvaluateWhereClausesParser; constant PATH (line 180) | const PATH: &[Symbol] = &[sym::rustc_evaluate_where_clauses]; constant ON_DUPLICATE (line 181) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 182) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 189) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::RustcEval... type TestRunnerParser (line 192) | pub(crate) struct TestRunnerParser; constant PATH (line 195) | const PATH: &[Symbol] = &[sym::test_runner]; constant ON_DUPLICATE (line 196) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 197) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 198) | const TEMPLATE: AttributeTemplate = template!(List: &["path"]); method convert (line 200) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcTestMarkerParser (line 220) | pub(crate) struct RustcTestMarkerParser; constant PATH (line 223) | const PATH: &[Symbol] = &[sym::rustc_test_marker]; constant ON_DUPLICATE (line 224) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 225) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant TEMPLATE (line 230) | const TEMPLATE: AttributeTemplate = template!(NameValueStr: "test_path"); method convert (line 232) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/traits.rs type RustcSkipDuringMethodDispatchParser (line 10) | pub(crate) struct RustcSkipDuringMethodDispatchParser; constant PATH (line 12) | const PATH: &[Symbol] = &[sym::rustc_skip_during_method_dispatch]; constant ON_DUPLICATE (line 13) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 14) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 16) | const TEMPLATE: AttributeTemplate = template!(List: &["array, boxed_sl... method convert (line 18) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... type RustcParenSugarParser (line 58) | pub(crate) struct RustcParenSugarParser; constant PATH (line 60) | const PATH: &[Symbol] = &[sym::rustc_paren_sugar]; constant ON_DUPLICATE (line 61) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 62) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 63) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcParenSugar; type MarkerParser (line 68) | pub(crate) struct MarkerParser; constant PATH (line 70) | const PATH: &[Symbol] = &[sym::marker]; constant ON_DUPLICATE (line 71) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Warn; constant ALLOWED_TARGETS (line 72) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[ constant CREATE (line 78) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::Marker; type RustcDenyExplicitImplParser (line 81) | pub(crate) struct RustcDenyExplicitImplParser; constant PATH (line 83) | const PATH: &[Symbol] = &[sym::rustc_deny_explicit_impl]; constant ON_DUPLICATE (line 84) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 85) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 86) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcDenyExpl... type RustcDynIncompatibleTraitParser (line 89) | pub(crate) struct RustcDynIncompatibleTraitParser; constant PATH (line 91) | const PATH: &[Symbol] = &[sym::rustc_dyn_incompatible_trait]; constant ON_DUPLICATE (line 92) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 93) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 94) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcDynIncom... type RustcSpecializationTraitParser (line 99) | pub(crate) struct RustcSpecializationTraitParser; constant PATH (line 101) | const PATH: &[Symbol] = &[sym::rustc_specialization_trait]; constant ON_DUPLICATE (line 102) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 103) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 104) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcSpeciali... type RustcUnsafeSpecializationMarkerParser (line 107) | pub(crate) struct RustcUnsafeSpecializationMarkerParser; constant PATH (line 109) | const PATH: &[Symbol] = &[sym::rustc_unsafe_specialization_marker]; constant ON_DUPLICATE (line 110) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 111) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 112) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcUnsafeSp... type RustcCoinductiveParser (line 117) | pub(crate) struct RustcCoinductiveParser; constant PATH (line 119) | const PATH: &[Symbol] = &[sym::rustc_coinductive]; constant ON_DUPLICATE (line 120) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 121) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant CREATE (line 122) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcCoinduct... type RustcAllowIncoherentImplParser (line 125) | pub(crate) struct RustcAllowIncoherentImplParser; constant PATH (line 127) | const PATH: &[Symbol] = &[sym::rustc_allow_incoherent_impl]; constant ON_DUPLICATE (line 128) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 129) | const ALLOWED_TARGETS: AllowedTargets = constant CREATE (line 131) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::RustcAllowInc... type FundamentalParser (line 134) | pub(crate) struct FundamentalParser; constant PATH (line 136) | const PATH: &[Symbol] = &[sym::fundamental]; constant ON_DUPLICATE (line 137) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 138) | const ALLOWED_TARGETS: AllowedTargets = constant CREATE (line 140) | const CREATE: fn(Span) -> AttributeKind = |_| AttributeKind::Fundamental; type PointeeParser (line 143) | pub(crate) struct PointeeParser; constant PATH (line 145) | const PATH: &[Symbol] = &[sym::pointee]; constant ON_DUPLICATE (line 146) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Error; constant ALLOWED_TARGETS (line 147) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(ALL_... constant CREATE (line 148) | const CREATE: fn(Span) -> AttributeKind = AttributeKind::Pointee; FILE: compiler/rustc_attr_parsing/src/attributes/transparency.rs type RustcMacroTransparencyParser (line 5) | pub(crate) struct RustcMacroTransparencyParser; constant PATH (line 8) | const PATH: &[Symbol] = &[sym::rustc_macro_transparency]; constant ON_DUPLICATE (line 9) | const ON_DUPLICATE: OnDuplicate = OnDuplicate::Custom(|cx, used, un... constant ALLOWED_TARGETS (line 12) | const ALLOWED_TARGETS: AllowedTargets = AllowedTargets::AllowList(&[Al... constant TEMPLATE (line 13) | const TEMPLATE: AttributeTemplate = method convert (line 16) | fn convert(cx: &mut AcceptContext<'_, '_, S>, args: &ArgParser) -> Opt... FILE: compiler/rustc_attr_parsing/src/attributes/util.rs function parse_version (line 17) | pub fn parse_version(s: Symbol) -> Option { function is_builtin_attr (line 30) | pub fn is_builtin_attr(attr: &impl AttributeExt) -> bool { function parse_single_integer (line 40) | pub(crate) fn parse_single_integer( function parse_limit_int (line 64) | pub(crate) fn parse_limit_int(&self, nv: &NameValueParser) -> Option = LazyLock>; type GroupTypeInner (line 68) | pub(super) struct GroupTypeInner { type GroupTypeInnerAccept (line 72) | pub(super) struct GroupTypeInnerAccept { type AcceptFn (line 79) | pub(crate) type AcceptFn = type FinalizeFn (line 81) | pub(crate) type FinalizeFn = type Sealed (line 337) | pub trait Sealed {} type Stage (line 344) | pub trait Stage: Sized + 'static + Sealed { method parsers (line 347) | fn parsers() -> &'static GroupType; method emit_err (line 349) | fn emit_err<'sess>( method should_emit (line 355) | fn should_emit(&self) -> ShouldEmit; type Id (line 361) | type Id = NodeId; method parsers (line 363) | fn parsers() -> &'static GroupType { method emit_err (line 366) | fn emit_err<'sess>( method should_emit (line 374) | fn should_emit(&self) -> ShouldEmit { type Id (line 382) | type Id = HirId; method parsers (line 384) | fn parsers() -> &'static GroupType { method emit_err (line 387) | fn emit_err<'sess>( method should_emit (line 395) | fn should_emit(&self) -> ShouldEmit { type Early (line 401) | pub struct Early { type Late (line 408) | pub struct Late; type AcceptContext (line 413) | pub struct AcceptContext<'f, 'sess, S: Stage> { function emit_err (line 443) | pub(crate) fn emit_err(&self, diag: impl for<'x> Diagnostic<'x>) -> Erro... function emit_lint (line 450) | pub(crate) fn emit_lint(&mut self, lint: &'static Lint, kind: AttributeL... function warn_unused_duplicate (line 460) | pub(crate) fn warn_unused_duplicate(&mut self, used_span: Span, unused_s... function warn_unused_duplicate_future_error (line 472) | pub(crate) fn warn_unused_duplicate_future_error( function emit_parse_error (line 490) | fn emit_parse_error( function expected_string_literal (line 510) | pub(crate) fn expected_string_literal( function expected_filename_literal (line 526) | pub(crate) fn expected_filename_literal(&self, span: Span) { function expected_integer_literal (line 530) | pub(crate) fn expected_integer_literal(&self, span: Span) -> ErrorGuaran... function expected_integer_literal_in_range (line 534) | pub(crate) fn expected_integer_literal_in_range( function expected_list (line 546) | pub(crate) fn expected_list(&self, span: Span, args: &ArgParser) -> Erro... function expected_list_with_num_args_or_more (line 555) | pub(crate) fn expected_list_with_num_args_or_more( function expected_list_or_no_args (line 566) | pub(crate) fn expected_list_or_no_args(&self, span: Span) -> ErrorGuaran... function expected_nv_or_no_args (line 570) | pub(crate) fn expected_nv_or_no_args(&self, span: Span) -> ErrorGuarante... function expected_non_empty_string_literal (line 574) | pub(crate) fn expected_non_empty_string_literal(&self, span: Span) -> Er... function expected_no_args (line 578) | pub(crate) fn expected_no_args(&self, span: Span) -> ErrorGuaranteed { function expected_identifier (line 583) | pub(crate) fn expected_identifier(&self, span: Span) -> ErrorGuaranteed { function expected_name_value (line 589) | pub(crate) fn expected_name_value(&self, span: Span, name: Option ErrorGuar... function unexpected_literal (line 600) | pub(crate) fn unexpected_literal(&self, span: Span) -> ErrorGuaranteed { function expected_single_argument (line 604) | pub(crate) fn expected_single_argument(&self, span: Span) -> ErrorGuaran... function expected_at_least_one_argument (line 608) | pub(crate) fn expected_at_least_one_argument(&self, span: Span) -> Error... function expected_specific_argument (line 613) | pub(crate) fn expected_specific_argument( function expected_specific_argument_and_list (line 630) | pub(crate) fn expected_specific_argument_and_list( function expected_specific_argument_strings (line 646) | pub(crate) fn expected_specific_argument_strings( function warn_empty_attribute (line 661) | pub(crate) fn warn_empty_attribute(&mut self, span: Span) { function warn_ill_formed_attribute_input (line 671) | pub(crate) fn warn_ill_formed_attribute_input(&mut self, lint: &'static ... function suggestions (line 681) | pub(crate) fn suggestions(&self) -> Vec { type Target (line 696) | type Target = SharedContext<'f, 'sess, S>; method deref (line 698) | fn deref(&self) -> &Self::Target { method deref_mut (line 704) | fn deref_mut(&mut self) -> &mut Self::Target { type SharedContext (line 713) | pub struct SharedContext<'p, 'sess, S: Stage> { type FinalizeContext (line 730) | pub(crate) struct FinalizeContext<'p, 'sess, S: Stage> { type Target (line 743) | type Target = SharedContext<'p, 'sess, S>; method deref (line 745) | fn deref(&self) -> &Self::Target { method deref_mut (line 751) | fn deref_mut(&mut self) -> &mut Self::Target { type Target (line 757) | type Target = AttributeParser<'sess, S>; method deref (line 759) | fn deref(&self) -> &Self::Target { method deref_mut (line 765) | fn deref_mut(&mut self) -> &mut Self::Target { type OmitDoc (line 771) | pub enum OmitDoc { type ShouldEmit (line 777) | pub enum ShouldEmit { method emit_err (line 801) | pub(crate) fn emit_err(&self, diag: Diag<'_>) -> ErrorGuaranteed { FILE: compiler/rustc_attr_parsing/src/early_parsed.rs constant EARLY_PARSED_ATTRIBUTES (line 8) | pub(crate) const EARLY_PARSED_ATTRIBUTES: &[&[Symbol]] = type EarlyParsedState (line 16) | pub(crate) struct EarlyParsedState { method accept_early_parsed_attribute (line 27) | pub(crate) fn accept_early_parsed_attribute( method finalize_early_parsed_attributes (line 45) | pub(crate) fn finalize_early_parsed_attributes(self, attributes: &mut ... FILE: compiler/rustc_attr_parsing/src/errors.rs type InvalidAttrAtCrateLevel (line 7) | pub(crate) struct InvalidAttrAtCrateLevel { type ItemFollowingInnerAttr (line 24) | pub(crate) struct ItemFollowingInnerAttr { type UnreachableCfgSelectPredicate (line 31) | pub(crate) struct UnreachableCfgSelectPredicate { type UnsupportedAttributesInWhere (line 39) | pub(crate) struct UnsupportedAttributesInWhere { type UnreachableCfgSelectPredicateWildcard (line 46) | pub(crate) struct UnreachableCfgSelectPredicateWildcard { FILE: compiler/rustc_attr_parsing/src/interface.rs type AttributeParser (line 23) | pub struct AttributeParser<'sess, S: Stage = Late> { function parse_limited (line 50) | pub fn parse_limited( function parse_limited_should_emit (line 71) | pub fn parse_limited_should_emit( function parse_limited_all (line 101) | pub fn parse_limited_all( function parse_single (line 132) | pub fn parse_single( function parse_single_args (line 179) | pub fn parse_single_args( function new (line 233) | pub fn new( function sess (line 242) | pub(crate) fn sess(&self) -> &'sess Session { function features (line 246) | pub(crate) fn features(&self) -> &'sess Features { function features_option (line 250) | pub(crate) fn features_option(&self) -> Option<&'sess Features> { function dcx (line 254) | pub(crate) fn dcx(&self) -> DiagCtxtHandle<'sess> { function parse_attribute_list (line 262) | pub fn parse_attribute_list( function is_parsed_attribute (line 453) | pub fn is_parsed_attribute(path: &[Symbol]) -> bool { function lower_attr_args (line 467) | fn lower_attr_args(&self, args: &ast::AttrArgs, lower_span: impl Fn(Span... FILE: compiler/rustc_attr_parsing/src/parser.rs type PathParser (line 31) | pub struct PathParser>(pub P); type OwnedPathParser (line 33) | pub type OwnedPathParser = PathParser; type RefPathParser (line 34) | pub type RefPathParser<'p> = PathParser<&'p Path>; function get_attribute_path (line 37) | pub fn get_attribute_path(&self) -> hir::AttrPath { function segments (line 44) | pub fn segments(&self) -> impl Iterator { function span (line 48) | pub fn span(&self) -> Span { function len (line 52) | pub fn len(&self) -> usize { function segments_is (line 56) | pub fn segments_is(&self, segments: &[Symbol]) -> bool { function word (line 60) | pub fn word(&self) -> Option { function word_sym (line 64) | pub fn word_sym(&self) -> Option { function word_is (line 71) | pub fn word_is(&self, sym: Symbol) -> bool { function starts_with (line 79) | pub fn starts_with(&self, segments: &[Symbol]) -> bool { method fmt (line 85) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ArgParser (line 92) | pub enum ArgParser { method span (line 99) | pub fn span(&self) -> Option { method from_attr_args (line 107) | pub fn from_attr_args<'sess>( method list (line 179) | pub fn list(&self) -> Option<&MetaItemListParser> { method name_value (line 195) | pub fn name_value(&self) -> Option<&NameValueParser> { method no_args (line 205) | pub fn no_args(&self) -> Result<(), Span> { type MetaItemOrLitParser (line 219) | pub enum MetaItemOrLitParser { method parse_single (line 225) | pub fn parse_single<'sess>( method span (line 234) | pub fn span(&self) -> Span { method lit (line 243) | pub fn lit(&self) -> Option<&MetaItemLit> { method meta_item (line 250) | pub fn meta_item(&self) -> Option<&MetaItemParser> { type MetaItemParser (line 272) | pub struct MetaItemParser { method ident (line 288) | pub fn ident(&self) -> Option { method span (line 292) | pub fn span(&self) -> Span { method path (line 305) | pub fn path(&self) -> &OwnedPathParser { method args (line 310) | pub fn args(&self) -> &ArgParser { method word_is (line 320) | pub fn word_is(&self, sym: Symbol) -> Option<&ArgParser> { method fmt (line 278) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type NameValueParser (line 326) | pub struct NameValueParser { method value_as_lit (line 343) | pub fn value_as_lit(&self) -> &MetaItemLit { method value_as_str (line 347) | pub fn value_as_str(&self) -> Option { method value_as_ident (line 353) | pub fn value_as_ident(&self) -> Option { method args_span (line 358) | pub fn args_span(&self) -> Span { method fmt (line 333) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function expr_to_lit (line 363) | fn expr_to_lit<'sess>( type AllowExprMetavar (line 420) | pub enum AllowExprMetavar { type MetaItemListParserContext (line 425) | struct MetaItemListParserContext<'a, 'sess> { function parse_unsuffixed_meta_item_lit (line 432) | fn parse_unsuffixed_meta_item_lit(&mut self) -> PResult<'sess, MetaItemL... function unsuffixed_meta_item_from_lit (line 437) | fn unsuffixed_meta_item_from_lit( function parse_meta_item (line 469) | fn parse_meta_item(&mut self) -> PResult<'sess, MetaItemParser> { function parse_meta_item_inner (line 536) | fn parse_meta_item_inner(&mut self) -> PResult<'sess, MetaItemOrLitParse... function expected_lit (line 558) | fn expected_lit(&mut self) -> Diag<'sess> { function parse (line 625) | fn parse( type MetaItemListParser (line 659) | pub struct MetaItemListParser { method new (line 665) | pub(crate) fn new<'sess>( method mixed (line 682) | pub fn mixed(&self) -> impl Iterator { method len (line 686) | pub fn len(&self) -> usize { method is_empty (line 690) | pub fn is_empty(&self) -> bool { method single (line 697) | pub fn single(&self) -> Option<&MetaItemOrLitParser> { FILE: compiler/rustc_attr_parsing/src/safety.rs function check_attribute_safety (line 13) | pub fn check_attribute_safety( FILE: compiler/rustc_attr_parsing/src/session_diagnostics.rs type InvalidPredicate (line 17) | pub(crate) struct InvalidPredicate { type DocAliasEmpty (line 26) | pub(crate) struct DocAliasEmpty<'a> { type DocAliasBadChar (line 34) | pub(crate) struct DocAliasBadChar<'a> { type DocAliasStartEnd (line 43) | pub(crate) struct DocAliasStartEnd<'a> { type CguFieldsMissing (line 51) | pub(crate) struct CguFieldsMissing<'a> { type DocAttrNotCrateLevel (line 60) | pub(crate) struct DocAttrNotCrateLevel { type DocKeywordNotKeyword (line 69) | pub(crate) struct DocKeywordNotKeyword { type DocAttributeNotAttribute (line 78) | pub(crate) struct DocAttributeNotAttribute { type MissingSince (line 86) | pub(crate) struct MissingSince { type MissingNote (line 93) | pub(crate) struct MissingNote { type MultipleStabilityLevels (line 100) | pub(crate) struct MultipleStabilityLevels { type InvalidIssueString (line 107) | pub(crate) struct InvalidIssueString { type InvalidIssueStringCause (line 118) | pub(crate) enum InvalidIssueStringCause { method from_int_error_kind (line 151) | pub(crate) fn from_int_error_kind(span: Span, kind: &IntErrorKind) -> ... type MissingFeature (line 165) | pub(crate) struct MissingFeature { type NonIdentFeature (line 172) | pub(crate) struct NonIdentFeature { type MissingIssue (line 179) | pub(crate) struct MissingIssue { type IncorrectReprFormatPackedOneOrZeroArg (line 188) | pub(crate) struct IncorrectReprFormatPackedOneOrZeroArg { type IncorrectReprFormatPackedExpectInteger (line 194) | pub(crate) struct IncorrectReprFormatPackedExpectInteger { type InvalidReprHintNoParen (line 201) | pub(crate) struct InvalidReprHintNoParen { type InvalidReprHintNoValue (line 210) | pub(crate) struct InvalidReprHintNoValue { type InvalidReprAlignNeedArg (line 219) | pub(crate) struct InvalidReprAlignNeedArg { type InvalidReprGeneric (line 231) | pub(crate) struct InvalidReprGeneric { type IncorrectReprFormatAlignOneArg (line 241) | pub(crate) struct IncorrectReprFormatAlignOneArg { type IncorrectReprFormatExpectInteger (line 248) | pub(crate) struct IncorrectReprFormatExpectInteger { type IncorrectReprFormatGeneric (line 255) | pub(crate) struct IncorrectReprFormatGeneric { type IncorrectReprFormatGenericCause (line 266) | pub(crate) enum IncorrectReprFormatGenericCause { method from_lit_kind (line 301) | pub(crate) fn from_lit_kind(span: Span, kind: &ast::LitKind, name: Sym... type RustcPromotablePairing (line 314) | pub(crate) struct RustcPromotablePairing { type RustcAllowedUnstablePairing (line 321) | pub(crate) struct RustcAllowedUnstablePairing { type DeprecatedItemSuggestion (line 328) | pub(crate) struct DeprecatedItemSuggestion { type ExpectedSingleVersionLiteral (line 341) | pub(crate) struct ExpectedSingleVersionLiteral { type ExpectedVersionLiteral (line 348) | pub(crate) struct ExpectedVersionLiteral { type ExpectsFeatureList (line 355) | pub(crate) struct ExpectsFeatureList { type ExpectsFeatures (line 364) | pub(crate) struct ExpectsFeatures { type InvalidSince (line 373) | pub(crate) struct InvalidSince { type UnknownVersionLiteral (line 380) | pub(crate) struct UnknownVersionLiteral { type UnusedMultiple (line 388) | pub(crate) struct UnusedMultiple { type NullOnExport (line 399) | pub(crate) struct NullOnExport { type NullOnLinkSection (line 406) | pub(crate) struct NullOnLinkSection { type NullOnObjcClass (line 413) | pub(crate) struct NullOnObjcClass { type NullOnObjcSelector (line 420) | pub(crate) struct NullOnObjcSelector { type ObjcClassExpectedStringLiteral (line 427) | pub(crate) struct ObjcClassExpectedStringLiteral { type ObjcSelectorExpectedStringLiteral (line 434) | pub(crate) struct ObjcSelectorExpectedStringLiteral { type StabilityOutsideStd (line 441) | pub(crate) struct StabilityOutsideStd { type EmptyConfusables (line 448) | pub(crate) struct EmptyConfusables { type InvalidTarget (line 456) | pub(crate) struct InvalidTarget { type InvalidAlignmentValue (line 473) | pub(crate) struct InvalidAlignmentValue { type ReprIdent (line 481) | pub(crate) struct ReprIdent { type UnrecognizedReprHint (line 494) | pub(crate) struct UnrecognizedReprHint { type UnstableFeatureBoundIncompatibleStability (line 504) | pub(crate) struct UnstableFeatureBoundIncompatibleStability { type NakedFunctionIncompatibleAttribute (line 511) | pub(crate) struct NakedFunctionIncompatibleAttribute { type LinkOrdinalOutOfRange (line 523) | pub(crate) struct LinkOrdinalOutOfRange { type RustcScalableVectorCountOutOfRange (line 532) | pub(crate) struct RustcScalableVectorCountOutOfRange { type AttributeRequiresOpt (line 540) | pub(crate) struct AttributeRequiresOpt { type AttributeParseErrorReason (line 546) | pub(crate) enum AttributeParseErrorReason<'a> { type ParsedDescription (line 580) | pub enum ParsedDescription { type AttributeParseError (line 587) | pub(crate) struct AttributeParseError<'a> { function render_expected_specific_argument (line 598) | fn render_expected_specific_argument( function render_expected_specific_argument_list (line 633) | fn render_expected_specific_argument_list( function description (line 669) | fn description(&self) -> &'static str { function into_diag (line 678) | fn into_diag(self, dcx: DiagCtxtHandle<'a>, level: Level) -> Diag<'a, G> { type InvalidAttrUnsafe (line 815) | pub(crate) struct InvalidAttrUnsafe { type UnsafeAttrOutsideUnsafe (line 824) | pub(crate) struct UnsafeAttrOutsideUnsafe { type UnsafeAttrOutsideUnsafeSuggestion (line 834) | pub(crate) struct UnsafeAttrOutsideUnsafeSuggestion { type MetaBadDelim (line 843) | pub(crate) struct MetaBadDelim { type MetaBadDelimSugg (line 855) | pub(crate) struct MetaBadDelimSugg { type InvalidMetaItem (line 864) | pub(crate) struct InvalidMetaItem { type InvalidMetaItemQuoteIdentSugg (line 881) | pub(crate) struct InvalidMetaItemQuoteIdentSugg { type InvalidMetaItemRemoveNegSugg (line 893) | pub(crate) struct InvalidMetaItemRemoveNegSugg { type SuffixedLiteralInAttribute (line 903) | pub(crate) struct SuffixedLiteralInAttribute { type EmptyLinkName (line 910) | pub(crate) struct EmptyLinkName { type LinkFrameworkApple (line 918) | pub(crate) struct LinkFrameworkApple { type IncompatibleWasmLink (line 925) | pub(crate) struct IncompatibleWasmLink { type LinkRequiresName (line 932) | pub(crate) struct LinkRequiresName { type RawDylibNoNul (line 940) | pub(crate) struct RawDylibNoNul { type RawDylibOnlyWindows (line 947) | pub(crate) struct RawDylibOnlyWindows { type InvalidLinkModifier (line 956) | pub(crate) struct InvalidLinkModifier { type MultipleModifiers (line 963) | pub(crate) struct MultipleModifiers { type ImportNameTypeX86 (line 971) | pub(crate) struct ImportNameTypeX86 { type BundleNeedsStatic (line 978) | pub(crate) struct BundleNeedsStatic { type ExportSymbolsNeedsStatic (line 985) | pub(crate) struct ExportSymbolsNeedsStatic { type WholeArchiveNeedsStatic (line 992) | pub(crate) struct WholeArchiveNeedsStatic { type AsNeededCompatibility (line 1001) | pub(crate) struct AsNeededCompatibility { type ImportNameTypeRaw (line 1008) | pub(crate) struct ImportNameTypeRaw { type LimitInvalid (line 1015) | pub(crate) struct LimitInvalid<'a> { type CfgAttrBadDelim (line 1025) | pub(crate) struct CfgAttrBadDelim { type DocAliasMalformed (line 1036) | pub(crate) struct DocAliasMalformed { type UnknownLangItem (line 1043) | pub(crate) struct UnknownLangItem { type UnsupportedInstructionSet (line 1052) | pub(crate) struct UnsupportedInstructionSet<'a> { type CustomMirPhaseRequiresDialect (line 1061) | pub(crate) struct CustomMirPhaseRequiresDialect { type CustomMirIncompatibleDialectAndPhase (line 1070) | pub(crate) struct CustomMirIncompatibleDialectAndPhase { type UnstableAttrForAlreadyStableFeature (line 1083) | pub(crate) struct UnstableAttrForAlreadyStableFeature { FILE: compiler/rustc_attr_parsing/src/target_checking.rs type AllowedTargets (line 20) | pub(crate) enum AllowedTargets { method is_allowed (line 32) | pub(crate) fn is_allowed(&self, target: Target) -> AllowedResult { method allowed_targets (line 59) | pub(crate) fn allowed_targets(&self) -> Vec { type AllowedResult (line 25) | pub(crate) enum AllowedResult { type Policy (line 77) | pub(crate) enum Policy { function check_target (line 91) | pub(crate) fn check_target( function check_crate_level (line 174) | pub(crate) fn check_crate_level(target: Target, cx: &mut AcceptContext<'... function check_invalid_crate_level_attr_item (line 192) | pub(crate) fn check_invalid_crate_level_attr_item(&self, attr: &AttrItem... function first_line_of_next_item (line 221) | fn first_line_of_next_item(&self, span: Span) -> Option { function check_invalid_where_predicate_attrs (line 271) | pub(crate) fn check_invalid_where_predicate_attrs<'attr>( function allowed_targets_applied (line 300) | pub(crate) fn allowed_targets_applied( function filter_targets (line 368) | fn filter_targets( constant ALL_TARGETS (line 389) | pub(crate) const ALL_TARGETS: &'static [Policy] = { FILE: compiler/rustc_attr_parsing/src/validate_attr.rs function check_attr (line 24) | pub fn check_attr(psess: &ParseSess, attr: &Attribute) { function parse_meta (line 64) | pub fn parse_meta<'a>(psess: &'a ParseSess, attr: &Attribute) -> PResult... function check_meta_bad_delim (line 128) | fn check_meta_bad_delim(psess: &ParseSess, span: DelimSpan, delim: Delim... function is_attr_template_compatible (line 139) | fn is_attr_template_compatible(template: &AttributeTemplate, meta: &ast:... function check_builtin_meta_item (line 152) | pub fn check_builtin_meta_item( function emit_malformed_attribute (line 173) | fn emit_malformed_attribute( function emit_fatal_malformed_builtin_attribute (line 235) | pub fn emit_fatal_malformed_builtin_attribute( FILE: compiler/rustc_baked_icu_data/src/lib.rs type BakedDataProvider (line 28) | pub struct BakedDataProvider; constant _ (line 31) | const _: () = { function baked_data_provider (line 35) | pub const fn baked_data_provider() -> BakedDataProvider { constant EN (line 40) | pub const EN: icu_locale::Locale = icu_locale::locale!("en"); constant ES (line 41) | pub const ES: icu_locale::Locale = icu_locale::locale!("es"); constant FR (line 42) | pub const FR: icu_locale::Locale = icu_locale::locale!("fr"); constant IT (line 43) | pub const IT: icu_locale::Locale = icu_locale::locale!("it"); constant JA (line 44) | pub const JA: icu_locale::Locale = icu_locale::locale!("ja"); constant PT (line 45) | pub const PT: icu_locale::Locale = icu_locale::locale!("pt"); constant RU (line 46) | pub const RU: icu_locale::Locale = icu_locale::locale!("ru"); constant TR (line 47) | pub const TR: icu_locale::Locale = icu_locale::locale!("tr"); constant ZH_HANS (line 48) | pub const ZH_HANS: icu_locale::Locale = icu_locale::locale!("zh-Hans"); constant ZH_HANT (line 49) | pub const ZH_HANT: icu_locale::Locale = icu_locale::locale!("zh-Hant"); FILE: compiler/rustc_borrowck/src/borrow_set.rs type BorrowSet (line 16) | pub struct BorrowSet<'tcx> { function location_map (line 38) | pub fn location_map(&self) -> &FxIndexMap> { function activation_map (line 42) | pub fn activation_map(&self) -> &FxIndexMap> { function local_map (line 46) | pub fn local_map(&self) -> &FxIndexMap &LocalsStateAtExit { type Output (line 56) | type Output = BorrowData<'tcx>; function index (line 58) | fn index(&self, index: BorrowIndex) -> &BorrowData<'tcx> { type TwoPhaseActivation (line 66) | pub enum TwoPhaseActivation { type BorrowData (line 73) | pub struct BorrowData<'tcx> { function reserve_location (line 91) | pub fn reserve_location(&self) -> Location { function activation_location (line 95) | pub fn activation_location(&self) -> TwoPhaseActivation { function kind (line 99) | pub fn kind(&self) -> mir::BorrowKind { function region (line 103) | pub fn region(&self) -> RegionVid { function borrowed_place (line 107) | pub fn borrowed_place(&self) -> mir::Place<'tcx> { function assigned_place (line 111) | pub fn assigned_place(&self) -> mir::Place<'tcx> { function fmt (line 117) | fn fmt(&self, w: &mut fmt::Formatter<'_>) -> fmt::Result { type LocalsStateAtExit (line 132) | pub enum LocalsStateAtExit { method build (line 138) | fn build<'tcx>( function build (line 169) | pub fn build( function activations_at_location (line 201) | pub(crate) fn activations_at_location(&self, location: Location) -> &[Bo... function len (line 205) | pub(crate) fn len(&self) -> usize { function indices (line 209) | pub(crate) fn indices(&self) -> impl Iterator { function iter_enumerated (line 213) | pub(crate) fn iter_enumerated(&self) -> impl Iterator Option { function visit_assign (line 243) | fn visit_assign( function visit_local (line 309) | fn visit_local(&mut self, temp: Local, context: PlaceContext, location: ... function visit_rvalue (line 356) | fn visit_rvalue(&mut self, rvalue: &mir::Rvalue<'tcx>, location: mir::Lo... FILE: compiler/rustc_borrowck/src/borrowck_errors.rs function dcx (line 9) | pub(crate) fn dcx(&self) -> DiagCtxtHandle<'infcx> { function cannot_move_when_borrowed (line 13) | pub(crate) fn cannot_move_when_borrowed( function cannot_use_when_mutably_borrowed (line 30) | pub(crate) fn cannot_use_when_mutably_borrowed( function cannot_mutably_borrow_multiply (line 48) | pub(crate) fn cannot_mutably_borrow_multiply( function cannot_uniquely_borrow_by_two_closures (line 97) | pub(crate) fn cannot_uniquely_borrow_by_two_closures( function cannot_uniquely_borrow_by_one_closure (line 126) | pub(crate) fn cannot_uniquely_borrow_by_one_closure( function cannot_reborrow_already_uniquely_borrowed (line 157) | pub(crate) fn cannot_reborrow_already_uniquely_borrowed( function cannot_reborrow_already_borrowed (line 189) | pub(crate) fn cannot_reborrow_already_borrowed( function cannot_assign_to_borrowed (line 236) | pub(crate) fn cannot_assign_to_borrowed( function cannot_reassign_immutable (line 253) | pub(crate) fn cannot_reassign_immutable( function cannot_assign (line 263) | pub(crate) fn cannot_assign(&self, span: Span, desc: &str) -> Diag<'infc... function cannot_move_out_of (line 267) | pub(crate) fn cannot_move_out_of( function cannot_move_out_of_interior_noncopy (line 284) | pub(crate) fn cannot_move_out_of_interior_noncopy( function cannot_move_out_of_interior_of_drop (line 306) | pub(crate) fn cannot_move_out_of_interior_of_drop( function cannot_act_on_moved_value (line 321) | pub(crate) fn cannot_act_on_moved_value( function cannot_borrow_path_as_mutable_because (line 346) | pub(crate) fn cannot_borrow_path_as_mutable_because( function cannot_mutate_in_immutable_section (line 362) | pub(crate) fn cannot_mutate_in_immutable_section( function cannot_borrow_across_coroutine_yield (line 383) | pub(crate) fn cannot_borrow_across_coroutine_yield( function cannot_borrow_across_destructor (line 421) | pub(crate) fn cannot_borrow_across_destructor(&self, borrow_span: Span) ... function path_does_not_live_long_enough (line 430) | pub(crate) fn path_does_not_live_long_enough(&self, span: Span, path: &s... function cannot_return_reference_to_local (line 434) | pub(crate) fn cannot_return_reference_to_local( function cannot_capture_in_long_lived_closure (line 456) | pub(crate) fn cannot_capture_in_long_lived_closure( function thread_local_value_does_not_live_long_enough (line 475) | pub(crate) fn thread_local_value_does_not_live_long_enough(&self, span: ... function temporary_value_borrowed_for_too_long (line 484) | pub(crate) fn temporary_value_borrowed_for_too_long(&self, span: Span) -... function borrowed_data_escapes_closure (line 489) | pub(crate) fn borrowed_data_escapes_closure<'tcx>( FILE: compiler/rustc_borrowck/src/constraints/graph.rs type ConstraintGraph (line 10) | pub(crate) struct ConstraintGraph { type NormalConstraintGraph (line 16) | pub(crate) type NormalConstraintGraph = ConstraintGraph; type ReverseConstraintGraph (line 18) | pub(crate) type ReverseConstraintGraph = ConstraintGraph; type ConstraintGraphDirection (line 22) | pub(crate) trait ConstraintGraphDirection: Copy + 'static { method start_region (line 23) | fn start_region(sup: RegionVid, sub: RegionVid) -> RegionVid; method end_region (line 24) | fn end_region(sup: RegionVid, sub: RegionVid) -> RegionVid; method is_normal (line 25) | fn is_normal() -> bool; method start_region (line 36) | fn start_region(sup: RegionVid, _sub: RegionVid) -> RegionVid { method end_region (line 40) | fn end_region(_sup: RegionVid, sub: RegionVid) -> RegionVid { method is_normal (line 44) | fn is_normal() -> bool { method start_region (line 57) | fn start_region(_sup: RegionVid, sub: RegionVid) -> RegionVid { method end_region (line 61) | fn end_region(sup: RegionVid, _sub: RegionVid) -> RegionVid { method is_normal (line 65) | fn is_normal() -> bool { type Normal (line 33) | pub(crate) struct Normal; type Reverse (line 54) | pub(crate) struct Reverse; function new (line 75) | pub(crate) fn new( function region_graph (line 97) | pub(crate) fn region_graph<'a, 'tcx>( function is_normal (line 105) | pub(crate) fn is_normal(&self) -> bool { function outgoing_edges_from_graph (line 110) | pub(crate) fn outgoing_edges_from_graph<'a, 'tcx>( function outgoing_edges_from_static (line 119) | pub(crate) fn outgoing_edges_from_static(&self) -> EdgesFromStatic { type EdgesFromGraph (line 124) | pub(crate) struct EdgesFromGraph<'a, 'tcx, D: ConstraintGraphDirection> { type Item (line 131) | type Item = &'a OutlivesConstraint<'tcx>; method next (line 133) | fn next(&mut self) -> Option { type EdgesFromStatic (line 143) | pub(crate) struct EdgesFromStatic { type Item (line 149) | type Item = RegionVid; method next (line 151) | fn next(&mut self) -> Option { type RegionGraph (line 165) | pub(crate) struct RegionGraph<'a, 'tcx, D: ConstraintGraphDirection> { function new (line 176) | pub(crate) fn new( function outgoing_regions (line 186) | pub(crate) fn outgoing_regions(&self, region_sup: RegionVid) -> Successo... type Successors (line 200) | pub(crate) enum Successors<'a, 'tcx, D: ConstraintGraphDirection> { type Item (line 206) | type Item = RegionVid; method next (line 208) | fn next(&mut self) -> Option { type Node (line 223) | type Node = RegionVid; function num_nodes (line 225) | fn num_nodes(&self) -> usize { function successors (line 231) | fn successors(&self, node: Self::Node) -> impl Iterator { function push (line 24) | pub(crate) fn push(&mut self, constraint: OutlivesConstraint<'tcx>) { function graph (line 39) | pub(crate) fn graph(&self, num_region_vars: usize) -> graph::NormalConst... function reverse_graph (line 45) | pub(crate) fn reverse_graph(&self, num_region_vars: usize) -> graph::Rev... function outlives (line 49) | pub(crate) fn outlives( type Output (line 57) | type Output = OutlivesConstraint<'tcx>; function index (line 59) | fn index(&self, i: OutlivesConstraintIndex) -> &Self::Output { type OutlivesConstraint (line 65) | pub struct OutlivesConstraint<'tcx> { function fmt (line 96) | fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_borrowck/src/consumers.rs type BorrowckConsumer (line 24) | pub(crate) struct BorrowckConsumer<'tcx> { function new (line 30) | pub(crate) fn new(options: ConsumerOptions) -> Self { function insert_body (line 34) | pub(crate) fn insert_body(&mut self, def_id: LocalDefId, body: BodyWithB... function polonius_input (line 41) | pub(crate) fn polonius_input(&self) -> bool { function polonius_output (line 49) | pub(crate) fn polonius_output(&self) -> bool { type ConsumerOptions (line 60) | pub enum ConsumerOptions { type BodyWithBorrowckFacts (line 85) | pub struct BodyWithBorrowckFacts<'tcx> { function get_bodies_with_borrowck_facts (line 123) | pub fn get_bodies_with_borrowck_facts( FILE: compiler/rustc_borrowck/src/dataflow.rs type Borrowck (line 22) | pub(crate) struct Borrowck<'a, 'tcx> { type Domain (line 29) | type Domain = BorrowckDomain; constant NAME (line 31) | const NAME: &'static str = "borrowck"; function bottom_value (line 33) | fn bottom_value(&self, body: &mir::Body<'tcx>) -> Self::Domain { function initialize_start_block (line 41) | fn initialize_start_block(&self, _body: &mir::Body<'tcx>, _state: &mut S... function apply_early_statement_effect (line 46) | fn apply_early_statement_effect( function apply_primary_statement_effect (line 57) | fn apply_primary_statement_effect( function apply_early_terminator_effect (line 68) | fn apply_early_terminator_effect( function apply_primary_terminator_effect (line 79) | fn apply_primary_terminator_effect<'mir>( function apply_call_return_effect (line 94) | fn apply_call_return_effect( method join (line 106) | fn join(&mut self, _other: &Self) -> bool { type BorrowckDomain (line 155) | pub(crate) struct BorrowckDomain { method fmt_with (line 116) | fn fmt_with(&self, ctxt: &C, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt_diff_with (line 126) | fn fmt_diff_with(&self, old: &Self, ctxt: &C, f: &mut fmt::Formatter<'... type Borrows (line 174) | pub struct Borrows<'a, 'tcx> { type OutOfScopePrecomputer (line 181) | struct OutOfScopePrecomputer<'a, 'tcx> { function compute (line 190) | fn compute( function precompute_borrows_out_of_scope (line 211) | fn precompute_borrows_out_of_scope( function calculate_borrows_out_of_scope_at_location (line 286) | pub fn calculate_borrows_out_of_scope_at_location<'tcx>( type PoloniusOutOfScopePrecomputer (line 294) | struct PoloniusOutOfScopePrecomputer<'a, 'tcx> { function compute (line 304) | fn compute( function precompute_loans_out_of_scope (line 329) | fn precompute_loans_out_of_scope(&mut self, loan_idx: BorrowIndex, loan_... function loan_kill_location (line 389) | fn loan_kill_location( function new (line 429) | pub fn new( function kill_loans_out_of_scope_at_location (line 446) | fn kill_loans_out_of_scope_at_location( function kill_borrows_on_place (line 468) | fn kill_borrows_on_place( type BorrowsDomain (line 511) | type BorrowsDomain = MixedBitSet; type Domain (line 521) | type Domain = BorrowsDomain; constant NAME (line 523) | const NAME: &'static str = "borrows"; function bottom_value (line 525) | fn bottom_value(&self, _: &mir::Body<'tcx>) -> Self::Domain { function initialize_start_block (line 530) | fn initialize_start_block(&self, _: &mir::Body<'tcx>, _: &mut Self::Doma... function apply_early_statement_effect (line 535) | fn apply_early_statement_effect( function apply_primary_statement_effect (line 544) | fn apply_primary_statement_effect( function apply_early_terminator_effect (line 592) | fn apply_early_terminator_effect( function apply_primary_terminator_effect (line 601) | fn apply_primary_terminator_effect<'mir>( FILE: compiler/rustc_borrowck/src/def_use.rs type DefUse (line 7) | pub(crate) enum DefUse { function categorize (line 13) | pub(crate) fn categorize(context: PlaceContext) -> Option { FILE: compiler/rustc_borrowck/src/diagnostics/bound_region_errors.rs type UniverseInfo (line 33) | pub(crate) enum UniverseInfo<'tcx> { function other (line 43) | pub(crate) fn other() -> UniverseInfo<'tcx> { function relate (line 47) | pub(crate) fn relate(expected: Ty<'tcx>, found: Ty<'tcx>) -> UniverseInf... function report_erroneous_element (line 52) | pub(crate) fn report_erroneous_element( type ToUniverseInfo (line 85) | pub(crate) trait ToUniverseInfo<'tcx> { method to_universe_info (line 86) | fn to_universe_info(self, base_universe: ty::UniverseIndex) -> Univers... function to_universe_info (line 90) | fn to_universe_info(self, base_universe: ty::UniverseIndex) -> UniverseI... function to_universe_info (line 99) | fn to_universe_info(self, base_universe: ty::UniverseIndex) -> UniverseI... function to_universe_info (line 107) | fn to_universe_info(self, base_universe: ty::UniverseIndex) -> UniverseI... function to_universe_info (line 115) | fn to_universe_info(self, base_universe: ty::UniverseIndex) -> UniverseI... function to_universe_info (line 121) | fn to_universe_info(self, base_universe: ty::UniverseIndex) -> UniverseI... function to_universe_info (line 127) | fn to_universe_info(self, _base_universe: ty::UniverseIndex) -> Universe... type TypeOpInfo (line 133) | pub(crate) trait TypeOpInfo<'tcx> { method fallback_error (line 136) | fn fallback_error(&self, tcx: TyCtxt<'tcx>, span: Span) -> Diag<'tcx>; method base_universe (line 138) | fn base_universe(&self) -> ty::UniverseIndex; method nice_error (line 140) | fn nice_error<'infcx>( method report_erroneous_element (line 152) | fn report_erroneous_element( type PredicateQuery (line 197) | struct PredicateQuery<'tcx> { function fallback_error (line 203) | fn fallback_error(&self, tcx: TyCtxt<'tcx>, span: Span) -> Diag<'tcx> { function base_universe (line 212) | fn base_universe(&self) -> ty::UniverseIndex { function nice_error (line 216) | fn nice_error<'infcx>( type NormalizeQuery (line 238) | struct NormalizeQuery<'tcx, T> { function fallback_error (line 247) | fn fallback_error(&self, tcx: TyCtxt<'tcx>, span: Span) -> Diag<'tcx> { function base_universe (line 256) | fn base_universe(&self) -> ty::UniverseIndex { function nice_error (line 260) | fn nice_error<'infcx>( type DeeplyNormalizeQuery (line 291) | struct DeeplyNormalizeQuery<'tcx, T> { function fallback_error (line 300) | fn fallback_error(&self, tcx: TyCtxt<'tcx>, span: Span) -> Diag<'tcx> { function base_universe (line 309) | fn base_universe(&self) -> ty::UniverseIndex { function nice_error (line 313) | fn nice_error<'infcx>( type AscribeUserTypeQuery (line 338) | struct AscribeUserTypeQuery<'tcx> { function fallback_error (line 344) | fn fallback_error(&self, tcx: TyCtxt<'tcx>, span: Span) -> Diag<'tcx> { function base_universe (line 350) | fn base_universe(&self) -> ty::UniverseIndex { function nice_error (line 354) | fn nice_error<'infcx>( function fallback_error (line 377) | fn fallback_error(&self, tcx: TyCtxt<'tcx>, span: Span) -> Diag<'tcx> { function base_universe (line 383) | fn base_universe(&self) -> ty::UniverseIndex { function nice_error (line 387) | fn nice_error<'infcx>( function try_extract_error_from_fulfill_cx (line 411) | fn try_extract_error_from_fulfill_cx<'a, 'tcx>( function try_extract_error_from_region_constraints (line 434) | fn try_extract_error_from_region_constraints<'a, 'tcx>( FILE: compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs type MoveSite (line 55) | struct MoveSite { type StorageDeadOrDrop (line 67) | enum StorageDeadOrDrop<'tcx> { function report_use_of_moved_or_uninitialized (line 74) | pub(crate) fn report_use_of_moved_or_uninitialized( function suggest_ref_or_clone (line 358) | fn suggest_ref_or_clone( function suggest_ref_for_dbg_args (line 591) | fn suggest_ref_for_dbg_args( function suggest_reborrow (line 650) | pub(crate) fn suggest_reborrow( function suggest_borrow_generic_arg (line 675) | fn suggest_borrow_generic_arg( function report_use_of_uninitialized (line 790) | fn report_use_of_uninitialized( function suggest_assign_value (line 948) | fn suggest_assign_value( function suggest_hoisting_call_outside_loop (line 974) | fn suggest_hoisting_call_outside_loop(&self, err: &mut Diag<'_>, expr: &... function suggest_cloning_on_functional_record_update (line 1194) | fn suggest_cloning_on_functional_record_update( function suggest_cloning (line 1289) | pub(crate) fn suggest_cloning( function implements_clone (line 1451) | pub(crate) fn implements_clone(&self, ty: Ty<'tcx>) -> bool { function clone_on_reference (line 1460) | pub(crate) fn clone_on_reference(&self, expr: &hir::Expr<'_>) -> Option<... function in_move_closure (line 1475) | fn in_move_closure(&self, expr: &hir::Expr<'_>) -> bool { function suggest_cloning_inner (line 1487) | fn suggest_cloning_inner( function suggest_adding_bounds (line 1578) | fn suggest_adding_bounds(&self, err: &mut Diag<'_>, ty: Ty<'tcx>, def_id... function report_move_out_while_borrowed (line 1625) | pub(crate) fn report_move_out_while_borrowed( function report_use_while_mutably_borrowed (line 1693) | pub(crate) fn report_use_while_mutably_borrowed( function report_conflicting_borrow (line 1737) | pub(crate) fn report_conflicting_borrow( function suggest_copy_for_type_in_cloned_ref (line 2033) | fn suggest_copy_for_type_in_cloned_ref(&self, err: &mut Diag<'infcx>, pl... function suggest_adding_bounds_or_derive (line 2111) | pub(crate) fn suggest_adding_bounds_or_derive( function suggest_using_local_if_applicable (line 2138) | fn suggest_using_local_if_applicable( function find_expr (line 2247) | pub(crate) fn find_expr(&self, span: Span) -> Option<&'tcx hir::Expr<'tc... function suggest_slice_method_if_applicable (line 2255) | fn suggest_slice_method_if_applicable( function explain_iterator_advancement_in_for_loop_if_applicable (line 2394) | pub(crate) fn explain_iterator_advancement_in_for_loop_if_applicable( function suggest_using_closure_argument_instead_of_capture (line 2573) | fn suggest_using_closure_argument_instead_of_capture( function suggest_binding_for_closure_capture_self (line 2707) | fn suggest_binding_for_closure_capture_self( function describe_place_for_conflicting_borrow (line 2858) | fn describe_place_for_conflicting_borrow( function report_borrowed_value_does_not_live_long_enough (line 2934) | pub(crate) fn report_borrowed_value_does_not_live_long_enough( function report_local_value_does_not_live_long_enough (line 3073) | fn report_local_value_does_not_live_long_enough( function report_borrow_conflicts_with_destructor (line 3202) | fn report_borrow_conflicts_with_destructor( function report_thread_local_value_does_not_live_long_enough (line 3254) | fn report_thread_local_value_does_not_live_long_enough( function report_temporary_value_does_not_live_long_enough (line 3287) | fn report_temporary_value_does_not_live_long_enough( function try_report_cannot_return_reference_to_local (line 3442) | fn try_report_cannot_return_reference_to_local( function report_escaping_closure_capture (line 3539) | fn report_escaping_closure_capture( function report_escaping_data (line 3659) | fn report_escaping_data( function get_moved_indexes (line 3693) | fn get_moved_indexes( function report_illegal_mutation_of_borrowed (line 3883) | pub(crate) fn report_illegal_mutation_of_borrowed( function explain_deref_coercion (line 3940) | fn explain_deref_coercion(&mut self, loan: &BorrowData<'tcx>, err: &mut ... function report_illegal_reassignment (line 3973) | pub(crate) fn report_illegal_reassignment( function classify_drop_access_kind (line 4061) | fn classify_drop_access_kind(&self, place: PlaceRef<'tcx>) -> StorageDea... function classify_immutable_section (line 4109) | fn classify_immutable_section(&self, place: Place<'tcx>) -> Option<&'sta... function annotate_argument_and_return_for_borrow (line 4138) | fn annotate_argument_and_return_for_borrow( function annotate_fn_sig (line 4345) | fn annotate_fn_sig( type AnnotatedBorrowFnSignature (line 4494) | enum AnnotatedBorrowFnSignature<'tcx> { function emit (line 4515) | pub(crate) fn emit(&self, cx: &MirBorrowckCtxt<'_, '_, 'tcx>, diag: &mut... type ReferencedStatementsVisitor (line 4576) | struct ReferencedStatementsVisitor<'a>(&'a [Span]); type Result (line 4579) | type Result = ControlFlow<()>; function visit_stmt (line 4580) | fn visit_stmt(&mut self, s: &'v hir::Stmt<'v>) -> Self::Result { type BreakFinder (line 4591) | struct BreakFinder { method visit_expr (line 4596) | fn visit_expr(&mut self, ex: &'hir hir::Expr<'hir>) { type ConditionVisitor (line 4614) | struct ConditionVisitor<'tcx> { function visit_expr (line 4622) | fn visit_expr(&mut self, ex: &'v hir::Expr<'v>) { FILE: compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs type BorrowExplanation (line 29) | pub(crate) enum BorrowExplanation<'tcx> { type LaterUseKind (line 49) | pub(crate) enum LaterUseKind { function is_explained (line 58) | pub(crate) fn is_explained(&self) -> bool { function add_explanation_to_diagnostic (line 61) | pub(crate) fn add_explanation_to_diagnostic( function add_object_lifetime_default_note (line 443) | fn add_object_lifetime_default_note( function add_lifetime_bound_suggestion_to_diagnostic (line 500) | fn add_lifetime_bound_suggestion_to_diagnostic( function suggest_rewrite_if_let (line 529) | fn suggest_rewrite_if_let( function free_region_constraint_info (line 577) | fn free_region_constraint_info( function explain_why_borrow_contains_point (line 609) | pub(crate) fn explain_why_borrow_contains_point( function later_use_kind (line 739) | fn later_use_kind( function was_captured_by_trait_object (line 841) | fn was_captured_by_trait_object(&self, borrow: &BorrowData<'tcx>) -> bool { FILE: compiler/rustc_borrowck/src/diagnostics/find_all_local_uses.rs function find (line 9) | pub(super) fn find(body: &Body<'_>, local: Local) -> BTreeSet { type AllLocalUsesVisitor (line 15) | struct AllLocalUsesVisitor { method visit_local (line 21) | fn visit_local(&mut self, local: Local, _context: PlaceContext, locati... FILE: compiler/rustc_borrowck/src/diagnostics/find_use.rs function find (line 11) | pub(crate) fn find<'tcx>( type UseFinder (line 23) | struct UseFinder<'a, 'tcx> { function find (line 32) | fn find(&mut self) -> Option { type DefUseVisitor (line 97) | struct DefUseVisitor<'a, 'tcx> { type DefUseResult (line 104) | enum DefUseResult { function visit_local (line 111) | fn visit_local(&mut self, local: Local, context: PlaceContext, _: Locati... FILE: compiler/rustc_borrowck/src/diagnostics/mod.rs type DescribePlaceOpt (line 66) | pub(super) struct DescribePlaceOpt { type IncludingTupleField (line 74) | pub(super) struct IncludingTupleField(pub(super) bool); type BufferedDiag (line 76) | enum BufferedDiag<'infcx> { function sort_span (line 82) | fn sort_span(&self) -> Span { type BorrowckDiagnosticsBuffer (line 91) | pub(crate) struct BorrowckDiagnosticsBuffer<'infcx, 'tcx> { function buffer_non_error (line 115) | pub(crate) fn buffer_non_error(&mut self, diag: Diag<'infcx, ()>) { function buffer_error (line 121) | pub(crate) fn buffer_error(&mut self, diag: Diag<'infcx>) { function buffer_non_error (line 125) | pub(crate) fn buffer_non_error(&mut self, diag: Diag<'infcx, ()>) { function buffer_move_error (line 129) | pub(crate) fn buffer_move_error( function get_buffered_mut_error (line 145) | pub(crate) fn get_buffered_mut_error(&mut self, span: Span) -> Option<(D... function buffer_mut_error (line 150) | pub(crate) fn buffer_mut_error(&mut self, span: Span, diag: Diag<'infcx>... function emit_errors (line 154) | pub(crate) fn emit_errors(&mut self) -> Option { function has_buffered_diags (line 182) | pub(crate) fn has_buffered_diags(&self) -> bool { function has_move_error (line 186) | pub(crate) fn has_move_error( function local_name (line 194) | fn local_name(&self, index: Local) -> Option { function local_names (line 198) | fn local_names(&self) -> &IndexSlice> { function add_moved_or_invoked_closure_note (line 236) | pub(super) fn add_moved_or_invoked_closure_note( function describe_any_place (line 312) | pub(super) fn describe_any_place(&self, place_ref: PlaceRef<'tcx>) -> St... function describe_place (line 327) | pub(super) fn describe_place(&self, place_ref: PlaceRef<'tcx>) -> Option... function describe_place_with_options (line 338) | pub(super) fn describe_place_with_options( function describe_name (line 440) | fn describe_name(&self, place: PlaceRef<'tcx>) -> Option { function append_local_to_string (line 454) | fn append_local_to_string(&self, local: Local, buf: &mut String) -> Resu... function describe_field (line 466) | fn describe_field( function describe_field_from_ty (line 497) | fn describe_field_from_ty( function borrowed_content_source (line 548) | pub(super) fn borrowed_content_source( function get_name_for_ty (line 612) | pub(super) fn get_name_for_ty(&self, ty: Ty<'tcx>, counter: usize) -> St... function get_region_name_for_ty (line 635) | pub(super) fn get_region_name_for_ty(&self, ty: Ty<'tcx>, counter: usize... function add_placeholder_from_predicate_note (line 661) | fn add_placeholder_from_predicate_note( function add_sized_or_copy_bound_info (line 723) | fn add_sized_or_copy_bound_info( type UseSpans (line 745) | pub(super) enum UseSpans<'tcx> { function args_or_use (line 778) | pub(super) fn args_or_use(self) -> Span { function var_or_use_path_span (line 788) | pub(super) fn var_or_use_path_span(self) -> Span { function var_or_use (line 798) | pub(super) fn var_or_use(self) -> Span { function coroutine_kind (line 808) | pub(super) fn coroutine_kind(self) -> Option { function args_subdiag (line 819) | pub(super) fn args_subdiag(self, err: &mut Diag<'_>, f: impl FnOnce(Span... function var_path_only_subdiag (line 827) | pub(super) fn var_path_only_subdiag( function var_subdiag (line 858) | pub(super) fn var_subdiag( function for_closure (line 886) | pub(super) fn for_closure(&self) -> bool { function for_coroutine (line 896) | pub(super) fn for_coroutine(&self) -> bool { function or_else (line 906) | pub(super) fn or_else(self, if_other: F) -> Self type BorrowedContentSource (line 918) | pub(super) enum BorrowedContentSource<'tcx> { function describe_for_unnamed_place (line 927) | pub(super) fn describe_for_unnamed_place(&self, tcx: TyCtxt<'_>) -> Stri... function describe_for_named_place (line 943) | pub(super) fn describe_for_named_place(&self) -> Option<&'static str> { function describe_for_immutable_place (line 955) | pub(super) fn describe_for_immutable_place(&self, tcx: TyCtxt<'_>) -> St... function from_call (line 973) | fn from_call(func: Ty<'tcx>, tcx: TyCtxt<'tcx>) -> Option { type CapturedMessageOpt (line 996) | struct CapturedMessageOpt { function move_spans (line 1007) | pub(super) fn move_spans( function borrow_spans (line 1116) | pub(super) fn borrow_spans(&self, use_span: Span, location: Location) ->... function closure_span (line 1178) | fn closure_span( function retrieve_borrow_spans (line 1216) | pub(super) fn retrieve_borrow_spans(&self, borrow: &BorrowData<'_>) -> U... function explain_captures (line 1221) | fn explain_captures( function local_excluded_from_unused_mut_lint (line 1558) | pub(crate) fn local_excluded_from_unused_mut_lint(&self, index: Local) -... constant LIMITATION_NOTE (line 1563) | const LIMITATION_NOTE: DiagMessage = FILE: compiler/rustc_borrowck/src/diagnostics/move_errors.rs type IllegalMoveOriginKind (line 21) | pub(crate) enum IllegalMoveOriginKind<'tcx> { type MoveError (line 40) | pub(crate) struct MoveError<'tcx> { function new (line 47) | pub(crate) fn new( type GroupedMoveError (line 70) | enum GroupedMoveError<'tcx> { function report_move_errors (line 98) | pub(crate) fn report_move_errors(&mut self) { function group_move_errors (line 105) | fn group_move_errors(&mut self) -> Vec> { function append_to_grouped_errors (line 114) | fn append_to_grouped_errors( function append_binding_error (line 166) | fn append_binding_error( function report (line 247) | fn report(&mut self, error: GroupedMoveError<'tcx>) { function has_ambiguous_copy (line 292) | fn has_ambiguous_copy(&mut self, ty: Ty<'tcx>) -> bool { function report_cannot_move_from_static (line 300) | fn report_cannot_move_from_static(&mut self, place: Place<'tcx>, span: S... function suggest_clone_of_captured_var_in_move_closure (line 316) | pub(in crate::diagnostics) fn suggest_clone_of_captured_var_in_move_clos... function report_cannot_move_from_borrowed_content (line 423) | fn report_cannot_move_from_borrowed_content( function report_closure_move_error (line 548) | fn report_closure_move_error( function get_closure_bound_clause_span (line 614) | fn get_closure_bound_clause_span( function closure_clause_kind (line 660) | fn closure_clause_kind( function add_move_hints (line 678) | fn add_move_hints(&self, error: GroupedMoveError<'tcx>, err: &mut Diag<'... function add_borrow_suggestions (line 790) | fn add_borrow_suggestions(&self, err: &mut Diag<'_>, span: Span) { function add_move_error_suggestions (line 826) | fn add_move_error_suggestions(&self, err: &mut Diag<'_>, binds_to: &[Loc... function add_move_error_details (line 983) | fn add_move_error_details( function add_note_for_packed_struct_derive (line 1027) | fn add_note_for_packed_struct_derive(&self, err: &mut Diag<'_>, local: L... FILE: compiler/rustc_borrowck/src/diagnostics/mutability_errors.rs type AccessKind (line 28) | pub(crate) enum AccessKind { function find_assignments (line 35) | fn find_assignments(body: &Body<'_>, local: Local) -> Vec { function report_mutability_error (line 61) | pub(crate) fn report_mutability_error( function suggest_map_index_mut_alternatives (line 657) | fn suggest_map_index_mut_alternatives(&self, ty: Ty<'tcx>, err: &mut Dia... function is_error_in_trait (line 790) | fn is_error_in_trait(&self, local: Local) -> (bool, bool, Option) { function construct_mut_suggestion_for_local_binding_patterns (line 823) | fn construct_mut_suggestion_for_local_binding_patterns( function show_mutating_upvar (line 884) | fn show_mutating_upvar( function suggest_similar_mut_method_for_for_loop (line 960) | fn suggest_similar_mut_method_for_for_loop(&self, err: &mut Diag<'_>, sp... function point_at_binding_outside_closure (line 1039) | fn point_at_binding_outside_closure( function expected_fn_found_fn_mut_call (line 1083) | fn expected_fn_found_fn_mut_call(&self, err: &mut Diag<'_>, sp: Span, ac... function suggest_using_iter_mut (line 1197) | fn suggest_using_iter_mut(&self, err: &mut Diag<'_>) { function suggest_make_local_mut (line 1238) | fn suggest_make_local_mut(&self, err: &mut Diag<'_>, local: Local, name:... function is_closure_arg_with_non_locally_decided_type (line 1572) | fn is_closure_arg_with_non_locally_decided_type(&self, local: Local) -> ... type BindingFinder (line 1618) | struct BindingFinder { type Result (line 1623) | type Result = ControlFlow; method visit_stmt (line 1624) | fn visit_stmt(&mut self, s: &'tcx hir::Stmt<'tcx>) -> Self::Result { method visit_param (line 1634) | fn visit_param(&mut self, param: &'tcx hir::Param<'tcx>) -> Self::Resu... function mut_borrow_of_mutable_ref (line 1645) | fn mut_borrow_of_mutable_ref(local_decl: &LocalDecl<'_>, local_name: Opt... function suggest_ampmut_self (line 1672) | fn suggest_ampmut_self(tcx: TyCtxt<'_>, span: Span) -> (Span, String) { type AmpMutSugg (line 1681) | enum AmpMutSugg { function suggest_ampmut (line 1717) | fn suggest_ampmut<'tcx>( function is_closure_like (line 1826) | fn is_closure_like(ty: Ty<'_>) -> bool { function get_mut_span_in_struct_field (line 1837) | fn get_mut_span_in_struct_field<'tcx>( function suggest_ref_mut (line 1858) | fn suggest_ref_mut(tcx: TyCtxt<'_>, span: Span) -> Option { FILE: compiler/rustc_borrowck/src/diagnostics/opaque_types.rs function report_opaque_type_errors (line 24) | pub(crate) fn report_opaque_type_errors(&mut self, errors: Vec { type Result (line 217) | type Result = ControlFlow<(DefId, usize, Location), ()>; function visit_ty (line 219) | fn visit_ty(&mut self, ty: Ty<'tcx>) -> Self::Result { type CheckExplicitRegionMentionAndCollectGenerics (line 266) | struct CheckExplicitRegionMentionAndCollectGenerics<'tcx> { type Result (line 275) | type Result = ControlFlow<(), ()>; function visit_ty (line 277) | fn visit_ty(&mut self, ty: Ty<'tcx>) -> Self::Result { function visit_region (line 295) | fn visit_region(&mut self, r: ty::Region<'tcx>) -> Self::Result { FILE: compiler/rustc_borrowck/src/diagnostics/outlives_suggestion.rs type SuggestedConstraint (line 16) | enum SuggestedConstraint { type OutlivesSuggestionBuilder (line 32) | pub(crate) struct OutlivesSuggestionBuilder { method region_name_is_suggestable (line 52) | fn region_name_is_suggestable(name: &RegionName) -> bool { method region_vid_to_name (line 74) | fn region_vid_to_name( method compile_all_suggestions (line 83) | fn compile_all_suggestions( method collect_constraint (line 151) | pub(crate) fn collect_constraint(&mut self, fr: RegionVid, outlived_fr... method intermediate_suggestion (line 159) | pub(crate) fn intermediate_suggestion( method add_suggestion (line 180) | pub(crate) fn add_suggestion(&self, mbcx: &mut MirBorrowckCtxt<'_, '_,... FILE: compiler/rustc_borrowck/src/diagnostics/region_errors.rs method description (line 41) | fn description(&self) -> &'static str { type RegionErrors (line 73) | pub(crate) struct RegionErrors<'tcx>(Vec<(RegionErrorKind<'tcx>, ErrorGu... function new (line 76) | pub(crate) fn new(tcx: TyCtxt<'tcx>) -> Self { function push (line 80) | pub(crate) fn push(&mut self, val: impl Into>) { function is_empty (line 85) | pub(crate) fn is_empty(&self) -> bool { function into_iter (line 88) | pub(crate) fn into_iter( function fmt (line 96) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type RegionErrorKind (line 102) | pub(crate) enum RegionErrorKind<'tcx> { type ErrorConstraintInfo (line 126) | pub(crate) struct ErrorConstraintInfo<'tcx> { function to_error_region (line 143) | pub(super) fn to_error_region(&self, r: RegionVid) -> Option Option(&self, tcx: TyCtxt<'tcx>, ty: T) -> T function is_closure_fn_mut (line 177) | fn is_closure_fn_mut(&self, fr: RegionVid) -> bool { function suggest_static_lifetime_for_gat_from_hrtb (line 192) | fn suggest_static_lifetime_for_gat_from_hrtb( function report_region_errors (line 302) | pub(crate) fn report_region_errors(&mut self, nll_errors: RegionErrors<'... function report_erroneous_rvid_reaches_placeholder (line 393) | fn report_erroneous_rvid_reaches_placeholder( function report_region_error (line 436) | pub(crate) fn report_region_error( function report_fnmut_error (line 589) | fn report_fnmut_error( function report_escaping_data_error (line 662) | fn report_escaping_data_error(&self, errci: &ErrorConstraintInfo<'tcx>) ... function report_general_error (line 768) | fn report_general_error(&self, errci: &ErrorConstraintInfo<'tcx>) -> Dia... function add_static_impl_trait_suggestion (line 825) | fn add_static_impl_trait_suggestion( function maybe_suggest_constrain_dyn_trait_impl (line 915) | fn maybe_suggest_constrain_dyn_trait_impl( function suggest_constrain_dyn_trait_in_impl (line 967) | fn suggest_constrain_dyn_trait_in_impl( function suggest_adding_lifetime_params (line 1004) | fn suggest_adding_lifetime_params(&self, diag: &mut Diag<'_>, sub: Regio... function suggest_deref_closure_return (line 1040) | fn suggest_deref_closure_return(&self, diag: &mut Diag<'_>) { function suggest_move_on_borrowing_closure (line 1164) | fn suggest_move_on_borrowing_closure(&self, diag: &mut Diag<'_>) { FILE: compiler/rustc_borrowck/src/diagnostics/region_name.rs type RegionName (line 21) | pub(crate) struct RegionName { method was_named (line 73) | pub(crate) fn was_named(&self) -> bool { method span (line 88) | pub(crate) fn span(&self) -> Option { method highlight_region_name (line 108) | pub(crate) fn highlight_region_name(&self, diag:... method into_diag_arg (line 194) | fn into_diag_arg(self, path: &mut Option) -> rustc... type RegionNameSource (line 32) | pub(crate) enum RegionNameSource { type RegionNameHighlight (line 58) | pub(crate) enum RegionNameHighlight { method fmt (line 188) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function mir_def_id (line 200) | pub(crate) fn mir_def_id(&self) -> hir::def_id::LocalDefId { function mir_hir_id (line 204) | pub(crate) fn mir_hir_id(&self) -> hir::HirId { function synthesize_region_name (line 212) | pub(crate) fn synthesize_region_name(&self) -> Symbol { function give_region_a_name (line 244) | pub(crate) fn give_region_a_name(&self, fr: RegionVid) -> Option Option( function try_match_adt_and_generic_args (line 708) | fn try_match_adt_and_generic_args<'hir>( function give_name_if_anonymous_region_appears_in_upvars (line 758) | fn give_name_if_anonymous_region_appears_in_upvars(&self, fr: RegionVid)... function give_name_if_anonymous_region_appears_in_output (line 785) | fn give_name_if_anonymous_region_appears_in_output(&self, fr: RegionVid)... function get_future_inner_return_ty (line 940) | fn get_future_inner_return_ty(&self, hir_ty: &'tcx hir::Ty<'tcx>) -> &'t... function give_name_if_anonymous_region_appears_in_yield_ty (line 965) | fn give_name_if_anonymous_region_appears_in_yield_ty( function give_name_if_anonymous_region_appears_in_impl_signature (line 1008) | fn give_name_if_anonymous_region_appears_in_impl_signature( function give_name_if_anonymous_region_appears_in_arg_position_impl_trait (line 1043) | fn give_name_if_anonymous_region_appears_in_arg_position_impl_trait( function any_param_predicate_mentions (line 1105) | fn any_param_predicate_mentions( FILE: compiler/rustc_borrowck/src/diagnostics/var_name.rs function get_var_name_and_span_for_region (line 10) | pub(crate) fn get_var_name_and_span_for_region( function get_upvar_index_for_region (line 37) | pub(crate) fn get_upvar_index_for_region( function get_upvar_name_and_span_for_region (line 63) | pub(crate) fn get_upvar_name_and_span_for_region( function get_argument_index_for_region (line 86) | pub(crate) fn get_argument_index_for_region( function get_argument_name_and_span_for_region (line 110) | pub(crate) fn get_argument_name_and_span_for_region( FILE: compiler/rustc_borrowck/src/handle_placeholders.rs type LoweredConstraints (line 27) | pub(crate) struct LoweredConstraints<'tcx> { function init (line 39) | pub(crate) fn init(definitions: &'d IndexVec { function new (line 51) | fn new(&self, element: RegionVid) -> RegionTracker { function annotate_scc (line 55) | fn annotate_scc(&mut self, scc: ConstraintSccIndex, annotation: RegionTr... type Ann (line 60) | type Ann = RegionTracker; type SccIdx (line 61) | type SccIdx = ConstraintSccIndex; type PlaceholderReachability (line 65) | struct PlaceholderReachability { method merge (line 78) | fn merge(&mut self, other: &Self) { type RegionTracker (line 88) | pub(crate) struct RegionTracker { method new (line 101) | pub(crate) fn new(rvid: RegionVid, definition: &RegionDefinition<'_>) ... method max_nameable_universe (line 123) | pub(crate) fn max_nameable_universe(self) -> UniverseIndex { method max_placeholder_universe_reached (line 127) | pub(crate) fn max_placeholder_universe_reached(self) -> UniverseIndex { method placeholders_can_be_named_by (line 133) | fn placeholders_can_be_named_by(&self, from: UniverseIndex) -> bool { method can_name_all_placeholders (line 138) | pub(crate) fn can_name_all_placeholders(&self, other: Self) -> bool { method unnameable_placeholder (line 147) | fn unnameable_placeholder(&self) -> Option<(UniverseIndex, RegionVid)> { method update_scc (line 155) | fn update_scc(&mut self, other: &Self) { method update_reachable (line 161) | fn update_reachable(&mut self, other: &Self) { function region_definitions (line 174) | pub(super) fn region_definitions<'tcx>( function compute_sccs_applying_placeholder_outlives_constraints (line 234) | pub(crate) fn compute_sccs_applying_placeholder_outlives_constraints<'tcx>( function rewrite_placeholder_outlives (line 316) | pub(crate) fn rewrite_placeholder_outlives<'tcx>( FILE: compiler/rustc_borrowck/src/lib.rs type TyCtxtConsts (line 100) | struct TyCtxtConsts<'tcx>(PhantomData<&'tcx ()>); constant DEREF_PROJECTION (line 103) | const DEREF_PROJECTION: &'tcx [PlaceElem<'tcx>; 1] = &[ProjectionElem::D... function provide (line 106) | pub fn provide(providers: &mut Providers) { function mir_borrowck (line 113) | fn mir_borrowck( type PropagatedBorrowCheckResults (line 144) | struct PropagatedBorrowCheckResults<'tcx> { type DeferredClosureRequirements (line 149) | type DeferredClosureRequirements<'tcx> = Vec<(LocalDefId, ty::GenericArg... type ClosureRegionRequirements (line 194) | pub struct ClosureRegionRequirements<'tcx> { type ClosureOutlivesRequirement (line 210) | pub struct ClosureOutlivesRequirement<'tcx> { type ClosureOutlivesSubject (line 231) | pub enum ClosureOutlivesSubject<'tcx> { type ClosureOutlivesSubjectTy (line 248) | pub struct ClosureOutlivesSubjectTy<'tcx> { function bind (line 259) | pub fn bind(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> Self { function instantiate (line 274) | pub fn instantiate( type CollectRegionConstraintsResult (line 289) | struct CollectRegionConstraintsResult<'tcx> { function borrowck_collect_region_constraints (line 310) | fn borrowck_collect_region_constraints<'tcx>( function borrowck_check_region_constraints (line 390) | fn borrowck_check_region_constraints<'tcx>( function get_flow_results (line 598) | fn get_flow_results<'a, 'tcx>( type BorrowckInferCtxt (line 639) | pub(crate) struct BorrowckInferCtxt<'tcx> { function new (line 647) | pub(crate) fn new(tcx: TyCtxt<'tcx>, def_id: LocalDefId, root_def_id: Lo... function next_region_var (line 663) | pub(crate) fn next_region_var( function next_nll_region_var (line 685) | pub(crate) fn next_nll_region_var( type Target (line 708) | type Target = InferCtxt<'tcx>; method deref (line 710) | fn deref(&self) -> &Self::Target { type MirBorrowckCtxt (line 715) | pub(crate) struct MirBorrowckCtxt<'a, 'infcx, 'tcx> { function visit_after_early_statement_effect (line 788) | fn visit_after_early_statement_effect( function visit_after_early_terminator_effect (line 863) | fn visit_after_early_terminator_effect( function visit_after_primary_terminator_effect (line 983) | fn visit_after_primary_terminator_effect( type ArtificialField (line 1042) | enum ArtificialField { type AccessDepth (line 1048) | enum AccessDepth { type ReadOrWrite (line 1069) | enum ReadOrWrite { type ReadKind (line 1089) | enum ReadKind { type WriteKind (line 1097) | enum WriteKind { type LocalMutationIsAllowed (line 1113) | enum LocalMutationIsAllowed { type InitializationRequiringAction (line 1122) | enum InitializationRequiringAction { method as_noun (line 1138) | fn as_noun(self) -> &'static str { method as_verb_in_past_tense (line 1148) | fn as_verb_in_past_tense(self) -> &'static str { method as_general_verb_in_past_tense (line 1158) | fn as_general_verb_in_past_tense(self) -> &'static str { type RootPlace (line 1131) | struct RootPlace<'tcx> { function body (line 1170) | fn body(&self) -> &'a Body<'tcx> { function access_place (line 1180) | fn access_place( function borrows_in_scope (line 1239) | fn borrows_in_scope<'s>( function check_access_for_conflict (line 1258) | fn check_access_for_conflict( function check_backward_incompatible_drop (line 1391) | fn check_backward_incompatible_drop( function mutate_place (line 1445) | fn mutate_place( function consume_rvalue (line 1464) | fn consume_rvalue( function propagate_closure_used_mut_upvar (line 1612) | fn propagate_closure_used_mut_upvar(&mut self, operand: &Operand<'tcx>) { function consume_operand (line 1715) | fn consume_operand( function check_for_invalidation_at_exit (line 1769) | fn check_for_invalidation_at_exit( function check_for_local_borrow (line 1819) | fn check_for_local_borrow(&mut self, borrow: &BorrowData<'tcx>, yield_sp... function check_activations (line 1832) | fn check_activations(&mut self, location: Location, span: Span, state: &... function check_movable_place (line 1858) | fn check_movable_place(&mut self, location: Location, place: Place<'tcx>) { function check_if_full_path_is_moved (line 1990) | fn check_if_full_path_is_moved( function check_if_subslice_element_is_moved (line 2056) | fn check_if_subslice_element_is_moved( function check_if_path_or_subpath_is_moved (line 2095) | fn check_if_path_or_subpath_is_moved( function move_path_closest_to (line 2175) | fn move_path_closest_to(&mut self, place: PlaceRef<'tcx>) -> (PlaceRef<'... function move_path_for_place (line 2184) | fn move_path_for_place(&mut self, place: PlaceRef<'tcx>) -> Option, state: &Borrowck... function is_mutable (line 2514) | fn is_mutable( function is_upvar_field_projection (line 2667) | fn is_upvar_field_projection(&self, place_ref: PlaceRef<'tcx>) -> Option... function dominators (line 2671) | fn dominators(&self) -> &Dominators { function lint_unused_mut (line 2676) | fn lint_unused_mut(&self) { type Overlap (line 2706) | enum Overlap { FILE: compiler/rustc_borrowck/src/nll.rs type NllOutput (line 40) | pub(crate) struct NllOutput<'tcx> { function replace_regions_in_mir (line 56) | pub(crate) fn replace_regions_in_mir<'tcx>( function compute_closure_requirements_modulo_opaques (line 85) | pub(crate) fn compute_closure_requirements_modulo_opaques<'tcx>( function compute_regions (line 113) | pub(crate) fn compute_regions<'tcx>( function dump_nll_mir (line 204) | pub(super) fn dump_nll_mir<'tcx>( function emit_nll_mir (line 246) | pub(crate) fn emit_nll_mir<'tcx>( function dump_annotation (line 290) | pub(super) fn dump_annotation<'tcx, 'infcx>( function for_each_region_constraint (line 339) | fn for_each_region_constraint<'tcx>( type ConstraintDescription (line 359) | pub(crate) trait ConstraintDescription { method description (line 360) | fn description(&self) -> &'static str; FILE: compiler/rustc_borrowck/src/path_utils.rs function each_borrow_involving_path (line 13) | pub(super) fn each_borrow_involving_path<'tcx, F, I, S>( function is_active (line 60) | pub(super) fn is_active<'tcx>( function borrow_of_local_data (line 124) | pub(super) fn borrow_of_local_data(place: Place<'_>) -> bool { function is_upvar_field_projection (line 134) | pub(crate) fn is_upvar_field_projection<'tcx>( FILE: compiler/rustc_borrowck/src/place_ext.rs function ignore_borrow (line 15) | fn ignore_borrow( FILE: compiler/rustc_borrowck/src/places_conflict.rs type PlaceConflictBias (line 73) | pub enum PlaceConflictBias { function places_conflict (line 81) | pub fn places_conflict<'tcx>( function borrow_conflicts_with_place (line 104) | pub(super) fn borrow_conflicts_with_place<'tcx>( function place_components_conflict (line 131) | fn place_components_conflict<'tcx>( function place_projection_conflict (line 290) | fn place_projection_conflict<'tcx>( FILE: compiler/rustc_borrowck/src/polonius/constraints.rs type LocalizedNode (line 36) | pub(super) struct LocalizedNode { type LocalizedConstraintGraph (line 43) | pub(super) struct LocalizedConstraintGraph { method new (line 67) | pub(super) fn new<'tcx>( method traverse (line 98) | pub(super) fn traverse<'tcx>( type LocalizedConstraintGraphVisitor (line 55) | pub(super) trait LocalizedConstraintGraphVisitor { method on_node_traversed (line 58) | fn on_node_traversed(&mut self, _loan: BorrowIndex, _node: LocalizedNo... method on_successor_discovered (line 61) | fn on_successor_discovered(&mut self, _current_node: LocalizedNode, _s... function compute_forward_successor (line 243) | fn compute_forward_successor( function compute_backward_successor (line 292) | fn compute_backward_successor( FILE: compiler/rustc_borrowck/src/polonius/dump.rs function dump_polonius_mir (line 19) | pub(crate) fn dump_polonius_mir<'tcx>( type LocalizedOutlivesConstraint (line 80) | struct LocalizedOutlivesConstraint { type LocalizedOutlivesConstraintCollector (line 88) | struct LocalizedOutlivesConstraintCollector { method on_successor_discovered (line 93) | fn on_successor_discovered(&mut self, current_node: LocalizedNode, succe... function emit_polonius_dump (line 109) | fn emit_polonius_dump<'tcx>( function emit_html_mir (line 188) | fn emit_html_mir<'tcx>( function emit_polonius_mir (line 220) | fn emit_polonius_mir<'tcx>( function emit_mermaid_cfg (line 263) | fn emit_mermaid_cfg(body: &Body<'_>, out: &mut dyn io::Write) -> io::Res... function render_region (line 315) | fn render_region<'tcx>( function emit_mermaid_nll_regions (line 336) | fn emit_mermaid_nll_regions<'tcx>( function emit_mermaid_nll_sccs (line 388) | fn emit_mermaid_nll_sccs<'tcx>( function emit_mermaid_constraint_graph (line 428) | fn emit_mermaid_constraint_graph<'tcx>( FILE: compiler/rustc_borrowck/src/polonius/legacy/accesses.rs function emit_access_facts (line 12) | pub(crate) fn emit_access_facts<'tcx>( type AccessFactsExtractor (line 33) | struct AccessFactsExtractor<'a, 'tcx> { function location_to_index (line 40) | fn location_to_index(&self, location: Location) -> LocationIndex { function visit_local (line 46) | fn visit_local(&mut self, local: Local, context: PlaceContext, location:... function visit_place (line 64) | fn visit_place(&mut self, place: &Place<'tcx>, context: PlaceContext, lo... FILE: compiler/rustc_borrowck/src/polonius/legacy/facts.rs type RustcFacts (line 17) | pub struct RustcFacts; type Origin (line 45) | type Origin = PoloniusRegionVid; type Loan (line 46) | type Loan = BorrowIndex; type Point (line 47) | type Point = LocationIndex; type Variable (line 48) | type Variable = Local; type Path (line 49) | type Path = MovePathIndex; type PoloniusOutput (line 19) | pub type PoloniusOutput = Output; method index (line 29) | fn index(self) -> usize { method from (line 34) | fn from(value: RegionVid) -> Self { method from (line 39) | fn from(value: PoloniusRegionVid) -> Self { type PoloniusFacts (line 52) | pub type PoloniusFacts = AllFacts; method enabled (line 58) | fn enabled(tcx: TyCtxt<'_>) -> bool { method write_to_dir (line 63) | fn write_to_dir( method index (line 110) | fn index(self) -> usize { method index (line 116) | fn index(self) -> usize { type FactWriter (line 121) | struct FactWriter<'w> { function write_facts_to_path (line 127) | fn write_facts_to_path(&self, rows: &[T], file_name: &str) -> Result<... type FactRow (line 140) | trait FactRow { method write (line 141) | fn write( method write (line 149) | fn write( method write (line 163) | fn write( method write (line 178) | fn write( function write_row (line 187) | fn write_row( type FactCell (line 199) | trait FactCell { method to_string (line 200) | fn to_string(&self, location_table: &PoloniusLocationTable) -> String; method to_string (line 204) | fn to_string(&self, _location_table: &PoloniusLocationTable) -> String { method to_string (line 210) | fn to_string(&self, _location_table: &PoloniusLocationTable) -> String { method to_string (line 216) | fn to_string(&self, _location_table: &PoloniusLocationTable) -> String { method to_string (line 222) | fn to_string(&self, _location_table: &PoloniusLocationTable) -> String { method to_string (line 228) | fn to_string(&self, _location_table: &PoloniusLocationTable) -> String { method to_string (line 234) | fn to_string(&self, location_table: &PoloniusLocationTable) -> String { FILE: compiler/rustc_borrowck/src/polonius/legacy/loan_invalidations.rs function emit_loan_invalidations (line 19) | pub(super) fn emit_loan_invalidations<'tcx>( type LoanInvalidationsGenerator (line 32) | struct LoanInvalidationsGenerator<'a, 'tcx> { function visit_statement (line 44) | fn visit_statement(&mut self, statement: &Statement<'tcx>, location: Loc... function visit_terminator (line 96) | fn visit_terminator(&mut self, terminator: &Terminator<'tcx>, location: ... function mutate_place (line 222) | fn mutate_place(&mut self, location: Location, place: Place<'tcx>, kind:... function consume_operand (line 232) | fn consume_operand(&mut self, location: Location, operand: &Operand<'tcx... function consume_rvalue (line 255) | fn consume_rvalue(&mut self, location: Location, rvalue: &Rvalue<'tcx>) { function access_place (line 333) | fn access_place( function check_access_for_conflict (line 345) | fn check_access_for_conflict( function emit_loan_invalidated_at (line 411) | fn emit_loan_invalidated_at(&mut self, b: BorrowIndex, l: Location) { function check_activations (line 416) | fn check_activations(&mut self, location: Location) { FILE: compiler/rustc_borrowck/src/polonius/legacy/loan_kills.rs function emit_loan_kills (line 14) | pub(super) fn emit_loan_kills<'tcx>( type LoanKillsGenerator (line 27) | struct LoanKillsGenerator<'a, 'tcx> { function visit_statement (line 36) | fn visit_statement(&mut self, statement: &Statement<'tcx>, location: Loc... function visit_assign (line 56) | fn visit_assign(&mut self, place: &Place<'tcx>, rvalue: &Rvalue<'tcx>, l... function visit_terminator (line 63) | fn visit_terminator(&mut self, terminator: &Terminator<'tcx>, location: ... function record_killed_borrows_for_place (line 92) | fn record_killed_borrows_for_place(&mut self, place: Place<'tcx>, locati... function record_killed_borrows_for_local (line 139) | fn record_killed_borrows_for_local(&mut self, local: Local, location: Lo... FILE: compiler/rustc_borrowck/src/polonius/legacy/location.rs type PoloniusLocationTable (line 16) | pub struct PoloniusLocationTable { method new (line 34) | pub(crate) fn new(body: &Body<'_>) -> Self { method all_points (line 52) | pub fn all_points(&self) -> impl Iterator { method start_index (line 56) | pub fn start_index(&self, location: Location) -> LocationIndex { method mid_index (line 62) | pub fn mid_index(&self, location: Location) -> LocationIndex { method to_rich_location (line 68) | pub fn to_rich_location(&self, index: LocationIndex) -> RichLocation { method to_location (line 101) | pub fn to_location(&self, index: LocationIndex) -> Location { type RichLocation (line 28) | pub enum RichLocation { method is_start (line 110) | fn is_start(self) -> bool { FILE: compiler/rustc_borrowck/src/polonius/legacy/mod.rs function emit_facts (line 38) | pub(crate) fn emit_facts<'tcx>( function emit_move_facts (line 69) | fn emit_move_facts( function emit_universal_region_facts (line 141) | fn emit_universal_region_facts( function emit_drop_facts (line 185) | pub(crate) fn emit_drop_facts<'tcx>( function emit_outlives_facts (line 203) | fn emit_outlives_facts<'tcx>( FILE: compiler/rustc_borrowck/src/polonius/liveness_constraints.rs method record_live_region_variance (line 14) | pub(crate) fn record_live_region_variance<'tcx>( type VarianceExtractor (line 33) | struct VarianceExtractor<'a, 'tcx> { function record_variance (line 41) | fn record_variance(&mut self, region: ty::Region<'tcx>, variance: ty::Va... function cx (line 92) | fn cx(&self) -> TyCtxt<'tcx> { function relate_ty_args (line 96) | fn relate_ty_args( function relate_with_variance (line 110) | fn relate_with_variance>>( function tys (line 124) | fn tys(&mut self, a: Ty<'tcx>, b: Ty<'tcx>) -> RelateResult<'tcx, Ty<'tc... function regions (line 129) | fn regions( function consts (line 139) | fn consts( function binders (line 148) | fn binders( FILE: compiler/rustc_borrowck/src/polonius/mod.rs type LiveLoans (line 55) | pub(crate) type LiveLoans = SparseBitMatrix; type PoloniusContext (line 62) | pub(crate) struct PoloniusContext { method compute_loan_liveness (line 102) | pub(crate) fn compute_loan_liveness<'tcx>( type ConstraintDirection (line 80) | enum ConstraintDirection { type LoanLivenessVisitor (line 137) | struct LoanLivenessVisitor<'a> { method on_node_traversed (line 143) | fn on_node_traversed(&mut self, loan: BorrowIndex, node: LocalizedNode) { FILE: compiler/rustc_borrowck/src/prefixes.rs type IsPrefixOf (line 11) | pub(crate) trait IsPrefixOf<'tcx> { method is_prefix_of (line 12) | fn is_prefix_of(&self, other: PlaceRef<'tcx>) -> bool; function is_prefix_of (line 16) | fn is_prefix_of(&self, other: PlaceRef<'tcx>) -> bool { type Prefixes (line 23) | pub(super) struct Prefixes<'tcx> { type PrefixSet (line 29) | pub(super) enum PrefixSet { function prefixes (line 41) | pub(super) fn prefixes(&self, place_ref: PlaceRef<'tcx>, kind: PrefixSet... type Item (line 47) | type Item = PlaceRef<'tcx>; method next (line 48) | fn next(&mut self) -> Option { FILE: compiler/rustc_borrowck/src/region_infer/dump_mir.rs constant REGION_WIDTH (line 17) | const REGION_WIDTH: usize = 8; function dump_mir (line 21) | pub(crate) fn dump_mir(&self, tcx: TyCtxt<'tcx>, out: &mut dyn Write) ->... function for_each_constraint (line 65) | fn for_each_constraint( FILE: compiler/rustc_borrowck/src/region_infer/graphviz.rs function render_outlives_constraint (line 14) | fn render_outlives_constraint(constraint: &OutlivesConstraint<'_>) -> St... function render_universe (line 25) | fn render_universe(u: UniverseIndex) -> String { function render_region_vid (line 33) | fn render_region_vid<'tcx>( function dump_graphviz_raw_constraints (line 68) | pub(crate) fn dump_graphviz_raw_constraints( function dump_graphviz_scc_constraints (line 77) | pub(crate) fn dump_graphviz_scc_constraints( type RawConstraints (line 94) | struct RawConstraints<'a, 'tcx> { type Node (line 100) | type Node = RegionVid; type Edge (line 101) | type Edge = OutlivesConstraint<'tcx>; function graph_id (line 103) | fn graph_id(&'this self) -> dot::Id<'this> { function node_id (line 106) | fn node_id(&'this self, n: &RegionVid) -> dot::Id<'this> { function node_shape (line 109) | fn node_shape(&'this self, _node: &RegionVid) -> Option dot::LabelText<'this> { function edge_label (line 115) | fn edge_label(&'this self, e: &OutlivesConstraint<'tcx>) -> dot::LabelTe... type Node (line 121) | type Node = RegionVid; type Edge (line 122) | type Edge = OutlivesConstraint<'tcx>; function nodes (line 124) | fn nodes(&'this self) -> dot::Nodes<'this, RegionVid> { function edges (line 128) | fn edges(&'this self) -> dot::Edges<'this, OutlivesConstraint<'tcx>> { function source (line 135) | fn source(&'this self, edge: &OutlivesConstraint<'tcx>) -> RegionVid { function target (line 139) | fn target(&'this self, edge: &OutlivesConstraint<'tcx>) -> RegionVid { type SccConstraints (line 144) | struct SccConstraints<'a, 'tcx> { type Node (line 151) | type Node = ConstraintSccIndex; type Edge (line 152) | type Edge = (ConstraintSccIndex, ConstraintSccIndex); function graph_id (line 154) | fn graph_id(&'this self) -> dot::Id<'this> { function node_id (line 157) | fn node_id(&'this self, n: &ConstraintSccIndex) -> dot::Id<'this> { function node_shape (line 160) | fn node_shape(&'this self, _node: &ConstraintSccIndex) -> Option dot::LabelText<'th... type Node (line 173) | type Node = ConstraintSccIndex; type Edge (line 174) | type Edge = (ConstraintSccIndex, ConstraintSccIndex); function nodes (line 176) | fn nodes(&'this self) -> dot::Nodes<'this, ConstraintSccIndex> { function edges (line 180) | fn edges(&'this self) -> dot::Edges<'this, (ConstraintSccIndex, Constrai... function source (line 200) | fn source(&'this self, edge: &(ConstraintSccIndex, ConstraintSccIndex)) ... function target (line 204) | fn target(&'this self, edge: &(ConstraintSccIndex, ConstraintSccIndex)) ... FILE: compiler/rustc_borrowck/src/region_infer/mod.rs type Representative (line 53) | pub(crate) enum Representative { method rvid (line 60) | pub(crate) fn rvid(self) -> RegionVid { method new (line 68) | pub(crate) fn new(r: RegionVid, definition: &RegionDefinition<'_>) -> ... type ConstraintSccs (line 77) | pub(crate) type ConstraintSccs = Sccs; type RegionInferenceContext (line 79) | pub struct RegionInferenceContext<'tcx> { type RegionDefinition (line 124) | pub(crate) struct RegionDefinition<'tcx> { type Cause (line 145) | pub(crate) enum Cause { type TypeTest (line 186) | pub(crate) struct TypeTest<'tcx> { type RegionRelationCheckResult (line 204) | enum RegionRelationCheckResult { type Trace (line 211) | enum Trace<'a, 'tcx> { function sccs_info (line 219) | fn sccs_info<'tcx>(infcx: &BorrowckInferCtxt<'tcx>, sccs: &ConstraintScc... function new (line 292) | pub(crate) fn new( function init_free_and_bound_regions (line 401) | fn init_free_and_bound_regions(&mut self) { function regions (line 429) | pub(crate) fn regions(&self) -> impl Iterator + 'tcx { function to_region_vid (line 439) | pub(crate) fn to_region_vid(&self, r: ty::Region<'tcx>) -> RegionVid { function outlives_constraints (line 444) | pub(crate) fn outlives_constraints(&self) -> impl Iterator, err: &mut Diag<'_, ()>) { function region_contains (line 456) | pub(crate) fn region_contains(&self, r: RegionVid, p: impl ToElementInde... function first_non_contained_inclusive (line 464) | pub(crate) fn first_non_contained_inclusive( function region_value_str (line 476) | pub(crate) fn region_value_str(&self, r: RegionVid) -> String { function placeholders_contained_in (line 481) | pub(crate) fn placeholders_contained_in( function solve (line 493) | pub(super) fn solve( function propagate_constraints (line 551) | fn propagate_constraints(&mut self) { function can_name_all_placeholders (line 577) | fn can_name_all_placeholders( function check_type_tests (line 589) | fn check_type_tests( function try_promote_type_test (line 667) | fn try_promote_type_test( function try_promote_type_test_subject (line 750) | fn try_promote_type_test_subject( function approx_universal_upper_bound (line 801) | pub(crate) fn approx_universal_upper_bound(&self, r: RegionVid) -> Regio... function eval_verify_bound (line 842) | fn eval_verify_bound( function eval_if_eq (line 876) | fn eval_if_eq( function normalize_to_scc_representatives (line 926) | fn normalize_to_scc_representatives(&self, tcx: TyCtxt<'tcx>, value: ... function eval_equal (line 942) | pub fn eval_equal(&self, r1: RegionVid, r2: RegionVid) -> bool { function eval_outlives (line 951) | pub fn eval_outlives(&self, sup_region: RegionVid, sub_region: RegionVid... function check_universal_regions (line 1038) | fn check_universal_regions( function check_polonius_subset_errors (line 1089) | fn check_polonius_subset_errors( function max_nameable_universe (line 1171) | fn max_nameable_universe(&self, scc: ConstraintSccIndex) -> UniverseIndex { function check_universal_region (line 1184) | fn check_universal_region( function check_universal_region_relation (line 1246) | fn check_universal_region_relation( function try_propagate_universal_region_error (line 1272) | fn try_propagate_universal_region_error( function check_bound_universal_region (line 1363) | fn check_bound_universal_region( function constraint_path_between_regions (line 1393) | pub(crate) fn constraint_path_between_regions( function constraint_path_to (line 1414) | pub(crate) fn constraint_path_to( function find_constraint_path_between_regions_inner (line 1448) | fn find_constraint_path_between_regions_inner( function find_sub_region_live_at (line 1565) | pub(crate) fn find_sub_region_live_at(&self, fr1: RegionVid, location: L... function region_from_element (line 1575) | fn region_from_element( function region_definition (line 1595) | pub(crate) fn region_definition(&self, r: RegionVid) -> &RegionDefinitio... function upper_bound_in_region_scc (line 1600) | pub(crate) fn upper_bound_in_region_scc(&self, r: RegionVid, upper: Regi... function universal_regions (line 1605) | pub(crate) fn universal_regions(&self) -> &UniversalRegions<'tcx> { function best_blame_constraint (line 1616) | pub(crate) fn best_blame_constraint( function universe_info (line 1848) | pub(crate) fn universe_info(&self, universe: ty::UniverseIndex) -> Unive... function find_loop_terminator_location (line 1861) | pub(crate) fn find_loop_terminator_location( function constraint_sccs (line 1884) | pub fn constraint_sccs(&self) -> &ConstraintSccs { function scc_representative (line 1896) | fn scc_representative(&self, scc: ConstraintSccIndex) -> RegionVid { function liveness_constraints (line 1900) | pub(crate) fn liveness_constraints(&self) -> &LivenessValues { function record_live_loans (line 1906) | pub(crate) fn record_live_loans(&mut self, live_loans: LiveLoans) { function is_loan_live_at (line 1913) | pub(crate) fn is_loan_live_at(&self, loan_idx: BorrowIndex, location: Lo... type BlameConstraint (line 1920) | pub(crate) struct BlameConstraint<'tcx> { FILE: compiler/rustc_borrowck/src/region_infer/opaque_types/member_constraints.rs function apply_member_constraints (line 14) | pub(super) fn apply_member_constraints<'tcx>( function apply_member_constraint (line 59) | fn apply_member_constraint<'tcx>( type CollectMemberConstraintsVisitor (line 141) | struct CollectMemberConstraintsVisitor<'a, 'b, 'tcx> { function cx (line 147) | fn cx(&self) -> TyCtxt<'tcx> { function visit_closure_args (line 150) | fn visit_closure_args(&mut self, def_id: DefId, args: GenericArgsRef<'tc... function visit_region (line 158) | fn visit_region(&mut self, r: Region<'tcx>) { function visit_ty (line 169) | fn visit_ty(&mut self, ty: Ty<'tcx>) { FILE: compiler/rustc_borrowck/src/region_infer/opaque_types/mod.rs type DeferredOpaqueTypeError (line 44) | pub(crate) enum DeferredOpaqueTypeError<'tcx> { function clone_and_resolve_opaque_types (line 66) | pub(crate) fn clone_and_resolve_opaque_types<'tcx>( function nll_var_to_universal_region (line 96) | fn nll_var_to_universal_region<'tcx>( type UnexpectedHiddenRegion (line 131) | pub(crate) struct UnexpectedHiddenRegion<'tcx> { function to_error (line 141) | pub(crate) fn to_error(self) -> (LocalDefId, DeferredOpaqueTypeError<'tc... function add_hidden_type (line 157) | fn add_hidden_type<'tcx>( type DefiningUse (line 183) | struct DefiningUse<'tcx> { function compute_definition_site_hidden_types (line 203) | pub(crate) fn compute_definition_site_hidden_types<'tcx>( function collect_defining_uses (line 245) | fn collect_defining_uses<'tcx>( function compute_definition_site_hidden_types_from_defining_uses (line 305) | fn compute_definition_site_hidden_types_from_defining_uses<'tcx>( type ToArgRegionsFolder (line 412) | struct ToArgRegionsFolder<'a, 'tcx> { function new (line 424) | fn new( function fold_non_member_arg (line 431) | fn fold_non_member_arg(&mut self, arg: GenericArg<'tcx>) -> GenericArg<'... function fold_closure_args (line 439) | fn fold_closure_args( type Error (line 455) | type Error = RegionVid; function cx (line 456) | fn cx(&self) -> TyCtxt<'tcx> { function try_fold_region (line 460) | fn try_fold_region(&mut self, r: Region<'tcx>) -> Result, R... function try_fold_ty (line 483) | fn try_fold_ty(&mut self, ty: Ty<'tcx>) -> Result, RegionVid> { function apply_definition_site_hidden_types (line 528) | pub(crate) fn apply_definition_site_hidden_types<'tcx>( function handle_unconstrained_hidden_type_errors (line 621) | pub(crate) fn handle_unconstrained_hidden_type_errors<'tcx>( function detect_opaque_types_added_while_handling_opaque_types (line 658) | pub(crate) fn detect_opaque_types_added_while_handling_opaque_types<'tcx>( function name_regions_for_member_constraint (line 689) | pub(crate) fn name_regions_for_member_constraint(&self, tcx: TyCtxt<'... function infer_opaque_definition_from_instantiation (line 757) | fn infer_opaque_definition_from_instantiation( FILE: compiler/rustc_borrowck/src/region_infer/opaque_types/region_ctxt.rs type RegionCtxt (line 23) | pub(super) struct RegionCtxt<'a, 'tcx> { function new (line 38) | pub(super) fn new( function representative (line 103) | pub(super) fn representative(&self, vid: RegionVid) -> Representative { function max_placeholder_universe_reached (line 108) | pub(crate) fn max_placeholder_universe_reached( function universal_regions (line 115) | pub(super) fn universal_regions(&self) -> &UniversalRegions<'tcx> { function eval_equal (line 119) | pub(super) fn eval_equal(&self, r1_vid: RegionVid, r2_vid: RegionVid) ->... FILE: compiler/rustc_borrowck/src/region_infer/reverse_sccs.rs type ReverseSccGraph (line 12) | pub(crate) struct ReverseSccGraph { method compute (line 23) | pub(super) fn compute( method upper_bounds (line 47) | pub(super) fn upper_bounds(&self, scc0: ConstraintSccIndex) -> impl It... FILE: compiler/rustc_borrowck/src/region_infer/values.rs type RegionElement (line 25) | pub(crate) enum RegionElement<'tcx> { type LivenessValues (line 41) | pub(crate) struct LivenessValues { method with_specific_points (line 61) | pub(crate) fn with_specific_points(location_map: Rc)... method without_specific_points (line 74) | pub(crate) fn without_specific_points(location_map: Rc &SparseIntervalMatrix impl Iterator { method live_regions_unordered (line 100) | pub(crate) fn live_regions_unordered(&self) -> impl Iterator impl Iterator St... method point_from_location (line 178) | pub(crate) fn point_from_location(&self, location: Location) -> PointI... method location_from_point (line 183) | pub(crate) fn location_from_point(&self, point: PointIndex) -> Location { method record_live_loans (line 189) | pub(crate) fn record_live_loans(&mut self, live_loans: LiveLoans) { method is_loan_live_at (line 194) | pub(crate) fn is_loan_live_at(&self, loan_idx: BorrowIndex, point: Poi... type PlaceholderIndices (line 207) | pub(crate) struct PlaceholderIndices<'tcx> { function insert (line 213) | pub(crate) fn insert(&mut self, placeholder: ty::PlaceholderRegion<'tcx>... function lookup_index (line 218) | pub(crate) fn lookup_index( function lookup_placeholder (line 225) | pub(crate) fn lookup_placeholder( function len (line 232) | pub(crate) fn len(&self) -> usize { type RegionValues (line 255) | pub(crate) struct RegionValues<'tcx, N: Idx> { function new (line 270) | pub(crate) fn new( function add_element (line 288) | pub(crate) fn add_element(&mut self, r: N, elem: impl ToElementIndex<'tc... function add_all_points (line 294) | pub(crate) fn add_all_points(&mut self, r: N) { function add_region (line 300) | pub(crate) fn add_region(&mut self, r_to: N, r_from: N) -> bool { function contains (line 307) | pub(crate) fn contains(&self, r: N, elem: impl ToElementIndex<'tcx>) -> ... function first_non_contained_inclusive (line 312) | pub(crate) fn first_non_contained_inclusive( function merge_liveness (line 330) | pub(crate) fn merge_liveness(&mut self, to: N, from: RegionVid, values: ... function contains_points (line 341) | pub(crate) fn contains_points(&self, sup_region: N, sub_region: N) -> bo... function locations_outlived_by (line 356) | pub(crate) fn locations_outlived_by(&self, r: N) -> impl Iterator impl Iterato... function placeholders_contained_in (line 370) | pub(crate) fn placeholders_contained_in( function elements_contained_in (line 382) | pub(crate) fn elements_contained_in(&self, r: N) -> impl Iterator String { type ToElementIndex (line 400) | pub(crate) trait ToElementIndex<'tcx>: Debug + Copy { method add_to_row (line 401) | fn add_to_row(self, values: &mut RegionValues<'tcx, N>, row: N... method contained_in_row (line 403) | fn contained_in_row(self, values: &RegionValues<'tcx, N>, row:... method add_to_row (line 407) | fn add_to_row(self, values: &mut RegionValues<'_, N>, row: N) ->... method contained_in_row (line 412) | fn contained_in_row(self, values: &RegionValues<'_, N>, row: N) ... method add_to_row (line 419) | fn add_to_row(self, values: &mut RegionValues<'_, N>, row: N) ->... method contained_in_row (line 423) | fn contained_in_row(self, values: &RegionValues<'_, N>, row: N) ... function add_to_row (line 429) | fn add_to_row(self, values: &mut RegionValues<'tcx, N>, row: N) ... function contained_in_row (line 438) | fn contained_in_row(self, values: &RegionValues<'tcx, N>, row: N... function pretty_print_points (line 449) | pub(crate) fn pretty_print_points( function pretty_print_region_elements (line 463) | fn pretty_print_region_elements<'tcx>( FILE: compiler/rustc_borrowck/src/renumber.rs function renumber_mir (line 14) | pub(crate) fn renumber_mir<'tcx>( type RegionCtxt (line 32) | pub(crate) enum RegionCtxt { method preference_value (line 45) | pub(crate) fn preference_value(self) -> usize { type RegionRenumberer (line 57) | struct RegionRenumberer<'a, 'tcx> { function renumber_regions (line 64) | fn renumber_regions(&mut self, value: T, region_ctxt_fn: F) -> T function tcx (line 77) | fn tcx(&self) -> TyCtxt<'tcx> { function visit_ty (line 82) | fn visit_ty(&mut self, ty: &mut Ty<'tcx>, ty_context: TyContext) { function visit_args (line 93) | fn visit_args(&mut self, args: &mut GenericArgsRef<'tcx>, location: Loca... function visit_region (line 100) | fn visit_region(&mut self, region: &mut ty::Region<'tcx>, location: Loca... function visit_ty_const (line 108) | fn visit_ty_const(&mut self, ct: &mut ty::Const<'tcx>, location: Locatio... function visit_const_operand (line 116) | fn visit_const_operand(&mut self, constant: &mut ConstOperand<'tcx>, loc... FILE: compiler/rustc_borrowck/src/root_cx.rs type BorrowCheckRootCtxt (line 27) | pub(super) struct BorrowCheckRootCtxt<'tcx> { function new (line 49) | pub(super) fn new( function root_def_id (line 66) | pub(super) fn root_def_id(&self) -> LocalDefId { function set_tainted_by_errors (line 70) | pub(super) fn set_tainted_by_errors(&mut self, guar: ErrorGuaranteed) { function used_mut_upvars (line 74) | pub(super) fn used_mut_upvars( function finalize (line 81) | pub(super) fn finalize( function handle_opaque_type_uses (line 92) | fn handle_opaque_type_uses(&mut self) { function apply_closure_requirements_modulo_opaques (line 160) | fn apply_closure_requirements_modulo_opaques(&mut self) { function compute_closure_requirements_modulo_opaques (line 224) | fn compute_closure_requirements_modulo_opaques( function apply_closure_requirements (line 236) | fn apply_closure_requirements( function do_mir_borrowck (line 258) | pub(super) fn do_mir_borrowck(&mut self) { FILE: compiler/rustc_borrowck/src/session_diagnostics.rs type MoveUnsized (line 11) | pub(crate) struct MoveUnsized<'tcx> { type HigherRankedLifetimeError (line 20) | pub(crate) struct HigherRankedLifetimeError { type HigherRankedErrorCause (line 28) | pub(crate) enum HigherRankedErrorCause { type HigherRankedSubtypeError (line 37) | pub(crate) struct HigherRankedSubtypeError { type GenericDoesNotLiveLongEnough (line 44) | pub(crate) struct GenericDoesNotLiveLongEnough { type VarNeedNotMut (line 52) | pub(crate) struct VarNeedNotMut { type FnMutError (line 65) | pub(crate) struct FnMutError { type VarHereDenote (line 73) | pub(crate) enum VarHereDenote { type FnMutReturnTypeErr (line 92) | pub(crate) enum FnMutReturnTypeErr { type LifetimeOutliveErr (line 116) | pub(crate) struct LifetimeOutliveErr { type LifetimeReturnCategoryErr (line 122) | pub(crate) enum LifetimeReturnCategoryErr<'a> { type RequireStaticErr (line 146) | pub(crate) enum RequireStaticErr { type CaptureVarPathUseCause (line 155) | pub(crate) enum CaptureVarPathUseCause { type CaptureVarKind (line 199) | pub(crate) enum CaptureVarKind { type CaptureVarCause (line 218) | pub(crate) enum CaptureVarCause { type MoveBorrow (line 322) | pub(crate) struct MoveBorrow<'a> { type LifetimeMismatchOpaqueParam (line 345) | pub(crate) struct LifetimeMismatchOpaqueParam<'tcx> { type CaptureReasonLabel (line 359) | pub(crate) enum CaptureReasonLabel<'a> { type CaptureReasonNote (line 478) | pub(crate) enum CaptureReasonNote { type CaptureReasonSuggest (line 504) | pub(crate) enum CaptureReasonSuggest<'tcx> { type CaptureArgLabel (line 529) | pub(crate) enum CaptureArgLabel { type OnClosureNote (line 550) | pub(crate) enum OnClosureNote<'a> { type TypeNoCopy (line 570) | pub(crate) enum TypeNoCopy<'a, 'tcx> { type SimdIntrinsicArgConst (line 612) | pub(crate) struct SimdIntrinsicArgConst { type TailExprDropOrder (line 619) | pub(crate) struct TailExprDropOrder)> { function into_diag (line 625) | fn into_diag(self, dcx: DiagCtxtHandle<'a>, level: Level) -> Diag<'a, ()> { FILE: compiler/rustc_borrowck/src/type_check/canonical.rs function fully_perform_op_raw (line 24) | pub(crate) fn fully_perform_op_raw<'tcx, R: fmt::Debug, Op>( function fully_perform_op (line 93) | pub(super) fn fully_perform_op( function instantiate_canonical (line 116) | pub(super) fn instantiate_canonical( function prove_trait_ref (line 129) | pub(super) fn prove_trait_ref( function normalize_and_prove_instantiated_predicates (line 145) | pub(super) fn normalize_and_prove_instantiated_predicates( function prove_predicates (line 161) | pub(super) fn prove_predicates( function prove_predicate (line 173) | pub(super) fn prove_predicate( function normalize (line 188) | pub(super) fn normalize(&mut self, value: T, location: impl Normalize... function deeply_normalize (line 195) | pub(super) fn deeply_normalize(&mut self, value: T, location: impl No... function normalize_with_category (line 208) | pub(super) fn normalize_with_category( function struct_tail (line 227) | pub(super) fn struct_tail( function structurally_resolve (line 278) | pub(super) fn structurally_resolve( function ascribe_user_type (line 312) | pub(super) fn ascribe_user_type( function ascribe_user_type_skip_wf (line 331) | pub(super) fn ascribe_user_type_skip_wf( FILE: compiler/rustc_borrowck/src/type_check/constraint_conversion.rs type ConstraintConversion (line 25) | pub(crate) struct ConstraintConversion<'a, 'tcx> { function new (line 48) | pub(crate) fn new( function convert_all (line 72) | pub(super) fn convert_all(&mut self, query_constraints: &QueryRegionCons... function apply_closure_requirements (line 86) | pub(crate) fn apply_closure_requirements( function convert (line 126) | fn convert( function replace_placeholders_with_nll (line 223) | fn replace_placeholders_with_nll>>(&mut sel... function verify_to_type_test (line 236) | fn verify_to_type_test( function to_region_vid (line 246) | fn to_region_vid(&mut self, r: ty::Region<'tcx>) -> ty::RegionVid { function add_outlives (line 254) | fn add_outlives( function add_type_test (line 275) | fn add_type_test(&mut self, type_test: TypeTest<'tcx>) { function normalize_and_add_type_outlives_constraints (line 280) | fn normalize_and_add_type_outlives_constraints( function push_sub_region_constraint (line 306) | fn push_sub_region_constraint( function push_verify (line 318) | fn push_verify( FILE: compiler/rustc_borrowck/src/type_check/free_region_relations.rs type UniversalRegionRelations (line 23) | pub(crate) struct UniversalRegionRelations<'tcx> { type NormalizedInputsAndOutput (line 42) | type NormalizedInputsAndOutput<'tcx> = Vec>; type CreateResult (line 44) | pub(crate) struct CreateResult<'tcx> { function create (line 51) | pub(crate) fn create<'tcx>( function postdom_upper_bound (line 73) | pub(crate) fn postdom_upper_bound(&self, fr1: RegionVid, fr2: RegionVid)... function non_local_upper_bounds (line 86) | pub(crate) fn non_local_upper_bounds(&self, fr: RegionVid) -> Vec Vec bool { function equal (line 145) | pub(crate) fn equal(&self, fr1: RegionVid, fr2: RegionVid) -> bool { function regions_outlived_by (line 151) | pub(crate) fn regions_outlived_by(&self, fr1: RegionVid) -> Vec impl Iterator { function relate_universal_regions (line 175) | fn relate_universal_regions(&mut self, fr_a: RegionVid, fr_b: RegionVid) { function create (line 182) | pub(crate) fn create(mut self) -> CreateResult<'tcx> { function normalize_and_push_type_outlives_obligation (line 344) | fn normalize_and_push_type_outlives_obligation( function add_implied_bounds (line 377) | fn add_implied_bounds( function add_outlives_bounds (line 400) | fn add_outlives_bounds(&mut self, outlives_bounds: I) FILE: compiler/rustc_borrowck/src/type_check/input_output.rs function check_signature_annotation (line 28) | pub(super) fn check_signature_annotation(&mut self) { function equate_inputs_and_outputs (line 156) | pub(super) fn equate_inputs_and_outputs(&mut self, normalized_inputs_and... function equate_normalized_input_or_output (line 209) | fn equate_normalized_input_or_output(&mut self, a: Ty<'tcx>, b: Ty<'tcx>... FILE: compiler/rustc_borrowck/src/type_check/liveness/local_use_map.rs type LocalUseMap (line 20) | pub(crate) struct LocalUseMap { method build (line 83) | pub(crate) fn build( method defs (line 110) | pub(crate) fn defs(&self, local: Local) -> impl Iterator impl Iterator impl Iterator; type Appearance (line 45) | struct Appearance { function appearances_iter (line 54) | fn appearances_iter( type AppearancesIter (line 62) | struct AppearancesIter<'a> { type Item (line 68) | type Item = AppearanceIndex; method next (line 70) | fn next(&mut self) -> Option { type LocalUseMapBuild (line 126) | struct LocalUseMapBuild<'me> { function visit_local (line 141) | fn visit_local(&mut self, local: Local, context: PlaceContext, location:... FILE: compiler/rustc_borrowck/src/type_check/liveness/mod.rs function generate (line 29) | pub(super) fn generate<'tcx>( function compute_relevant_live_locals (line 76) | fn compute_relevant_live_locals<'tcx>( function regions_that_outlive_free_regions (line 101) | fn regions_that_outlive_free_regions<'tcx>( function record_regular_live_regions (line 139) | fn record_regular_live_regions<'tcx>( type LiveVariablesVisitor (line 154) | struct LiveVariablesVisitor<'a, 'tcx> { function visit_args (line 164) | fn visit_args(&mut self, args: &GenericArgsRef<'tcx>, location: Location) { function visit_region (line 171) | fn visit_region(&mut self, region: Region<'tcx>, location: Location) { function visit_ty (line 178) | fn visit_ty(&mut self, ty: Ty<'tcx>, ty_context: TyContext) { function record_regions_live_at (line 199) | fn record_regions_live_at(&mut self, value: T, location: Location) FILE: compiler/rustc_borrowck/src/type_check/liveness/trace.rs function trace (line 40) | pub(super) fn trace<'tcx>( type LivenessContext (line 67) | struct LivenessContext<'a, 'typeck, 'tcx> { type DropData (line 91) | struct DropData<'tcx> { type LivenessResults (line 96) | struct LivenessResults<'a, 'typeck, 'tcx> { function new (line 119) | fn new(cx: LivenessContext<'a, 'typeck, 'tcx>) -> Self { function compute_for_all_locals (line 131) | fn compute_for_all_locals(&mut self, relevant_live_locals: Vec) { function dropck_boring_locals (line 161) | fn dropck_boring_locals(&mut self, boring_locals: Vec) { function add_extra_drop_facts (line 182) | fn add_extra_drop_facts(&mut self, relevant_live_locals: &[Local]) { function reset_local_state (line 219) | fn reset_local_state(&mut self) { function add_defs_for (line 228) | fn add_defs_for(&mut self, local: Local) { function compute_use_live_points_for (line 241) | fn compute_use_live_points_for(&mut self, local: Local) { function compute_drop_live_points_for (line 295) | fn compute_drop_live_points_for(&mut self, local: Local) { function compute_drop_live_points_for_block (line 335) | fn compute_drop_live_points_for_block(&mut self, mpi: MovePathIndex, ter... function flow_inits (line 471) | fn flow_inits(&mut self) -> &mut ResultsCursor<'a, 'tcx, MaybeInitialize... function body (line 496) | fn body(&self) -> &Body<'tcx> { function initialized_at_curr_loc (line 503) | fn initialized_at_curr_loc(&mut self, mpi: MovePathIndex) -> bool { function initialized_at_terminator (line 518) | fn initialized_at_terminator(&mut self, block: BasicBlock, mpi: MovePath... function initialized_at_exit (line 529) | fn initialized_at_exit(&mut self, block: BasicBlock, mpi: MovePathIndex)... function add_use_live_facts_for (line 537) | fn add_use_live_facts_for(&mut self, value: Ty<'tcx>, live_at: &Interval... function add_drop_live_facts_for (line 547) | fn add_drop_live_facts_for( function make_all_regions_live (line 602) | fn make_all_regions_live( function compute_drop_data (line 634) | fn compute_drop_data( FILE: compiler/rustc_borrowck/src/type_check/mod.rs function type_check (line 97) | pub(crate) fn type_check<'tcx>( function mirbug (line 197) | fn mirbug(tcx: TyCtxt<'_>, span: Span, msg: String) { type FieldAccessError (line 204) | enum FieldAccessError { type TypeChecker (line 212) | struct TypeChecker<'a, 'tcx> { type MirTypeckResults (line 238) | pub(crate) struct MirTypeckResults<'tcx> { type MirTypeckRegionConstraints (line 250) | pub(crate) struct MirTypeckRegionConstraints<'tcx> { function placeholder_region (line 284) | pub(crate) fn placeholder_region( type Locations (line 307) | pub enum Locations { method from_location (line 352) | pub fn from_location(&self) -> Option { method span (line 360) | pub fn span(&self, body: &Body<'_>) -> Span { function tcx (line 369) | fn tcx(&self) -> TyCtxt<'tcx> { function body (line 373) | fn body(&self) -> &Body<'tcx> { function check_user_type_annotations (line 379) | fn check_user_type_annotations(&mut self) { function push_region_constraints (line 389) | fn push_region_constraints( function sub_types (line 411) | fn sub_types( function eq_types (line 424) | fn eq_types( function relate_type_and_user_type (line 435) | fn relate_type_and_user_type( function check_promoted (line 478) | fn check_promoted(&mut self, promoted_body: &'a Body<'tcx>, location: Lo... function visit_span (line 549) | fn visit_span(&mut self, span: Span) { function visit_body (line 557) | fn visit_body(&mut self, body: &Body<'tcx>) { function visit_statement (line 577) | fn visit_statement(&mut self, stmt: &Statement<'tcx>, location: Location) { function visit_terminator (line 711) | fn visit_terminator(&mut self, term: &Terminator<'tcx>, term_location: L... function visit_local_decl (line 897) | fn visit_local_decl(&mut self, local: Local, local_decl: &LocalDecl<'tcx... function visit_rvalue (line 959) | fn visit_rvalue(&mut self, rvalue: &Rvalue<'tcx>, location: Location) { function visit_operand (line 1663) | fn visit_operand(&mut self, op: &Operand<'tcx>, location: Location) { function visit_const_operand (line 1690) | fn visit_const_operand(&mut self, constant: &ConstOperand<'tcx>, locatio... function visit_place (line 1804) | fn visit_place(&mut self, place: &Place<'tcx>, context: PlaceContext, lo... function visit_projection_elem (line 1830) | fn visit_projection_elem( function check_call_dest (line 1897) | fn check_call_dest( function check_call_inputs (line 1962) | fn check_call_inputs( function check_iscleanup (line 2025) | fn check_iscleanup(&mut self, block_data: &BasicBlockData<'tcx>) { function assert_iscleanup (line 2105) | fn assert_iscleanup(&mut self, ctxt: &dyn fmt::Debug, bb: BasicBlock, is... function assert_iscleanup_unwind (line 2111) | fn assert_iscleanup_unwind( function ensure_place_sized (line 2133) | fn ensure_place_sized(&mut self, ty: Ty<'tcx>, span: Span) { function aggregate_field_ty (line 2155) | fn aggregate_field_ty( function rvalue_user_ty (line 2211) | fn rvalue_user_ty(&self, rvalue: &Rvalue<'tcx>) -> Option Locations; method to_locations (line 2530) | fn to_locations(self) -> Locations { method to_locations (line 2536) | fn to_locations(self) -> Locations { type InstantiateOpaqueType (line 2545) | pub(super) struct InstantiateOpaqueType<'tcx> { type Output (line 2552) | type Output = (); type ErrorInfo (line 2558) | type ErrorInfo = InstantiateOpaqueType<'tcx>; function fully_perform (line 2560) | fn fully_perform( FILE: compiler/rustc_borrowck/src/type_check/relate_tys.rs function relate_types (line 35) | pub(super) fn relate_types( function eq_args (line 49) | pub(super) fn eq_args( type NllTypeRelating (line 62) | struct NllTypeRelating<'a, 'b, 'tcx> { function new (line 87) | fn new( function ambient_covariance (line 104) | fn ambient_covariance(&self) -> bool { function ambient_contravariance (line 111) | fn ambient_contravariance(&self) -> bool { function relate_opaques (line 118) | fn relate_opaques(&mut self, a: Ty<'tcx>, b: Ty<'tcx>) -> RelateResult<'... function enter_forall (line 163) | fn enter_forall( function instantiate_binder_with_existentials (line 210) | fn instantiate_binder_with_existentials(&mut self, binder: ty::Binder... function create_next_universe (line 247) | fn create_next_universe(&mut self) -> ty::UniverseIndex { function next_existential_region_var (line 254) | fn next_existential_region_var(&mut self, name: Option) -> ty::R... function next_placeholder_region (line 260) | fn next_placeholder_region( function push_outlives (line 286) | fn push_outlives( function cx (line 307) | fn cx(&self) -> TyCtxt<'tcx> { function relate_ty_args (line 311) | fn relate_ty_args( function relate_with_variance (line 341) | fn relate_with_variance>>( function tys (line 362) | fn tys(&mut self, a: Ty<'tcx>, b: Ty<'tcx>) -> RelateResult<'tcx, Ty<'tc... function regions (line 419) | fn regions( function consts (line 439) | fn consts( function binders (line 452) | fn binders( function span (line 547) | fn span(&self) -> Span { function structurally_relate_aliases (line 551) | fn structurally_relate_aliases(&self) -> StructurallyRelateAliases { function param_env (line 555) | fn param_env(&self) -> ty::ParamEnv<'tcx> { function register_predicates (line 559) | fn register_predicates( function register_goals (line 570) | fn register_goals( function register_alias_relate_predicate (line 596) | fn register_alias_relate_predicate(&mut self, a: Ty<'tcx>, b: Ty<'tcx>) { FILE: compiler/rustc_borrowck/src/universal_regions.rs type UniversalRegions (line 40) | pub(crate) struct UniversalRegions<'tcx> { type DefiningTy (line 96) | pub(crate) enum DefiningTy<'tcx> { function upvar_tys (line 137) | pub(crate) fn upvar_tys(self) -> &'tcx ty::List> { function implicit_inputs (line 152) | pub(crate) fn implicit_inputs(self) -> usize { function is_fn_def (line 164) | pub(crate) fn is_fn_def(&self) -> bool { function is_const (line 168) | pub(crate) fn is_const(&self) -> bool { function def_id (line 172) | pub(crate) fn def_id(&self) -> DefId { function args (line 186) | pub(crate) fn args(&self) -> ty::GenericArgsRef<'tcx> { type UniversalRegionIndices (line 201) | struct UniversalRegionIndices<'tcx> { type RegionClassification (line 222) | pub(crate) enum RegionClassification { constant FIRST_GLOBAL_INDEX (line 264) | const FIRST_GLOBAL_INDEX: usize = 0; function new (line 271) | pub(crate) fn new(infcx: &BorrowckInferCtxt<'tcx>, mir_def: LocalDefId) ... function closure_mapping (line 284) | pub(crate) fn closure_mapping( function is_universal_region (line 310) | pub(crate) fn is_universal_region(&self, r: RegionVid) -> bool { function region_classification (line 316) | pub(crate) fn region_classification(&self, r: RegionVid) -> Option impl Iterator bool { function len (line 341) | pub(crate) fn len(&self) -> usize { function num_global_and_external_regions (line 350) | pub(crate) fn num_global_and_external_regions(&self) -> usize { function named_universal_regions_iter (line 355) | pub(crate) fn named_universal_regions_iter( function to_region_vid (line 362) | pub(crate) fn to_region_vid(&self, r: ty::Region<'tcx>) -> RegionVid { function annotate (line 372) | pub(crate) fn annotate(&self, tcx: TyCtxt<'tcx>, err: &mut Diag<'_, ()>) { function implicit_region_bound (line 438) | pub(crate) fn implicit_region_bound(&self) -> RegionVid { function encountered_re_error (line 442) | pub(crate) fn encountered_re_error(&self) -> Option { type UniversalRegionsBuilder (line 447) | struct UniversalRegionsBuilder<'infcx, 'tcx> { function build (line 453) | fn build(self) -> UniversalRegions<'tcx> { function defining_ty (line 582) | fn defining_ty(&self) -> DefiningTy<'tcx> { function compute_indices (line 655) | fn compute_indices( function compute_inputs_and_output (line 679) | fn compute_inputs_and_output( function replace_free_regions_with_nll_infer_vars (line 854) | fn replace_free_regions_with_nll_infer_vars( function replace_bound_regions_with_nll_infer_vars (line 871) | fn replace_bound_regions_with_nll_infer_vars( function insert_late_bound_region (line 897) | fn insert_late_bound_region(&mut self, r: ty::Region<'tcx>, vid: ty::Reg... function to_region_vid (line 914) | fn to_region_vid(&self, r: ty::Region<'tcx>) -> RegionVid { function fold_to_region_vids (line 933) | fn fold_to_region_vids(&self, tcx: TyCtxt<'tcx>, value: T) -> T function for_each_late_bound_region_in_recursive_scope (line 944) | fn for_each_late_bound_region_in_recursive_scope<'tcx>( function for_each_late_bound_region_in_item (line 964) | fn for_each_late_bound_region_in_item<'tcx>( FILE: compiler/rustc_borrowck/src/used_muts.rs function gather_used_muts (line 26) | pub(crate) fn gather_used_muts( type GatherUsedMutsVisitor (line 49) | struct GatherUsedMutsVisitor<'a, 'b, 'infcx, 'tcx> { function remove_never_initialized_mut_locals (line 56) | fn remove_never_initialized_mut_locals(&mut self, into: Place<'_>) { function visit_terminator (line 68) | fn visit_terminator(&mut self, terminator: &Terminator<'tcx>, location: ... function visit_statement (line 80) | fn visit_statement(&mut self, statement: &Statement<'tcx>, location: Loc... function visit_local (line 93) | fn visit_local(&mut self, local: Local, place_context: PlaceContext, loc... FILE: compiler/rustc_builtin_macros/src/alloc_error_handler.rs function expand (line 12) | pub(crate) fn expand( function generate_handler (line 62) | fn generate_handler(cx: &ExtCtxt<'_>, handler: Ident, span: Span, sig_sp... FILE: compiler/rustc_builtin_macros/src/asm.rs type ValidatedAsmArgs (line 19) | struct ValidatedAsmArgs { function parse_args (line 29) | fn parse_args<'a>( function validate_asm_args (line 39) | fn validate_asm_args<'a>( function expand_preparsed_asm (line 265) | fn expand_preparsed_asm( function expand_asm (line 582) | pub(super) fn expand_asm<'cx>( function expand_naked_asm (line 611) | pub(super) fn expand_naked_asm<'cx>( function expand_global_asm (line 641) | pub(super) fn expand_global_asm<'cx>( FILE: compiler/rustc_builtin_macros/src/assert.rs function expand_assert (line 17) | pub(crate) fn expand_assert<'cx>( type Assert (line 97) | struct Assert { function expr_if_not (line 103) | fn expr_if_not( function parse_assert (line 113) | fn parse_assert<'a>(cx: &ExtCtxt<'a>, sp: Span, stream: TokenStream) -> ... function parse_custom_message (line 159) | fn parse_custom_message(parser: &mut Parser<'_>) -> Option { FILE: compiler/rustc_builtin_macros/src/assert/context.rs type Context (line 13) | pub(super) struct Context<'cx, 'a> { function new (line 40) | pub(super) fn new(cx: &'cx ExtCtxt<'a>, span: Span) -> Self { function build (line 72) | pub(super) fn build(mut self, mut cond_expr: Box, panic_path: Path... function build_initial_imports (line 99) | fn build_initial_imports(&self) -> Stmt { function build_unlikely (line 131) | fn build_unlikely(&self, cond_expr: Box) -> Box { function build_panic (line 147) | fn build_panic(&self, expr_str: &str, panic_path: Path) -> Box { function manage_cond_expr (line 192) | fn manage_cond_expr(&mut self, expr: &mut Box) { function manage_initial_capture (line 333) | fn manage_initial_capture(&mut self, expr: &mut Box, path_ident: I... function manage_try_capture (line 362) | fn manage_try_capture( function with_is_consumed_management (line 414) | fn with_is_consumed_management(&mut self, curr_is_consumed: bool, f: imp... type Capture (line 424) | struct Capture { function escape_to_fmt (line 436) | fn escape_to_fmt(s: &str) -> String { function expr_addr_of_mut (line 448) | fn expr_addr_of_mut(cx: &ExtCtxt<'_>, sp: Span, e: Box) -> Box, sp: Span, e: Box) -> Box { FILE: compiler/rustc_builtin_macros/src/autodiff.rs function outer_normal_attr (line 29) | pub(crate) fn outer_normal_attr( function has_ret (line 41) | fn has_ret(ty: &FnRetTy) -> bool { function first_ident (line 47) | fn first_ident(x: &MetaItemInner) -> rustc_span::Ident { function name (line 63) | fn name(x: &MetaItemInner) -> String { function width (line 67) | fn width(x: &MetaItemInner) -> Option { function extract_item_info (line 76) | fn extract_item_info(iitem: &Box) -> Option<(Visibility, FnSi... function from_ast (line 85) | pub(crate) fn from_ast( function meta_item_inner_to_ts (line 156) | fn meta_item_inner_to_ts(t: &MetaItemInner, ts: &mut Vec) { function expand_forward (line 164) | pub(crate) fn expand_forward( function expand_reverse (line 173) | pub(crate) fn expand_reverse( function expand_with_mode (line 205) | pub(crate) fn expand_with_mode( function assure_mut_ref (line 484) | fn assure_mut_ref(ty: &ast::Ty) -> ast::Ty { function call_autodiff (line 504) | fn call_autodiff( function gen_turbofish_expr (line 588) | fn gen_turbofish_expr( function gen_enzyme_decl (line 650) | fn gen_enzyme_decl( FILE: compiler/rustc_builtin_macros/src/cfg.rs function expand_cfg (line 20) | pub(crate) fn expand_cfg( function parse_cfg (line 37) | fn parse_cfg(cx: &ExtCtxt<'_>, span: Span, tts: TokenStream) -> Result(ecx: &ExtCtxt<'_>, mi: &'a ast::MetaItem) -> Optio... method expand (line 39) | fn expand( FILE: compiler/rustc_builtin_macros/src/cfg_eval.rs function expand (line 20) | pub(crate) fn expand( function cfg_eval (line 31) | pub(crate) fn cfg_eval( type CfgEval (line 42) | struct CfgEval<'a>(StripUnconfigured<'a>); function has_cfg_or_cfg_attr (line 44) | fn has_cfg_or_cfg_attr(annotatable: &Annotatable) -> bool { function configure (line 70) | fn configure(&mut self, node: T) -> Option { function configure_annotatable (line 74) | fn configure_annotatable(mut self, annotatable: Annotatable) -> Annotata... method visit_expr (line 155) | fn visit_expr(&mut self, expr: &mut ast::Expr) { method visit_method_receiver_expr (line 161) | fn visit_method_receiver_expr(&mut self, expr: &mut ast::Expr) { method filter_map_expr (line 166) | fn filter_map_expr(&mut self, expr: Box) -> Option SmallVec<[ast::Stmt; 1]> { method flat_map_item (line 185) | fn flat_map_item(&mut self, item: Box) -> SmallVec<[Box SmallVec<[ast::Arm; 1]> { method flat_map_expr_field (line 212) | fn flat_map_expr_field(&mut self, field: ast::ExprField) -> SmallVec<[as... method flat_map_pat_field (line 217) | fn flat_map_pat_field(&mut self, fp: ast::PatField) -> SmallVec<[ast::Pa... method flat_map_param (line 222) | fn flat_map_param(&mut self, p: ast::Param) -> SmallVec<[ast::Param; 1]> { method flat_map_field_def (line 227) | fn flat_map_field_def(&mut self, sf: ast::FieldDef) -> SmallVec<[ast::Fi... method flat_map_variant (line 232) | fn flat_map_variant(&mut self, variant: ast::Variant) -> SmallVec<[ast::... FILE: compiler/rustc_builtin_macros/src/cfg_select.rs type CfgSelectResult (line 14) | struct CfgSelectResult<'cx, 'sess> { function tts_to_mac_result (line 22) | fn tts_to_mac_result<'cx, 'sess>( function expand_cfg_select (line 63) | pub(super) fn expand_cfg_select<'cx>( FILE: compiler/rustc_builtin_macros/src/cmdline_attrs.rs function inject (line 10) | pub fn inject(krate: &mut ast::Crate, psess: &ParseSess, attrs: &[String... FILE: compiler/rustc_builtin_macros/src/compile_error.rs function expand_compile_error (line 9) | pub(crate) fn expand_compile_error<'cx>( FILE: compiler/rustc_builtin_macros/src/concat.rs function expand_concat (line 10) | pub(crate) fn expand_concat( FILE: compiler/rustc_builtin_macros/src/concat_bytes.rs function invalid_type_err (line 11) | fn invalid_type_err( function handle_array_element (line 88) | fn handle_array_element( function expand_concat_bytes (line 132) | pub(crate) fn expand_concat_bytes( FILE: compiler/rustc_builtin_macros/src/contracts.rs type ExpandRequires (line 8) | pub(crate) struct ExpandRequires; type ExpandEnsures (line 10) | pub(crate) struct ExpandEnsures; method expand (line 13) | fn expand<'cx>( method expand (line 25) | fn expand<'cx>( function expand_contract_clause (line 47) | fn expand_contract_clause( function expand_contract_clause_tts (line 133) | fn expand_contract_clause_tts( FILE: compiler/rustc_builtin_macros/src/define_opaque.rs function expand (line 5) | pub(crate) fn expand( FILE: compiler/rustc_builtin_macros/src/derive.rs type Expander (line 14) | pub(crate) struct Expander { method expand (line 19) | fn expand( function dummy_annotatable (line 105) | fn dummy_annotatable() -> Annotatable { function report_bad_target (line 117) | fn report_bad_target( function report_unexpected_meta_item_lit (line 139) | fn report_unexpected_meta_item_lit(sess: &Session, lit: &ast::MetaItemLi... function report_path_args (line 151) | fn report_path_args(sess: &Session, meta: &ast::MetaItem) { FILE: compiler/rustc_builtin_macros/src/deriving/bounds.rs function expand_deriving_copy (line 8) | pub(crate) fn expand_deriving_copy( function expand_deriving_const_param_ty (line 34) | pub(crate) fn expand_deriving_const_param_ty( FILE: compiler/rustc_builtin_macros/src/deriving/clone.rs function expand_deriving_clone (line 11) | pub(crate) fn expand_deriving_clone( function cs_clone_simple (line 121) | fn cs_clone_simple( function cs_clone (line 184) | fn cs_clone( FILE: compiler/rustc_builtin_macros/src/deriving/cmp/eq.rs function expand_deriving_eq (line 11) | pub(crate) fn expand_deriving_eq( function cs_total_eq_assert (line 55) | fn cs_total_eq_assert( FILE: compiler/rustc_builtin_macros/src/deriving/cmp/ord.rs function expand_deriving_ord (line 10) | pub(crate) fn expand_deriving_ord( function cs_cmp (line 45) | pub(crate) fn cs_cmp(cx: &ExtCtxt<'_>, span: Span, substr: &Substructure... FILE: compiler/rustc_builtin_macros/src/deriving/cmp/partial_eq.rs function expand_deriving_partial_eq (line 12) | pub(crate) fn expand_deriving_partial_eq( function get_substructure_equality_expr (line 121) | fn get_substructure_equality_expr( function get_field_equality_expr (line 186) | fn get_field_equality_expr(cx: &ExtCtxt<'_>, field: &FieldInfo) -> Box) -> Box { function wrap_block_expr (line 216) | fn wrap_block_expr(cx: &ExtCtxt<'_>, expr: Box) -> Box { FILE: compiler/rustc_builtin_macros/src/deriving/cmp/partial_ord.rs function expand_deriving_partial_ord (line 10) | pub(crate) fn expand_deriving_partial_ord( function cs_partial_cmp (line 74) | fn cs_partial_cmp( FILE: compiler/rustc_builtin_macros/src/deriving/coerce_pointee.rs function expand_deriving_coerce_pointee (line 21) | pub(crate) fn expand_deriving_coerce_pointee( function contains_maybe_sized_bound_on_pointee (line 328) | fn contains_maybe_sized_bound_on_pointee(predicates: &[WherePredicate], ... function is_maybe_sized_bound (line 343) | fn is_maybe_sized_bound(bound: &GenericBound) -> bool { function contains_maybe_sized_bound (line 355) | fn contains_maybe_sized_bound(bounds: &[GenericBound]) -> bool { function is_sized_marker (line 359) | fn is_sized_marker(path: &ast::Path) -> bool { type TypeSubstitution (line 370) | struct TypeSubstitution<'a> { function visit_ty (line 377) | fn visit_ty(&mut self, ty: &mut ast::Ty) { function visit_where_predicate_kind (line 388) | fn visit_where_predicate_kind(&mut self, kind: &mut ast::WherePredicateK... type DetectNonGenericPointeeAttr (line 405) | struct DetectNonGenericPointeeAttr<'a, 'b> { function visit_attribute (line 410) | fn visit_attribute(&mut self, attr: &'a rustc_ast::Attribute) -> Self::R... function visit_generic_param (line 416) | fn visit_generic_param(&mut self, param: &'a rustc_ast::GenericParam) ->... function visit_ty (line 447) | fn visit_ty(&mut self, t: &'a rustc_ast::Ty) -> Self::Result { type AlwaysErrorOnGenericParam (line 453) | struct AlwaysErrorOnGenericParam<'a, 'b> { function visit_attribute (line 458) | fn visit_attribute(&mut self, attr: &'a rustc_ast::Attribute) -> Self::R... type RequireTransparent (line 467) | struct RequireTransparent { type RequireOneField (line 474) | struct RequireOneField { type RequireOneGeneric (line 481) | struct RequireOneGeneric { type RequireOnePointee (line 488) | struct RequireOnePointee { type TooManyPointees (line 495) | struct TooManyPointees { type RequiresMaybeSized (line 504) | struct RequiresMaybeSized { FILE: compiler/rustc_builtin_macros/src/deriving/debug.rs function expand_deriving_debug (line 11) | pub(crate) fn expand_deriving_debug( function show_substructure (line 51) | fn show_substructure(cx: &ExtCtxt<'_>, span: Span, substr: &Substructure... function show_fieldless_enum (line 226) | fn show_fieldless_enum( FILE: compiler/rustc_builtin_macros/src/deriving/default.rs function expand_deriving_default (line 14) | pub(crate) fn expand_deriving_default( function default_call (line 60) | fn default_call(cx: &ExtCtxt<'_>, span: Span) -> Box { function default_struct_substructure (line 66) | fn default_struct_substructure( function default_enum_substructure (line 99) | fn default_enum_substructure( function extract_default_variant (line 158) | fn extract_default_variant<'a>( function validate_default_attribute (line 242) | fn validate_default_attribute( type DetectNonVariantDefaultAttr (line 278) | struct DetectNonVariantDefaultAttr<'a, 'b> { function visit_attribute (line 283) | fn visit_attribute(&mut self, attr: &'a rustc_ast::Attribute) { function visit_variant (line 295) | fn visit_variant(&mut self, v: &'a rustc_ast::Variant) { function has_a_default_variant (line 306) | fn has_a_default_variant(item: &Annotatable) -> bool { FILE: compiler/rustc_builtin_macros/src/deriving/from.rs function expand_deriving_from (line 18) | pub(crate) fn expand_deriving_from( FILE: compiler/rustc_builtin_macros/src/deriving/generic/mod.rs type TraitDef (line 201) | pub(crate) struct TraitDef<'a> { type MethodDef (line 236) | pub(crate) struct MethodDef<'a> { type FieldlessVariantsStrategy (line 260) | pub(crate) enum FieldlessVariantsStrategy { type Substructure (line 275) | pub(crate) struct Substructure<'a> { type FieldInfo (line 285) | pub(crate) struct FieldInfo { type IsTuple (line 300) | pub(crate) enum IsTuple { type StaticFields (line 306) | pub(crate) enum StaticFields<'a> { type SubstructureFields (line 314) | pub(crate) enum SubstructureFields<'a> { type CombineSubstructureFunc (line 342) | pub(crate) type CombineSubstructureFunc<'a> = function combine_substructure (line 345) | pub(crate) fn combine_substructure( type TypeParameter (line 351) | struct TypeParameter { type BlockOrExpr (line 362) | pub(crate) struct BlockOrExpr(ThinVec, Option>); method new_stmts (line 365) | pub(crate) fn new_stmts(stmts: ThinVec) -> BlockOrExpr { method new_expr (line 369) | pub(crate) fn new_expr(expr: Box) -> BlockOrExpr { method new_mixed (line 373) | pub(crate) fn new_mixed(stmts: ThinVec, expr: Option, span: Span) -> Box, span: Span) -> Box { function find_type_parameters (line 409) | fn find_type_parameters( function expand (line 475) | pub(crate) fn expand( function expand_ext (line 485) | pub(crate) fn expand_ext( function create_derived_impl (line 593) | fn create_derived_impl( function expand_struct_def (line 863) | fn expand_struct_def( function expand_enum_def (line 916) | fn expand_enum_def( function call_substructure_method (line 976) | fn call_substructure_method( function is_static (line 991) | fn is_static(&self) -> bool { function extract_arg_details (line 1002) | fn extract_arg_details( function create_method (line 1039) | fn create_method( function expand_struct_method_body (line 1137) | fn expand_struct_method_body<'b>( function expand_static_struct_method_body (line 1160) | fn expand_static_struct_method_body( function expand_enum_method_body (line 1214) | fn expand_enum_method_body<'b>( function expand_static_enum_method_body (line 1463) | fn expand_static_enum_method_body( function summarise_struct (line 1483) | fn summarise_struct(&self, cx: &ExtCtxt<'_>, struct_def: &'a VariantData... function create_struct_patterns (line 1511) | fn create_struct_patterns( function create_fields (line 1571) | fn create_fields(&self, struct_def: &'a VariantData, mk_exprs: F) -> ... function mk_pattern_ident (line 1597) | fn mk_pattern_ident(&self, prefix: &str, i: usize) -> Ident { function create_struct_pattern_fields (line 1601) | fn create_struct_pattern_fields( function create_struct_field_access_fields (line 1618) | fn create_struct_field_access_fields( type CsFold (line 1659) | pub(crate) enum CsFold<'a> { function cs_fold (line 1674) | pub(crate) fn cs_fold( FILE: compiler/rustc_builtin_macros/src/deriving/generic/ty.rs type Path (line 13) | pub(crate) struct Path { method new (line 26) | pub(crate) fn new(path: Vec) -> Path { method new_local (line 29) | pub(crate) fn new_local(path: Symbol) -> Path { method new_ (line 32) | pub(crate) fn new_(path: Vec, params: Vec>, kind: Path... method to_ty (line 36) | pub(crate) fn to_ty( method to_path (line 45) | pub(crate) fn to_path( type PathKind (line 20) | pub(crate) enum PathKind { type Ty (line 69) | pub(crate) enum Ty { method to_ty (line 87) | pub(crate) fn to_ty( method to_path (line 109) | pub(crate) fn to_path( function self_ref (line 82) | pub(crate) fn self_ref() -> Ty { function mk_ty_param (line 147) | fn mk_ty_param( type Bounds (line 167) | pub(crate) struct Bounds { method empty (line 172) | pub(crate) fn empty() -> Bounds { method to_generics (line 175) | pub(crate) fn to_generics( function get_explicit_self (line 200) | pub(crate) fn get_explicit_self(cx: &ExtCtxt<'_>, span: Span) -> (Box, trait_span: Span, substr: &Substr... FILE: compiler/rustc_builtin_macros/src/edition_panic.rs function expand_panic (line 17) | pub(crate) fn expand_panic<'cx>( function expand_unreachable (line 30) | pub(crate) fn expand_unreachable<'cx>( function expand (line 39) | fn expand<'cx>( function use_panic_2021 (line 70) | pub(crate) fn use_panic_2021(mut span: Span) -> bool { FILE: compiler/rustc_builtin_macros/src/eii.rs function eii (line 36) | pub(crate) fn eii( function unsafe_eii (line 45) | pub(crate) fn unsafe_eii( function eii_ (line 54) | fn eii_( function name_for_impl_macro (line 149) | fn name_for_impl_macro( function filter_attrs_for_multiple_eii_attr (line 170) | fn filter_attrs_for_multiple_eii_attr( function generate_default_impl (line 193) | fn generate_default_impl( function generate_foreign_item (line 256) | fn generate_foreign_item( function generate_attribute_macro_to_implement (line 324) | fn generate_attribute_macro_to_implement( function eii_declaration (line 387) | pub(crate) fn eii_declaration( function eii_shared_macro (line 443) | pub(crate) fn eii_shared_macro( FILE: compiler/rustc_builtin_macros/src/env.rs function lookup_env (line 20) | fn lookup_env<'cx>(cx: &'cx ExtCtxt<'_>, var: Symbol) -> Result( function expand_env (line 90) | pub(crate) fn expand_env<'cx>( function is_cargo_env_var (line 184) | fn is_cargo_env_var(var: &str) -> bool { constant KNOWN_CARGO_VARS (line 190) | const KNOWN_CARGO_VARS: &[&str] = &[ function find_similar_cargo_var (line 217) | fn find_similar_cargo_var(var: &str) -> Option<&'static str> { FILE: compiler/rustc_builtin_macros/src/errors.rs type AvoidIntelSyntax (line 12) | pub(crate) struct AvoidIntelSyntax; type AvoidAttSyntax (line 16) | pub(crate) struct AvoidAttSyntax; type IncompleteInclude (line 20) | pub(crate) struct IncompleteInclude; type UnnameableTestItems (line 24) | pub(crate) struct UnnameableTestItems; type DuplicateMacroAttribute (line 28) | pub(crate) struct DuplicateMacroAttribute; type RequiresCfgPattern (line 32) | pub(crate) struct RequiresCfgPattern { type OneCfgPattern (line 40) | pub(crate) struct OneCfgPattern { type AllocErrorMustBeFn (line 47) | pub(crate) struct AllocErrorMustBeFn { type AssertRequiresBoolean (line 54) | pub(crate) struct AssertRequiresBoolean { type AssertRequiresExpression (line 62) | pub(crate) struct AssertRequiresExpression { type AssertMissingComma (line 71) | pub(crate) struct AssertMissingComma { type CfgAccessibleInvalid (line 84) | pub(crate) enum CfgAccessibleInvalid { type CfgAccessibleIndeterminate (line 97) | pub(crate) struct CfgAccessibleIndeterminate { type ConcatMissingLiteral (line 105) | pub(crate) struct ConcatMissingLiteral { type ConcatBytestr (line 112) | pub(crate) struct ConcatBytestr { type ConcatCStrLit (line 119) | pub(crate) struct ConcatCStrLit { type ExportMacroRules (line 126) | pub(crate) struct ExportMacroRules { type ProcMacro (line 135) | pub(crate) struct ProcMacro { type TraceMacros (line 142) | pub(crate) struct TraceMacros { type BenchSig (line 149) | pub(crate) struct BenchSig { type AllocMustStatics (line 156) | pub(crate) struct AllocMustStatics { type AutoDiffMissingConfig (line 167) | pub(crate) struct AutoDiffMissingConfig { type AutoDiffUnknownActivity (line 173) | pub(crate) struct AutoDiffUnknownActivity { type AutoDiffInvalidTypeForActivity (line 180) | pub(crate) struct AutoDiffInvalidTypeForActivity { type AutoDiffInvalidNumberActivities (line 187) | pub(crate) struct AutoDiffInvalidNumberActivities { type AutoDiffInvalidApplicationModeAct (line 195) | pub(crate) struct AutoDiffInvalidApplicationModeAct { type AutoDiffInvalidRetAct (line 204) | pub(crate) struct AutoDiffInvalidRetAct { type AutoDiffInvalidWidth (line 213) | pub(crate) struct AutoDiffInvalidWidth { type AutoDiffInvalidApplication (line 221) | pub(crate) struct AutoDiffInvalidApplication { type ConcatBytesInvalid (line 229) | pub(crate) struct ConcatBytesInvalid { type ConcatBytesInvalidSuggestion (line 240) | pub(crate) enum ConcatBytesInvalidSuggestion { type ConcatBytesOob (line 286) | pub(crate) struct ConcatBytesOob { type ConcatBytesNonU8 (line 293) | pub(crate) struct ConcatBytesNonU8 { type ConcatBytesMissingLiteral (line 303) | pub(crate) struct ConcatBytesMissingLiteral { type ConcatBytesArray (line 310) | pub(crate) struct ConcatBytesArray { type ConcatBytesBadRepeat (line 320) | pub(crate) struct ConcatBytesBadRepeat { type BadDeriveTarget (line 327) | pub(crate) struct BadDeriveTarget { type TestsNotSupport (line 337) | pub(crate) struct TestsNotSupport {} type BadDeriveLit (line 341) | pub(crate) struct BadDeriveLit { type BadDeriveLitHelp (line 350) | pub(crate) enum BadDeriveLitHelp { type DerivePathArgsList (line 359) | pub(crate) struct DerivePathArgsList { type DerivePathArgsValue (line 367) | pub(crate) struct DerivePathArgsValue { type NoDefaultVariant (line 375) | pub(crate) struct NoDefaultVariant { type NoDefaultVariantSugg (line 390) | pub(crate) struct NoDefaultVariantSugg { type MultipleDefaults (line 398) | pub(crate) struct MultipleDefaults { type MultipleDefaultsSugg (line 415) | pub(crate) struct MultipleDefaultsSugg { type NonUnitDefault (line 424) | pub(crate) struct NonUnitDefault { type NonExhaustiveDefault (line 433) | pub(crate) struct NonExhaustiveDefault { type MultipleDefaultAttrs (line 443) | pub(crate) struct MultipleDefaultAttrs { type MultipleDefaultAttrsSugg (line 468) | pub(crate) struct MultipleDefaultAttrsSugg { type DefaultHasArg (line 475) | pub(crate) struct DefaultHasArg { type DeriveFromWrongTarget (line 489) | pub(crate) struct DeriveFromWrongTarget<'a> { type DeriveFromWrongFieldCount (line 503) | pub(crate) struct DeriveFromWrongFieldCount { type DeriveMacroCall (line 511) | pub(crate) struct DeriveMacroCall { type DeriveUnion (line 518) | pub(crate) struct DeriveUnion { type EnvTakesArgs (line 525) | pub(crate) struct EnvTakesArgs { type EnvNotDefinedWithUserMessage (line 530) | pub(crate) struct EnvNotDefinedWithUserMessage { method into_diag (line 538) | fn into_diag(self, dcx: DiagCtxtHandle<'a>, level: Level) -> Diag<'a, ... type EnvNotDefined (line 546) | pub(crate) enum EnvNotDefined<'a> { type EnvNotUnicode (line 578) | pub(crate) struct EnvNotUnicode { type FormatRequiresString (line 586) | pub(crate) struct FormatRequiresString { type FormatDuplicateArg (line 593) | pub(crate) struct FormatDuplicateArg { type PositionalAfterNamed (line 605) | pub(crate) struct PositionalAfterNamed { type InvalidFormatString (line 615) | pub(crate) struct InvalidFormatString { type InvalidFormatStringNote (line 631) | pub(crate) struct InvalidFormatStringNote { type InvalidFormatStringLabel (line 637) | pub(crate) struct InvalidFormatStringLabel { type InvalidFormatStringSuggestion (line 644) | pub(crate) enum InvalidFormatStringSuggestion { type FormatNoArgNamed (line 703) | pub(crate) struct FormatNoArgNamed { type FormatUnknownTrait (line 723) | pub(crate) struct FormatUnknownTrait<'a> { type FormatUnknownTraitSugg (line 738) | pub(crate) struct FormatUnknownTraitSugg { type FormatUnusedArg (line 752) | pub(crate) struct FormatUnusedArg { method add_to_diag (line 767) | fn add_to_diag(self, diag: &mut Diag<'_, G>) { type FormatUnusedArgs (line 784) | pub(crate) struct FormatUnusedArgs { type FormatPositionalMismatch (line 800) | pub(crate) struct FormatPositionalMismatch { type FormatRedundantArgs (line 816) | pub(crate) struct FormatRedundantArgs { type FormatRedundantArgsSugg (line 835) | pub(crate) struct FormatRedundantArgsSugg { type TestCaseNonItem (line 842) | pub(crate) struct TestCaseNonItem { type TestBadFn (line 849) | pub(crate) struct TestBadFn { type AsmExplicitRegisterName (line 859) | pub(crate) struct AsmExplicitRegisterName { type AsmMutuallyExclusive (line 866) | pub(crate) struct AsmMutuallyExclusive { type AsmPureCombine (line 875) | pub(crate) struct AsmPureCombine { type AsmPureNoOutput (line 882) | pub(crate) struct AsmPureNoOutput { type AsmModifierInvalid (line 889) | pub(crate) struct AsmModifierInvalid { type AsmAttributeNotSupported (line 896) | pub(crate) struct AsmAttributeNotSupported { type AsmDuplicateArg (line 903) | pub(crate) struct AsmDuplicateArg { type AsmPositionalAfter (line 914) | pub(crate) struct AsmPositionalAfter { type AsmNoReturn (line 926) | pub(crate) struct AsmNoReturn { type AsmNoMatchedArgumentName (line 933) | pub(crate) struct AsmNoMatchedArgumentName { type AsmMayUnwind (line 941) | pub(crate) struct AsmMayUnwind { type AsmClobberNoReg (line 946) | pub(crate) struct AsmClobberNoReg { method into_diag (line 952) | fn into_diag(self, dcx: DiagCtxtHandle<'a>, level: Level) -> Diag<'a, ... type AsmOptAlreadyprovided (line 966) | pub(crate) struct AsmOptAlreadyprovided { type AsmUnsupportedOption (line 982) | pub(crate) struct AsmUnsupportedOption { type AsmUnsupportedClobberAbi (line 999) | pub(crate) struct AsmUnsupportedClobberAbi { type ExpectedCommaInList (line 1007) | pub(crate) struct ExpectedCommaInList { type OnlyOneArgument (line 1014) | pub(crate) struct OnlyOneArgument<'a> { type TakesNoArguments (line 1022) | pub(crate) struct TakesNoArguments<'a> { type AttributeOnlyUsableWithCrateType (line 1030) | pub(crate) struct AttributeOnlyUsableWithCrateType<'a> { type ExpectedItem (line 1038) | pub(crate) struct ExpectedItem<'a> { type NakedFunctionTestingAttribute (line 1046) | pub(crate) struct NakedFunctionTestingAttribute { type NonGenericPointee (line 1056) | pub(crate) struct NonGenericPointee { type AsmExpectedOther (line 1068) | pub(crate) struct AsmExpectedOther { type CfgSelectNoMatches (line 1082) | pub(crate) struct CfgSelectNoMatches { type EiiExternTargetExpectedMacro (line 1089) | pub(crate) struct EiiExternTargetExpectedMacro { type EiiExternTargetExpectedList (line 1096) | pub(crate) struct EiiExternTargetExpectedList { type EiiExternTargetExpectedUnsafe (line 1103) | pub(crate) struct EiiExternTargetExpectedUnsafe { type EiiSharedMacroExpectedFunction (line 1111) | pub(crate) struct EiiSharedMacroExpectedFunction { type EiiSharedMacroInStatementPosition (line 1119) | pub(crate) struct EiiSharedMacroInStatementPosition { type EiiOnlyOnce (line 1129) | pub(crate) struct EiiOnlyOnce { type EiiMacroExpectedMaxOneArgument (line 1139) | pub(crate) struct EiiMacroExpectedMaxOneArgument { FILE: compiler/rustc_builtin_macros/src/format.rs type PositionUsedAs (line 39) | enum PositionUsedAs { type MacroInput (line 47) | struct MacroInput { function parse_args (line 71) | fn parse_args<'a>(ecx: &ExtCtxt<'a>, sp: Span, tts: TokenStream) -> PRes... function make_format_args (line 159) | fn make_format_args( function invalid_placeholder_type_error (line 635) | fn invalid_placeholder_type_error( function report_missing_placeholders (line 663) | fn report_missing_placeholders( function report_redundant_format_arguments (line 822) | fn report_redundant_format_arguments<'a>( function report_invalid_references (line 894) | fn report_invalid_references( function expand_format_args_impl (line 1060) | fn expand_format_args_impl<'cx>( function expand_format_args (line 1086) | pub(crate) fn expand_format_args<'cx>( function expand_format_args_nl (line 1094) | pub(crate) fn expand_format_args_nl<'cx>( FILE: compiler/rustc_builtin_macros/src/format_foreign.rs type Substitution (line 8) | pub(crate) enum Substitution<'a> { method to_string (line 16) | fn to_string(&self) -> String { function position (line 25) | pub(crate) fn position(&self) -> InnerSpan { function set_position (line 32) | pub(crate) fn set_position(&mut self, start: usize, end: usize) { function translate (line 43) | pub(crate) fn translate(&self) -> Result> { type Format (line 53) | pub(crate) struct Format<'a> { function translate (line 77) | pub(crate) fn translate(&self) -> Result> { type Num (line 254) | enum Num { method from_str (line 269) | fn from_str(s: &str, arg: Option<&str>) -> Option { method translate (line 279) | fn translate(&self, s: &mut String) -> std::fmt::Result { function iter_subs (line 293) | pub(crate) fn iter_subs(s: &str, start_pos: usize) -> Substitutions<'_> { type Substitutions (line 298) | pub(crate) struct Substitutions<'a> { type Item (line 304) | type Item = Substitution<'a>; method next (line 305) | fn next(&mut self) -> Option { method size_hint (line 314) | fn size_hint(&self) -> (usize, Option) { type State (line 320) | enum State { function parse_next_substitution (line 332) | fn parse_next_substitution(s: &str) -> Option<(Substitution<'_>, &str)> { function at_next_cp_while (line 594) | fn at_next_cp_while(mut cur: Cur<'_>, mut pred: F) -> Cur<'_> function is_flag (line 612) | fn is_flag(c: &char) -> bool { type Substitution (line 626) | pub(crate) enum Substitution<'a> { method to_string (line 633) | fn to_string(&self) -> String { function position (line 643) | pub(crate) fn position(&self) -> InnerSpan { function set_position (line 648) | fn set_position(&mut self, start: usize, end: usize) { function translate (line 653) | pub(crate) fn translate(&self) -> Result> { function iter_subs (line 663) | pub(crate) fn iter_subs(s: &str, start_pos: usize) -> Substitutions<'_> { type Substitutions (line 668) | pub(crate) struct Substitutions<'a> { type Item (line 674) | type Item = Substitution<'a>; method next (line 675) | fn next(&mut self) -> Option { method size_hint (line 684) | fn size_hint(&self) -> (usize, Option) { function parse_next_substitution (line 690) | fn parse_next_substitution(s: &str) -> Option<(Substitution<'_>, &str)> { function at_next_cp_while (line 719) | fn at_next_cp_while(mut cur: Cur<'_>, mut pred: F) -> Cur<'_> function is_ident_head (line 737) | fn is_ident_head(c: char) -> bool { function is_ident_tail (line 741) | fn is_ident_tail(c: char) -> bool { type StrCursor (line 750) | pub(crate) struct StrCursor<'a> { function new_at (line 756) | pub(crate) fn new_at(s: &'a str, at: usize) -> StrCursor<'a> { function at_next_cp (line 760) | pub(crate) fn at_next_cp(mut self) -> Option> { function next_cp (line 767) | pub(crate) fn next_cp(mut self) -> Option<(char, StrCursor<'a>)> { function slice_before (line 773) | fn slice_before(&self) -> &'a str { function slice_after (line 777) | pub(crate) fn slice_after(&self) -> &'a str { function slice_between (line 781) | pub(crate) fn slice_between(&self, until: StrCursor<'a>) -> Option<&'a s... function cp_after (line 792) | fn cp_after(&self) -> Option { function try_seek_right_cp (line 796) | fn try_seek_right_cp(&mut self) -> bool { function seek_right (line 806) | fn seek_right(&mut self, bytes: usize) { method clone (line 814) | fn clone(&self) -> StrCursor<'a> { function fmt (line 820) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function str_eq_literal (line 825) | fn str_eq_literal(a: &str, b: &str) -> bool { FILE: compiler/rustc_builtin_macros/src/format_foreign/printf/tests.rs function test_escape (line 13) | fn test_escape() { function test_parse (line 22) | fn test_parse() { function test_iter (line 99) | fn test_iter() { function test_translation (line 110) | fn test_translation() { FILE: compiler/rustc_builtin_macros/src/format_foreign/shell/tests.rs function test_escape (line 13) | fn test_escape() { function test_parse (line 22) | fn test_parse() { function test_iter (line 37) | fn test_iter() { function test_translation (line 48) | fn test_translation() { FILE: compiler/rustc_builtin_macros/src/global_allocator.rs function expand (line 15) | pub(crate) fn expand( type AllocFnFactory (line 62) | struct AllocFnFactory<'a, 'b> { function allocator_fn (line 70) | fn allocator_fn(&self, method: &AllocatorMethod) -> Stmt { function call_allocator (line 93) | fn call_allocator(&self, method: Symbol, mut args: ThinVec>) -... function attrs (line 104) | fn attrs(&self, method: &AllocatorMethod) -> AttrVec { function arg_ty (line 118) | fn arg_ty(&self, input: &AllocatorMethodInput, args: &mut ThinVec... function ret_ty (line 165) | fn ret_ty(&self, ty: &AllocatorTy) -> Box { function usize (line 177) | fn usize(&self) -> Box { function ptr_alignment (line 182) | fn ptr_alignment(&self) -> Box { function ptr_u8 (line 188) | fn ptr_u8(&self) -> Box { FILE: compiler/rustc_builtin_macros/src/iter.rs function expand (line 7) | pub(crate) fn expand<'cx>( function parse_closure (line 22) | fn parse_closure<'a>( FILE: compiler/rustc_builtin_macros/src/log_syntax.rs function expand_log_syntax (line 5) | pub(crate) fn expand_log_syntax<'cx>( FILE: compiler/rustc_builtin_macros/src/pattern_type.rs function expand (line 9) | pub(crate) fn expand<'cx>( function parse_pat_ty (line 24) | fn parse_pat_ty<'a>( function ty_pat (line 56) | fn ty_pat(kind: TyPatKind, span: Span) -> TyPat { function pat_to_ty_pat (line 60) | fn pat_to_ty_pat(cx: &mut ExtCtxt<'_>, pat: ast::Pat) -> TyPat { FILE: compiler/rustc_builtin_macros/src/proc_macro_harness.rs type ProcMacroDerive (line 21) | struct ProcMacroDerive { type ProcMacroDef (line 29) | struct ProcMacroDef { type ProcMacro (line 35) | enum ProcMacro { type CollectProcMacros (line 41) | struct CollectProcMacros<'a> { function inject (line 51) | pub fn inject( function check_not_pub_in_root (line 92) | fn check_not_pub_in_root(&self, vis: &ast::Visibility, sp: Span) { function collect_custom_derive (line 98) | fn collect_custom_derive( function collect_attr_proc_macro (line 139) | fn collect_attr_proc_macro(&mut self, item: &'a ast::Item, function_iden... function collect_bang_proc_macro (line 157) | fn collect_bang_proc_macro(&mut self, item: &'a ast::Item, function_iden... function visit_item (line 177) | fn visit_item(&mut self, item: &'a ast::Item) { function mk_decls (line 283) | fn mk_decls(cx: &mut ExtCtxt<'_>, macros: &[ProcMacro]) -> Box { FILE: compiler/rustc_builtin_macros/src/source_util.rs function expand_line (line 30) | pub(crate) fn expand_line( function expand_column (line 45) | pub(crate) fn expand_column( function expand_file (line 60) | pub(crate) fn expand_file( function expand_stringify (line 79) | pub(crate) fn expand_stringify( function expand_mod (line 90) | pub(crate) fn expand_mod( function expand_include (line 106) | pub(crate) fn expand_include<'cx>( function expand_include_str (line 204) | pub(crate) fn expand_include_str( function expand_include_bytes (line 238) | pub(crate) fn expand_include_bytes( function load_binary_file (line 264) | fn load_binary_file( function find_path_suggestion (line 315) | fn find_path_suggestion( FILE: compiler/rustc_builtin_macros/src/standard_library_imports.rs function inject (line 11) | pub fn inject( FILE: compiler/rustc_builtin_macros/src/test.rs function expand_test_case (line 27) | pub(crate) fn expand_test_case( function expand_test (line 87) | pub(crate) fn expand_test( function expand_bench (line 98) | pub(crate) fn expand_bench( function expand_test_or_bench (line 109) | pub(crate) fn expand_test_or_bench( function not_testable_error (line 407) | fn not_testable_error(cx: &ExtCtxt<'_>, is_bench: bool, attr_sp: Span, i... function get_location_info (line 441) | fn get_location_info(cx: &ExtCtxt<'_>, fn_: &ast::Fn) -> (Symbol, usize,... function item_path (line 454) | fn item_path(mod_path: &[Ident], item_ident: &Ident) -> String { type ShouldPanic (line 458) | enum ShouldPanic { function should_ignore (line 463) | fn should_ignore(i: &ast::Item) -> bool { function should_ignore_message (line 467) | fn should_ignore_message(i: &ast::Item) -> Option { function should_panic (line 481) | fn should_panic(cx: &ExtCtxt<'_>, i: &ast::Item) -> ShouldPanic { type TestType (line 498) | enum TestType { function test_type (line 507) | fn test_type(cx: &ExtCtxt<'_>) -> TestType { function check_test_signature (line 526) | fn check_test_signature( function check_bench_signature (line 590) | fn check_bench_signature( FILE: compiler/rustc_builtin_macros/src/test_harness.rs type Test (line 28) | struct Test { type TestCtxt (line 34) | struct TestCtxt<'a> { function inject (line 45) | pub fn inject( type TestHarnessGenerator (line 92) | struct TestHarnessGenerator<'a> { function add_test_cases (line 98) | fn add_test_cases(&mut self, node_id: ast::NodeId, span: Span, prev_test... method visit_crate (line 122) | fn visit_crate(&mut self, c: &mut ast::Crate) { method visit_item (line 131) | fn visit_item(&mut self, item: &mut ast::Item) { type InnerItemLinter (line 158) | struct InnerItemLinter<'a> { function visit_item (line 163) | fn visit_item(&mut self, i: &'a ast::Item) { function entry_point_type (line 175) | fn entry_point_type(item: &ast::Item, at_root: bool) -> EntryPointType { type EntryPointCleaner (line 188) | struct EntryPointCleaner<'a> { method visit_item (line 196) | fn visit_item(&mut self, item: &mut ast::Item) { function generate_test_harness (line 223) | fn generate_test_harness( function mk_main (line 289) | fn mk_main(cx: &mut TestCtxt<'_>) -> Box { function mk_tests_slice (line 368) | fn mk_tests_slice(cx: &TestCtxt<'_>, sp: Span) -> Box { function get_test_name (line 386) | fn get_test_name(i: &ast::Item) -> Option { function get_test_runner (line 390) | fn get_test_runner(sess: &Session, features: &Features, krate: &ast::Cra... FILE: compiler/rustc_builtin_macros/src/trace_macros.rs function expand_trace_macros (line 7) | pub(crate) fn expand_trace_macros( FILE: compiler/rustc_builtin_macros/src/util.rs function check_builtin_macro_attribute (line 15) | pub(crate) fn check_builtin_macro_attribute(ecx: &ExtCtxt<'_>, meta_item... function warn_on_duplicate_attribute (line 30) | pub(crate) fn warn_on_duplicate_attribute(ecx: &ExtCtxt<'_>, item: &Anno... type ExprToSpannedStringResult (line 59) | pub(crate) type ExprToSpannedStringResult<'a> = Result = Result<(Diag<'a>, bool /* has_suggestions ... function expr_to_spanned_string (line 81) | pub(crate) fn expr_to_spanned_string<'a>( function expr_to_string (line 133) | pub(crate) fn expr_to_string( function check_zero_tts (line 151) | pub(crate) fn check_zero_tts(cx: &ExtCtxt<'_>, span: Span, tts: TokenStr... function parse_expr (line 158) | pub(crate) fn parse_expr(p: &mut parser::Parser<'_>) -> Result SysrootTarget { function build_clif_sysroot_for_triple (line 195) | fn build_clif_sysroot_for_triple( FILE: compiler/rustc_codegen_cranelift/build_system/config.rs function load_config_file (line 3) | fn load_config_file() -> Vec<(String, Option)> { function get_bool (line 20) | pub(crate) fn get_bool(name: &str) -> bool { FILE: compiler/rustc_codegen_cranelift/build_system/main.rs function usage (line 23) | fn usage() { type Command (line 36) | enum Command { type SysrootKind (line 46) | enum SysrootKind { type CodegenBackend (line 53) | enum CodegenBackend { function main (line 58) | fn main() { FILE: compiler/rustc_codegen_cranelift/build_system/path.rs type Dirs (line 4) | pub(crate) struct Dirs { type PathBase (line 14) | enum PathBase { type RelPath (line 20) | pub(crate) struct RelPath { method source (line 26) | pub(crate) const fn source(suffix: &'static str) -> RelPath { method build (line 30) | pub(crate) const fn build(suffix: &'static str) -> RelPath { method to_path (line 34) | pub(crate) fn to_path(&self, dirs: &Dirs) -> PathBuf { FILE: compiler/rustc_codegen_cranelift/build_system/prepare.rs function prepare (line 10) | pub(crate) fn prepare(dirs: &Dirs) { type GitRepo (line 16) | pub(crate) struct GitRepo { method github (line 70) | pub(crate) const fn github( method download_dir (line 80) | fn download_dir(&self, dirs: &Dirs) -> PathBuf { method source_dir (line 86) | pub(crate) const fn source_dir(&self) -> RelPath { method verify_checksum (line 92) | fn verify_checksum(&self, dirs: &Dirs) { method fetch (line 112) | pub(crate) fn fetch(&self, dirs: &Dirs) { method patch (line 152) | pub(crate) fn patch(&self, dirs: &Dirs) { type GitRepoUrl (line 23) | enum GitRepoUrl { function hash_file (line 29) | fn hash_file(file: &std::path::Path) -> u64 { function hash_dir (line 41) | fn hash_dir(dir: &std::path::Path) -> u64 { function clone_repo (line 163) | fn clone_repo(download_dir: &Path, repo: &str, rev: &str) { function init_git_repo (line 186) | fn init_git_repo(repo_dir: &Path) { function get_patches (line 200) | fn get_patches(dirs: &Dirs, crate_name: &str) -> Vec { function apply_patches (line 220) | pub(crate) fn apply_patches(dirs: &Dirs, crate_name: &str, source_dir: &... function git_command (line 252) | fn git_command<'a>(repo_dir: impl Into>, cmd: &str) -> ... FILE: compiler/rustc_codegen_cranelift/build_system/rustc_info.rs function get_host_triple (line 4) | pub(crate) fn get_host_triple(rustc: &Path) -> String { function get_toolchain_name (line 14) | pub(crate) fn get_toolchain_name() -> String { function get_cargo_path (line 24) | pub(crate) fn get_cargo_path() -> PathBuf { function get_rustc_path (line 37) | pub(crate) fn get_rustc_path() -> PathBuf { function get_rustdoc_path (line 50) | pub(crate) fn get_rustdoc_path() -> PathBuf { function get_default_sysroot (line 63) | pub(crate) fn get_default_sysroot(rustc: &Path) -> PathBuf { function get_file_name (line 74) | pub(crate) fn get_file_name(rustc: &Path, crate_name: &str, crate_type: ... FILE: compiler/rustc_codegen_cranelift/build_system/shared_utils.rs function rustflags_from_env (line 4) | pub(crate) fn rustflags_from_env(kind: &str) -> Vec { function rustflags_to_cmd_env (line 24) | pub(crate) fn rustflags_to_cmd_env(cmd: &mut std::process::Command, kind... FILE: compiler/rustc_codegen_cranelift/build_system/tests.rs type TestCase (line 14) | struct TestCase { method custom (line 29) | const fn custom(config: &'static str, func: &'static dyn Fn(&TestRunne... method build_lib (line 33) | const fn build_lib( method build_bin (line 41) | const fn build_bin(config: &'static str, source: &'static str) -> Self { method build_bin_and_run (line 45) | const fn build_bin_and_run( method jit_bin (line 53) | const fn jit_bin(config: &'static str, source: &'static str, args: &'s... type TestCaseCmd (line 19) | enum TestCaseCmd { constant NO_SYSROOT_SUITE (line 58) | const NO_SYSROOT_SUITE: &[TestCase] = &[ constant BASE_SYSROOT_SUITE (line 69) | const BASE_SYSROOT_SUITE: &[TestCase] = &[ constant EXTENDED_SYSROOT_SUITE (line 152) | const EXTENDED_SYSROOT_SUITE: &[TestCase] = &[ function run_tests (line 226) | pub(crate) fn run_tests( type TestRunner (line 313) | struct TestRunner<'a> { function new (line 324) | fn new( function run_testsuite (line 350) | fn run_testsuite(&self, tests: &[TestCase]) { function rustc_command (line 402) | fn rustc_command(&self, args: I) -> Command function run_rustc (line 425) | fn run_rustc(&self, args: I) function run_out_command (line 433) | fn run_out_command(&self, name: &str, args: &[&str]) { FILE: compiler/rustc_codegen_cranelift/build_system/todo.rs constant EXTENSIONS (line 6) | const EXTENSIONS: &[&str] = function has_supported_extension (line 9) | fn has_supported_extension(path: &Path) -> bool { function list_tracked_files (line 13) | fn list_tracked_files() -> Result, String> { function run (line 36) | pub(crate) fn run() -> ! { FILE: compiler/rustc_codegen_cranelift/build_system/utils.rs type Compiler (line 11) | pub(crate) struct Compiler { method set_cross_linker_and_runner (line 22) | pub(crate) fn set_cross_linker_and_runner(&mut self) { method run_with_runner (line 64) | pub(crate) fn run_with_runner(&self, program: impl AsRef) -> Co... type CargoProject (line 77) | pub(crate) struct CargoProject { method new (line 83) | pub(crate) const fn new(path: RelPath, target: &'static str) -> CargoP... method source_dir (line 87) | pub(crate) fn source_dir(&self, dirs: &Dirs) -> PathBuf { method manifest_path (line 91) | pub(crate) fn manifest_path(&self, dirs: &Dirs) -> PathBuf { method target_dir (line 95) | pub(crate) fn target_dir(&self, dirs: &Dirs) -> PathBuf { method base_cmd (line 100) | fn base_cmd(&self, command: &str, cargo: &Path, dirs: &Dirs) -> Command { method build_cmd (line 122) | fn build_cmd(&self, command: &str, compiler: &Compiler, dirs: &Dirs) -... method clean (line 141) | pub(crate) fn clean(&self, dirs: &Dirs) { method build (line 146) | pub(crate) fn build(&self, compiler: &Compiler, dirs: &Dirs) -> Command { method test (line 151) | pub(crate) fn test(&self, compiler: &Compiler, dirs: &Dirs) -> Command { method run (line 156) | pub(crate) fn run(&self, compiler: &Compiler, dirs: &Dirs) -> Command { function try_hard_link (line 162) | pub(crate) fn try_hard_link(src: impl AsRef, dst: impl AsRef) { function spawn_and_wait (line 171) | pub(crate) fn spawn_and_wait(mut cmd: Command) { function ensure_empty_dir (line 180) | pub(crate) fn ensure_empty_dir(path: &Path) { function copy_dir_recursively (line 209) | pub(crate) fn copy_dir_recursively(from: &Path, to: &Path) { type LogGroup (line 228) | pub(crate) struct LogGroup { method guard (line 233) | pub(crate) fn guard(name: &str) -> LogGroup { method drop (line 246) | fn drop(&mut self) { FILE: compiler/rustc_codegen_cranelift/example/arbitrary_self_types_pointers_and_wrappers.rs type Ptr (line 8) | struct Ptr(Box); type Target (line 11) | type Target = T; method deref (line 13) | fn deref(&self) -> &T { type Wrapper (line 21) | struct Wrapper(T); type Target (line 24) | type Target = T; method deref (line 26) | fn deref(&self) -> &T { type Trait (line 34) | trait Trait { method ptr_wrapper (line 35) | fn ptr_wrapper(self: Ptr>) -> i32; method wrapper_ptr (line 36) | fn wrapper_ptr(self: Wrapper>) -> i32; method wrapper_ptr_wrapper (line 37) | fn wrapper_ptr_wrapper(self: Wrapper>>) -> i32; method ptr_wrapper (line 41) | fn ptr_wrapper(self: Ptr>) -> i32 { method wrapper_ptr (line 44) | fn wrapper_ptr(self: Wrapper>) -> i32 { method wrapper_ptr_wrapper (line 47) | fn wrapper_ptr_wrapper(self: Wrapper>>) -> i32 { function main (line 52) | fn main() { FILE: compiler/rustc_codegen_cranelift/example/dst-field-align.rs type Foo (line 3) | struct Foo { type Bar (line 8) | trait Bar { method get (line 9) | fn get(&self) -> usize; method get (line 13) | fn get(&self) -> usize { type Baz (line 18) | struct Baz { type HasDrop (line 22) | struct HasDrop { function main (line 27) | fn main() { FILE: compiler/rustc_codegen_cranelift/example/example.rs function abc (line 9) | pub fn abc(a: u8) -> u8 { function bcd (line 13) | pub fn bcd(b: bool, a: u8) -> u8 { function call (line 17) | pub fn call() { function indirect_call (line 21) | pub fn indirect_call() { type BoolOption (line 26) | pub enum BoolOption { function option_unwrap_or (line 31) | pub fn option_unwrap_or(o: BoolOption, d: bool) -> bool { function ret_42 (line 38) | pub fn ret_42() -> u8 { function return_str (line 42) | pub fn return_str() -> &'static str { function promoted_val (line 46) | pub fn promoted_val() -> &'static u8 { function cast_ref_to_raw_ptr (line 50) | pub fn cast_ref_to_raw_ptr(abc: &u8) -> *const u8 { function cmp_raw_ptr (line 54) | pub fn cmp_raw_ptr(a: *const u8, b: *const u8) -> bool { function int_cast (line 58) | pub fn int_cast(a: u16, b: i16) -> (u8, u16, u32, usize, i8, i16, i32, i... function char_cast (line 65) | pub fn char_cast(c: char) -> u8 { type DebugTuple (line 69) | pub struct DebugTuple(()); function debug_tuple (line 71) | pub fn debug_tuple() -> DebugTuple { function use_size_of (line 75) | pub fn use_size_of() -> usize { function use_copy_intrinsic (line 79) | pub unsafe fn use_copy_intrinsic(src: *const u8, dst: *mut u8) { function use_copy_intrinsic_ref (line 85) | pub unsafe fn use_copy_intrinsic_ref(src: *const u8, dst: *mut u8) { constant ABC (line 92) | pub const ABC: u8 = 6 * 7; function use_const (line 94) | pub fn use_const() -> u8 { function call_closure_3arg (line 98) | pub fn call_closure_3arg() { function call_closure_2arg (line 102) | pub fn call_closure_2arg() { type IsNotEmpty (line 106) | pub struct IsNotEmpty; type Output (line 109) | type Output = (u8, u8); method call_once (line 112) | extern "rust-call" fn call_once(mut self, arg: (&'a &'b [u16],)) -> (u... method call_mut (line 119) | extern "rust-call" fn call_mut(&mut self, _arg: (&'a &'b [u16],)) -> (... function call_is_not_empty (line 124) | pub fn call_is_not_empty() { function eq_char (line 128) | pub fn eq_char(a: char, b: char) -> bool { function transmute (line 132) | pub unsafe fn transmute(c: char) -> u32 { function deref_str_ptr (line 136) | pub unsafe fn deref_str_ptr(s: *const str) -> &'static str { function use_array (line 140) | pub fn use_array(arr: [u8; 3]) -> u8 { function repeat_array (line 144) | pub fn repeat_array() -> [u8; 3] { function array_as_slice (line 148) | pub fn array_as_slice(arr: &[u8; 3]) -> &[u8] { function use_ctlz_nonzero (line 152) | pub unsafe fn use_ctlz_nonzero(a: u16) -> u32 { function ptr_as_usize (line 156) | pub fn ptr_as_usize(ptr: *const u8) -> usize { function float_cast (line 160) | pub fn float_cast(a: f32, b: f64) -> (f64, f32) { function int_to_float (line 164) | pub fn int_to_float(a: u8, b: i32) -> (f64, f32) { function make_array (line 168) | pub fn make_array() -> [u8; 3] { function some_promoted_tuple (line 172) | pub fn some_promoted_tuple() -> &'static (&'static str, &'static str) { function index_slice (line 176) | pub fn index_slice(s: &[u8]) -> u8 { type StrWrapper (line 180) | pub struct StrWrapper { function str_wrapper_get (line 184) | pub fn str_wrapper_get(w: &StrWrapper) -> &str { function i16_as_i8 (line 188) | pub fn i16_as_i8(a: i16) -> i8 { type Unsized (line 192) | pub struct Unsized(u8, str); function get_sized_field_ref_from_unsized_type (line 194) | pub fn get_sized_field_ref_from_unsized_type(u: &Unsized) -> &u8 { function get_unsized_field_ref_from_unsized_type (line 198) | pub fn get_unsized_field_ref_from_unsized_type(u: &Unsized) -> &str { function reuse_byref_argument_storage (line 202) | pub fn reuse_byref_argument_storage(a: (u8, u16, u32)) -> u8 { FILE: compiler/rustc_codegen_cranelift/example/float-minmax-pass.rs type f32x4 (line 12) | struct f32x4(pub [f32; 4]); method into_array (line 15) | fn into_array(self) -> [f32; 4] { function main (line 22) | fn main() { FILE: compiler/rustc_codegen_cranelift/example/gen_block_iterate.rs function foo (line 8) | fn foo() -> impl Iterator { function moved (line 17) | fn moved() -> impl Iterator { function main (line 31) | fn main() { FILE: compiler/rustc_codegen_cranelift/example/issue-59326.rs type Service (line 3) | trait Service { type Framing (line 7) | trait Framing { type F (line 12) | type F = (); type HttpService (line 15) | trait HttpService: Service {} type BoxService (line 17) | type BoxService = Box>; function build_server (line 19) | fn build_server BoxService>(_: F) {} function make_server (line 21) | fn make_server() -> Box> { function main (line 25) | fn main() { FILE: compiler/rustc_codegen_cranelift/example/issue-72793.rs type T (line 5) | pub trait T { type Item (line 13) | type Item = &'a (); type Alias (line 9) | pub type Alias<'a> = impl T; type S (line 11) | struct S; function filter_positive (line 17) | pub fn filter_positive<'a>() -> Alias<'a> { function with_positive (line 21) | fn with_positive(fun: impl Fn(Alias<'_>)) { function main (line 25) | fn main() { FILE: compiler/rustc_codegen_cranelift/example/mini_core.rs type PointeeSized (line 19) | pub trait PointeeSized {} type MetaSized (line 22) | pub trait MetaSized: PointeeSized {} type Sized (line 25) | pub trait Sized: MetaSized {} type Destruct (line 28) | pub trait Destruct {} type Tuple (line 31) | pub trait Tuple {} type Unsize (line 34) | pub trait Unsize: PointeeSized {} type CoerceUnsized (line 37) | pub trait CoerceUnsized {} type DispatchFromDyn (line 45) | pub trait DispatchFromDyn {} type LegacyReceiver (line 58) | pub trait LegacyReceiver {} type Copy (line 65) | pub trait Copy {} type BikeshedGuaranteedNoDrop (line 68) | pub trait BikeshedGuaranteedNoDrop {} type Sync (line 90) | pub unsafe trait Sync {} type Freeze (line 108) | unsafe auto trait Freeze {} type StructuralPartialEq (line 117) | pub trait StructuralPartialEq {} type Not (line 120) | pub trait Not { method not (line 123) | fn not(self) -> Self::Output; type Output (line 127) | type Output = bool; method not (line 129) | fn not(self) -> bool { type Mul (line 135) | pub trait Mul { method mul (line 139) | fn mul(self, rhs: RHS) -> Self::Output; type Output (line 143) | type Output = Self; method mul (line 145) | fn mul(self, rhs: Self) -> Self::Output { type Output (line 151) | type Output = Self; method mul (line 153) | fn mul(self, rhs: Self) -> Self::Output { type Add (line 159) | pub trait Add { method add (line 162) | fn add(self, rhs: RHS) -> Self::Output; type Output (line 166) | type Output = Self; method add (line 168) | fn add(self, rhs: Self) -> Self { type Output (line 174) | type Output = Self; method add (line 176) | fn add(self, rhs: Self) -> Self { type Output (line 182) | type Output = Self; method add (line 184) | fn add(self, rhs: Self) -> Self { type Sub (line 190) | pub trait Sub { method sub (line 193) | fn sub(self, rhs: RHS) -> Self::Output; type Output (line 197) | type Output = Self; method sub (line 199) | fn sub(self, rhs: Self) -> Self { type Output (line 205) | type Output = Self; method sub (line 207) | fn sub(self, rhs: Self) -> Self { type Output (line 213) | type Output = Self; method sub (line 215) | fn sub(self, rhs: Self) -> Self { type Output (line 221) | type Output = Self; method sub (line 223) | fn sub(self, rhs: Self) -> Self { type Rem (line 229) | pub trait Rem { method rem (line 232) | fn rem(self, rhs: RHS) -> Self::Output; type Output (line 236) | type Output = Self; method rem (line 238) | fn rem(self, rhs: Self) -> Self { type BitOr (line 244) | pub trait BitOr { method bitor (line 248) | fn bitor(self, rhs: RHS) -> Self::Output; type Output (line 252) | type Output = bool; method bitor (line 254) | fn bitor(self, rhs: bool) -> bool { type Output (line 260) | type Output = bool; function bitor (line 262) | fn bitor(self, rhs: bool) -> bool { type PartialEq (line 268) | pub trait PartialEq { method eq (line 269) | fn eq(&self, other: &Rhs) -> bool; method ne (line 270) | fn ne(&self, other: &Rhs) -> bool; method eq (line 274) | fn eq(&self, other: &u8) -> bool { method ne (line 277) | fn ne(&self, other: &u8) -> bool { method eq (line 283) | fn eq(&self, other: &u16) -> bool { method ne (line 286) | fn ne(&self, other: &u16) -> bool { method eq (line 292) | fn eq(&self, other: &u32) -> bool { method ne (line 295) | fn ne(&self, other: &u32) -> bool { method eq (line 301) | fn eq(&self, other: &u64) -> bool { method ne (line 304) | fn ne(&self, other: &u64) -> bool { method eq (line 310) | fn eq(&self, other: &u128) -> bool { method ne (line 313) | fn ne(&self, other: &u128) -> bool { method eq (line 319) | fn eq(&self, other: &usize) -> bool { method ne (line 322) | fn ne(&self, other: &usize) -> bool { method eq (line 328) | fn eq(&self, other: &i8) -> bool { method ne (line 331) | fn ne(&self, other: &i8) -> bool { method eq (line 337) | fn eq(&self, other: &i32) -> bool { method ne (line 340) | fn ne(&self, other: &i32) -> bool { method eq (line 346) | fn eq(&self, other: &isize) -> bool { method ne (line 349) | fn ne(&self, other: &isize) -> bool { method eq (line 355) | fn eq(&self, other: &char) -> bool { method ne (line 358) | fn ne(&self, other: &char) -> bool { method eq (line 364) | fn eq(&self, other: &*const T) -> bool { method ne (line 367) | fn ne(&self, other: &*const T) -> bool { method eq (line 373) | fn eq(&self, other: &Self) -> bool { method ne (line 381) | fn ne(&self, other: &Self) -> bool { type Shl (line 391) | pub trait Shl { method shl (line 395) | fn shl(self, rhs: RHS) -> Self::Output; type Output (line 399) | type Output = u128; method shl (line 401) | fn shl(self, rhs: u128) -> u128 { type Neg (line 407) | pub trait Neg { method neg (line 410) | fn neg(self) -> Self::Output; type Output (line 414) | type Output = i8; method neg (line 416) | fn neg(self) -> i8 { type Output (line 422) | type Output = i16; method neg (line 424) | fn neg(self) -> i16 { type Output (line 430) | type Output = isize; method neg (line 432) | fn neg(self) -> isize { type Output (line 438) | type Output = f32; method neg (line 440) | fn neg(self) -> f32 { type Option (line 445) | pub enum Option { type PhantomData (line 453) | pub struct PhantomData; type FnOnce (line 457) | pub trait FnOnce { method call_once (line 461) | extern "rust-call" fn call_once(self, args: Args) -> Self::Output; type FnMut (line 466) | pub trait FnMut: FnOnce { method call_mut (line 467) | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output; function panic (line 472) | pub fn panic(_msg: &'static str) -> ! { function panic_bounds_check (line 510) | fn panic_bounds_check(index: usize, len: usize) -> ! { function panic_cannot_unwind (line 523) | fn panic_cannot_unwind() -> ! { function eh_personality (line 532) | fn eh_personality( function panic_in_cleanup (line 543) | fn panic_in_cleanup() -> ! { function _Unwind_Resume (line 550) | fn _Unwind_Resume(exc: *mut ()) -> !; function drop_in_place (line 555) | pub unsafe fn drop_in_place(to_drop: *mut T) { type Unpin (line 564) | pub auto trait Unpin {} type Deref (line 567) | pub trait Deref { method deref (line 570) | fn deref(&self) -> &Self::Target; type Target (line 618) | type Target = T; method deref (line 620) | fn deref(&self) -> &Self::Target { type NonNull (line 576) | pub struct NonNull(pub *const T); type Unique (line 581) | pub struct Unique { type Global (line 590) | pub struct Global; type Box (line 593) | pub struct Box(Unique, A); function new (line 598) | pub fn new(val: T) -> Box { type Drop (line 626) | pub trait Drop { method drop (line 609) | fn drop(&mut self) { method drop (line 627) | fn drop(&mut self); type ManuallyDrop (line 632) | pub struct ManuallyDrop { function abort (line 645) | pub fn abort() -> !; function size_of (line 647) | pub const fn size_of() -> usize; function size_of_val (line 649) | pub unsafe fn size_of_val(val: *const T) -> usize; function align_of (line 651) | pub const fn align_of() -> usize; function align_of_val (line 653) | pub unsafe fn align_of_val(val: *const T) -> usize; function copy (line 655) | pub unsafe fn copy(src: *const T, dst: *mut T, count: usize); function transmute (line 657) | pub unsafe fn transmute(e: T) -> U; function ctlz_nonzero (line 659) | pub unsafe fn ctlz_nonzero(x: T) -> u32; function needs_drop (line 661) | pub const fn needs_drop() -> bool; function bitreverse (line 663) | pub fn bitreverse(x: T) -> T; function bswap (line 665) | pub fn bswap(x: T) -> T; function write_bytes (line 667) | pub unsafe fn write_bytes(dst: *mut T, val: u8, count: usize); function unreachable (line 669) | pub unsafe fn unreachable() -> !; function printf (line 679) | pub fn printf(format: *const i8, ...) -> i32; function puts (line 685) | pub fn puts(s: *const i8) -> i32; function malloc (line 686) | pub fn malloc(size: usize) -> *mut u8; function free (line 687) | pub fn free(ptr: *mut u8); function memcpy (line 688) | pub fn memcpy(dst: *mut u8, src: *const u8, size: usize); function memmove (line 689) | pub fn memmove(dst: *mut u8, src: *const u8, size: usize); function strncpy (line 690) | pub fn strncpy(dst: *mut u8, src: *const u8, size: usize); type Index (line 695) | pub trait Index { method index (line 697) | fn index(&self, index: Idx) -> &Self::Output; type Output (line 701) | type Output = T; function index (line 703) | fn index(&self, index: usize) -> &Self::Output { type Output (line 709) | type Output = T; function index (line 711) | fn index(&self, index: usize) -> &Self::Output { function size_of (line 716) | pub const fn size_of() -> usize { function align_of (line 720) | pub const fn align_of() -> usize { type SizedTypeProperties (line 724) | trait SizedTypeProperties: Sized { constant SIZE (line 726) | const SIZE: usize = intrinsics::size_of::(); constant ALIGN (line 729) | const ALIGN: usize = intrinsics::align_of::(); type VaList (line 739) | pub struct VaList<'a>(&'a mut VaListImpl); type PanicLocation (line 786) | struct PanicLocation { function get_tls (line 794) | pub fn get_tls() -> u8 { FILE: compiler/rustc_codegen_cranelift/example/mini_core_hello_world.rs type Termination (line 28) | trait Termination { method report (line 29) | fn report(self) -> i32; method report (line 33) | fn report(self) -> i32 { type SomeTrait (line 42) | trait SomeTrait { method object_safe (line 43) | fn object_safe(&self); method object_safe (line 47) | fn object_safe(&self) { method object_safe (line 83) | fn object_safe(&self) {} type NoisyDrop (line 54) | struct NoisyDrop { type NoisyDropUnsized (line 59) | struct NoisyDropUnsized { type NoisyDropInner (line 64) | struct NoisyDropInner; method drop (line 67) | fn drop(&mut self) { method drop (line 75) | fn drop(&mut self) { type Ordering (line 86) | enum Ordering { function start (line 93) | fn start( function zeroed (line 118) | unsafe fn zeroed() -> T { function take_f32 (line 126) | fn take_f32(_f: f32) {} function take_unique (line 127) | fn take_unique(_u: Unique<()>) {} function return_u128_pair (line 129) | fn return_u128_pair() -> (u128, u128) { function call_return_u128_pair (line 133) | fn call_return_u128_pair() { type bool_11 (line 138) | pub struct bool_11 { function bool_struct_in_11 (line 152) | extern "C" fn bool_struct_in_11(_arg0: bool_11) {} function main (line 155) | fn main() { function stack_val_align (line 352) | fn stack_val_align() { function global_asm_test (line 362) | fn global_asm_test(); function naked_test (line 387) | extern "C" fn naked_test() { type c_void (line 392) | enum c_void { type c_int (line 397) | type c_int = i32; type c_ulong (line 398) | type c_ulong = u64; type pthread_t (line 400) | type pthread_t = c_ulong; type pthread_attr_t (line 403) | struct pthread_attr_t { function pthread_attr_init (line 410) | fn pthread_attr_init(attr: *mut pthread_attr_t) -> c_int; function pthread_create (line 412) | fn pthread_create( function pthread_join (line 419) | fn pthread_join(native: pthread_t, value: *mut *mut c_void) -> c_int; type DWORD (line 422) | type DWORD = u32; type LPDWORD (line 423) | type LPDWORD = *mut u32; type LPVOID (line 425) | type LPVOID = *mut c_void; type HANDLE (line 426) | type HANDLE = *mut c_void; function WaitForSingleObject (line 431) | fn WaitForSingleObject(hHandle: LPVOID, dwMilliseconds: DWORD) -> DWORD; function CreateThread (line 433) | fn CreateThread( type Thread (line 443) | struct Thread { method create (line 451) | unsafe fn create(f: extern "C" fn(_: *mut c_void) -> *mut c_void) -> S... method join (line 483) | unsafe fn join(self) { function mutate_tls (line 506) | extern "C" fn mutate_tls(_: *mut c_void) -> *mut c_void { function test_tls (line 514) | fn test_tls() { type Infallible (line 530) | pub enum Infallible {} type E1 (line 535) | pub enum E1 { type E2 (line 546) | pub enum E2 { function check_niche_behavior (line 587) | fn check_niche_behavior() { function from_decimal_string (line 597) | fn from_decimal_string() { function take_multiplier_ref (line 611) | fn take_multiplier_ref(_multiplier: &u128) {} function unreachable (line 613) | fn unreachable() -> ! { FILE: compiler/rustc_codegen_cranelift/example/neon.rs function test_vpmin_s8 (line 13) | unsafe fn test_vpmin_s8() { function test_vpmin_s16 (line 22) | unsafe fn test_vpmin_s16() { function test_vpmin_s32 (line 31) | unsafe fn test_vpmin_s32() { function test_vpmin_u8 (line 40) | unsafe fn test_vpmin_u8() { function test_vpmin_u16 (line 49) | unsafe fn test_vpmin_u16() { function test_vpmin_u32 (line 58) | unsafe fn test_vpmin_u32() { function test_vpmin_f32 (line 67) | unsafe fn test_vpmin_f32() { function test_vpmax_s8 (line 76) | unsafe fn test_vpmax_s8() { function test_vpmax_s16 (line 85) | unsafe fn test_vpmax_s16() { function test_vpmax_s32 (line 94) | unsafe fn test_vpmax_s32() { function test_vpmax_u8 (line 103) | unsafe fn test_vpmax_u8() { function test_vpmax_u16 (line 112) | unsafe fn test_vpmax_u16() { function test_vpmax_u32 (line 121) | unsafe fn test_vpmax_u32() { function test_vpmax_f32 (line 130) | unsafe fn test_vpmax_f32() { function test_vpadd_s16 (line 139) | unsafe fn test_vpadd_s16() { function test_vpadd_s32 (line 147) | unsafe fn test_vpadd_s32() { function test_vpadd_s8 (line 155) | unsafe fn test_vpadd_s8() { function test_vpadd_u16 (line 163) | unsafe fn test_vpadd_u16() { function test_vpadd_u32 (line 171) | unsafe fn test_vpadd_u32() { function test_vpadd_u8 (line 179) | unsafe fn test_vpadd_u8() { function test_vqsub_u8 (line 188) | unsafe fn test_vqsub_u8() { function test_vqadd_u8 (line 197) | unsafe fn test_vqadd_u8() { function test_vmaxq_f32 (line 206) | unsafe fn test_vmaxq_f32() { function test_vminq_f32 (line 216) | unsafe fn test_vminq_f32() { function test_vaddvq_f32 (line 226) | unsafe fn test_vaddvq_f32() { function test_vrndnq_f32 (line 235) | unsafe fn test_vrndnq_f32() { function main (line 244) | fn main() { function main (line 279) | fn main() {} FILE: compiler/rustc_codegen_cranelift/example/raw-dylib.rs function main (line 4) | fn main() { FILE: compiler/rustc_codegen_cranelift/example/std_example.rs function main (line 12) | fn main() { function panic (line 182) | fn panic(_: u128) { type TwoPtrs (line 189) | type TwoPtrs = i64; type TwoPtrs (line 191) | type TwoPtrs = i128; function transmute_wide_pointer (line 193) | fn transmute_wide_pointer() -> TwoPtrs { function rust_call_abi_callee (line 197) | extern "rust-call" fn rust_call_abi_callee(_: T) {} function rust_call_abi (line 199) | fn rust_call_abi() { type I64X2 (line 206) | struct I64X2([i64; 2]); function foo (line 210) | extern "C" fn foo(_a: I64X2) {} function test_crc32 (line 215) | unsafe fn test_crc32() { function test_simd (line 229) | unsafe fn test_simd() { function test_mm_slli_si128 (line 295) | unsafe fn test_mm_slli_si128() { function test_mm_movemask_epi8 (line 322) | unsafe fn test_mm_movemask_epi8() { function test_mm256_movemask_epi8 (line 336) | unsafe fn test_mm256_movemask_epi8() { function test_mm_add_epi8 (line 345) | unsafe fn test_mm_add_epi8() { function test_mm_add_pd (line 361) | unsafe fn test_mm_add_pd() { function assert_eq_m128i (line 369) | fn assert_eq_m128i(x: std::arch::x86_64::__m128i, y: std::arch::x86_64::... function assert_eq_m128d (line 377) | pub fn assert_eq_m128d(a: __m128d, b: __m128d) { function assert_eq_m256i (line 385) | pub fn assert_eq_m256i(a: __m256i, b: __m256i) { function test_mm_cvtsi128_si64 (line 393) | unsafe fn test_mm_cvtsi128_si64() { function test_mm_cvtepi8_epi16 (line 402) | unsafe fn test_mm_cvtepi8_epi16() { function test_mm_extract_epi8 (line 415) | unsafe fn test_mm_extract_epi8() { function test_mm_insert_epi16 (line 429) | unsafe fn test_mm_insert_epi16() { function test_mm_shuffle_epi8 (line 438) | unsafe fn test_mm_shuffle_epi8() { function str_to_m128i (line 464) | unsafe fn str_to_m128i(s: &[u8]) -> __m128i { function test_mm_cmpestri (line 476) | unsafe fn test_mm_cmpestri() { function test_mm256_shuffle_epi8 (line 487) | unsafe fn test_mm256_shuffle_epi8() { function test_mm256_permute2x128_si256 (line 515) | unsafe fn test_mm256_permute2x128_si256() { function test_mm256_permutevar8x32_epi32 (line 525) | unsafe fn test_mm256_permutevar8x32_epi32() { function test_mm_cvtps_epi32 (line 536) | unsafe fn test_mm_cvtps_epi32() { function test_mm_cvttps_epi32 (line 555) | unsafe fn test_mm_cvttps_epi32() { function test_mm_cvtps_ph (line 575) | unsafe fn test_mm_cvtps_ph() { function test_xmm_roundtrip (line 589) | unsafe fn test_xmm_roundtrip() { function test_ymm_roundtrip (line 609) | unsafe fn test_ymm_roundtrip() { function test_zmm_roundtrip (line 629) | unsafe fn test_zmm_roundtrip() { function test_checked_mul (line 646) | fn test_checked_mul() { type LoopState (line 668) | enum LoopState { type Instruction (line 673) | pub enum Instruction { function map (line 678) | fn map(a: Option<(u8, Box)>) -> Option> { FILE: compiler/rustc_codegen_cranelift/example/subslice-patterns-const-eval.rs type N (line 8) | struct N(u8); type Z (line 11) | struct Z; function main (line 73) | fn main() { FILE: compiler/rustc_codegen_cranelift/example/track-caller-attribute.rs function tracked (line 8) | fn tracked() -> &'static Location<'static> { function nested_intrinsic (line 12) | fn nested_intrinsic() -> &'static Location<'static> { function nested_tracked (line 16) | fn nested_tracked() -> &'static Location<'static> { function main (line 20) | fn main() { FILE: compiler/rustc_codegen_cranelift/scripts/cargo-clif.rs function main (line 8) | fn main() { FILE: compiler/rustc_codegen_cranelift/scripts/filter_profile.rs function main (line 20) | fn main() -> Result<(), Box> { FILE: compiler/rustc_codegen_cranelift/scripts/jit-helpers.py function jitmap_raw (line 4) | def jitmap_raw(): function jit_functions (line 12) | def jit_functions(): class JitDecorator (line 23) | class JitDecorator(gdb.FrameDecorator.FrameDecorator): method __init__ (line 24) | def __init__(self, fobj, name): method function (line 28) | def function(self): class JitFilter (line 32) | class JitFilter: method __init__ (line 37) | def __init__(self): method filter (line 46) | def filter(self, frame_iter): FILE: compiler/rustc_codegen_cranelift/scripts/rustc-clif.rs function main (line 7) | fn main() { FILE: compiler/rustc_codegen_cranelift/scripts/rustdoc-clif.rs function main (line 7) | fn main() { FILE: compiler/rustc_codegen_cranelift/src/abi/comments.rs function add_args_header_comment (line 10) | pub(super) fn add_args_header_comment(fx: &mut FunctionCx<'_, '_, '_>) { function add_arg_comment (line 18) | pub(super) fn add_arg_comment<'tcx>( function add_locals_header_comment (line 64) | pub(super) fn add_locals_header_comment(fx: &mut FunctionCx<'_, '_, '_>) { function add_local_place_comments (line 73) | pub(super) fn add_local_place_comments<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/abi/mod.rs function clif_sig_from_fn_abi (line 34) | fn clif_sig_from_fn_abi<'tcx>( function conv_to_call_conv (line 50) | pub(crate) fn conv_to_call_conv( function get_function_sig (line 82) | pub(crate) fn get_function_sig<'tcx>( function import_function (line 96) | pub(crate) fn import_function<'tcx>( function get_function_ref (line 118) | pub(crate) fn get_function_ref(&mut self, inst: Instance<'tcx>) -> FuncR... function lib_call (line 129) | pub(crate) fn lib_call( function lib_call_unadjusted (line 182) | fn lib_call_unadjusted( function make_local_place (line 204) | fn make_local_place<'tcx>( function codegen_fn_prelude (line 231) | pub(crate) fn codegen_fn_prelude<'tcx>(fx: &mut FunctionCx<'_, '_, 'tcx>... type CallArgument (line 367) | struct CallArgument<'tcx> { function codegen_call_argument_operand (line 373) | fn codegen_call_argument_operand<'tcx>( function codegen_terminator_call (line 383) | pub(crate) fn codegen_terminator_call<'tcx>( function codegen_drop (line 696) | pub(crate) fn codegen_drop<'tcx>( type CallTarget (line 796) | pub(crate) enum CallTarget { function codegen_call_with_unwind_action (line 801) | pub(crate) fn codegen_call_with_unwind_action( function lib_call_arg_param (line 918) | pub(crate) fn lib_call_arg_param(tcx: TyCtxt<'_>, ty: Type, is_signed: b... FILE: compiler/rustc_codegen_cranelift/src/abi/pass_mode.rs type ArgAbiExt (line 13) | pub(super) trait ArgAbiExt<'tcx> { method get_abi_param (line 14) | fn get_abi_param(&self, tcx: TyCtxt<'tcx>) -> SmallVec<[AbiParam; 2]>; method get_abi_return (line 15) | fn get_abi_return(&self, tcx: TyCtxt<'tcx>) -> (Option, Vec<... function reg_to_abi_param (line 18) | fn reg_to_abi_param(reg: Reg) -> AbiParam { function apply_attrs_to_abi_param (line 35) | fn apply_attrs_to_abi_param(param: AbiParam, arg_attrs: ArgAttributes) -... function cast_target_to_abi_params (line 43) | fn cast_target_to_abi_params(cast: &CastTarget) -> SmallVec<[(Size, AbiP... function get_abi_param (line 98) | fn get_abi_param(&self, tcx: TyCtxt<'tcx>) -> SmallVec<[AbiParam; 2]> { function get_abi_return (line 150) | fn get_abi_return(&self, tcx: TyCtxt<'tcx>) -> (Option, Vec( function from_casted_value (line 217) | pub(super) fn from_casted_value<'tcx>( function adjust_arg_for_abi (line 246) | pub(super) fn adjust_arg_for_abi<'tcx>( function cvalue_for_param (line 281) | pub(super) fn cvalue_for_param<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/abi/returning.rs function codegen_return_param (line 10) | pub(super) fn codegen_return_param<'tcx>( function codegen_with_call_return_arg (line 45) | pub(super) fn codegen_with_call_return_arg<'tcx>( function codegen_return (line 103) | pub(crate) fn codegen_return(fx: &mut FunctionCx<'_, '_, '_>) { FILE: compiler/rustc_codegen_cranelift/src/allocator.rs function codegen (line 14) | pub(crate) fn codegen(tcx: TyCtxt<'_>, module: &mut dyn Module) -> bool { function codegen_inner (line 21) | fn codegen_inner(tcx: TyCtxt<'_>, module: &mut dyn Module, methods: &[Al... FILE: compiler/rustc_codegen_cranelift/src/analyze.rs type SsaKind (line 9) | pub(crate) enum SsaKind { method is_ssa (line 15) | pub(crate) fn is_ssa<'tcx>(self, fx: &FunctionCx<'_, '_, 'tcx>, ty: Ty... function analyze (line 20) | pub(crate) fn analyze(fx: &FunctionCx<'_, '_, '_>) -> IndexVec( function compile_fn (line 149) | pub(crate) fn compile_fn( function verify_func (line 262) | fn verify_func(tcx: TyCtxt<'_>, writer: &crate::pretty_clif::CommentWrit... function codegen_fn_body (line 284) | fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) { function codegen_stmt (line 597) | fn codegen_stmt<'tcx>(fx: &mut FunctionCx<'_, '_, 'tcx>, cur_block: Bloc... function codegen_array_len (line 953) | fn codegen_array_len<'tcx>(fx: &mut FunctionCx<'_, '_, 'tcx>, place: CPl... function codegen_place (line 967) | pub(crate) fn codegen_place<'tcx>( function codegen_operand (line 1038) | pub(crate) fn codegen_operand<'tcx>( function codegen_panic_nounwind (line 1056) | pub(crate) fn codegen_panic_nounwind<'tcx>( function codegen_unwind_terminate (line 1074) | pub(crate) fn codegen_unwind_terminate<'tcx>( function codegen_panic_inner (line 1082) | fn codegen_panic_inner<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/cast.rs function clif_intcast (line 6) | pub(crate) fn clif_intcast( function clif_int_or_float_cast (line 31) | pub(crate) fn clif_int_or_float_cast( FILE: compiler/rustc_codegen_cranelift/src/codegen_f16_f128.rs function f16_to_f32 (line 6) | pub(crate) fn f16_to_f32(fx: &mut FunctionCx<'_, '_, '_>, value: Value) ... function f16_to_f64 (line 19) | fn f16_to_f64(fx: &mut FunctionCx<'_, '_, '_>, value: Value) -> Value { function f32_to_f16 (line 24) | pub(crate) fn f32_to_f16(fx: &mut FunctionCx<'_, '_, '_>, value: Value) ... function f64_to_f16 (line 39) | fn f64_to_f16(fx: &mut FunctionCx<'_, '_, '_>, value: Value) -> Value { function fcmp (line 54) | pub(crate) fn fcmp(fx: &mut FunctionCx<'_, '_, '_>, cc: FloatCC, lhs: Va... function codegen_f128_binop (line 86) | pub(crate) fn codegen_f128_binop( function neg_f16 (line 107) | pub(crate) fn neg_f16(fx: &mut FunctionCx<'_, '_, '_>, value: Value) -> ... function neg_f128 (line 113) | pub(crate) fn neg_f128(fx: &mut FunctionCx<'_, '_, '_>, value: Value) ->... function abs_f16 (line 121) | pub(crate) fn abs_f16(fx: &mut FunctionCx<'_, '_, '_>, value: Value) -> ... function abs_f128 (line 127) | pub(crate) fn abs_f128(fx: &mut FunctionCx<'_, '_, '_>, value: Value) ->... function copysign_f16 (line 135) | pub(crate) fn copysign_f16(fx: &mut FunctionCx<'_, '_, '_>, lhs: Value, ... function copysign_f128 (line 144) | pub(crate) fn copysign_f128(fx: &mut FunctionCx<'_, '_, '_>, lhs: Value,... function codegen_cast (line 156) | pub(crate) fn codegen_cast( function fma_f16 (line 259) | pub(crate) fn fma_f16(fx: &mut FunctionCx<'_, '_, '_>, x: Value, y: Valu... function fmin_f128 (line 267) | pub(crate) fn fmin_f128(fx: &mut FunctionCx<'_, '_, '_>, a: Value, b: Va... function fmax_f128 (line 276) | pub(crate) fn fmax_f128(fx: &mut FunctionCx<'_, '_, '_>, a: Value, b: Va... FILE: compiler/rustc_codegen_cranelift/src/codegen_i128.rs function maybe_codegen (line 7) | pub(crate) fn maybe_codegen<'tcx>( function maybe_codegen_mul_checked (line 51) | pub(crate) fn maybe_codegen_mul_checked<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/common.rs function pointer_ty (line 17) | pub(crate) fn pointer_ty(tcx: TyCtxt<'_>) -> types::Type { function scalar_to_clif_type (line 26) | pub(crate) fn scalar_to_clif_type(tcx: TyCtxt<'_>, scalar: Scalar) -> Ty... function clif_type_from_ty (line 46) | fn clif_type_from_ty<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> Option( function codegen_icmp_imm (line 104) | pub(crate) fn codegen_icmp_imm( function codegen_bitcast (line 148) | pub(crate) fn codegen_bitcast(fx: &mut FunctionCx<'_, '_, '_>, dst_ty: T... function type_zero_value (line 157) | pub(crate) fn type_zero_value(bcx: &mut FunctionBuilder<'_>, ty: Type) -... function type_min_max_value (line 166) | pub(crate) fn type_min_max_value( function type_sign (line 225) | pub(crate) fn type_sign(ty: Ty<'_>) -> bool { function create_wrapper_function (line 234) | pub(crate) fn create_wrapper_function( type FunctionCx (line 270) | pub(crate) struct FunctionCx<'m, 'clif, 'tcx: 'm> { function handle_layout_err (line 303) | fn handle_layout_err(&self, err: LayoutError<'tcx>, span: Span, ty: Ty<'... function handle_fn_abi_err (line 310) | fn handle_fn_abi_err( function tcx (line 321) | fn tcx<'b>(&'b self) -> TyCtxt<'tcx> { function data_layout (line 327) | fn data_layout(&self) -> &rustc_abi::TargetDataLayout { function typing_env (line 333) | fn typing_env(&self) -> ty::TypingEnv<'tcx> { method target_spec (line 339) | fn target_spec(&self) -> &Target { function monomorphize (line 345) | pub(crate) fn monomorphize(&self, value: T) -> T function clif_type (line 356) | pub(crate) fn clif_type(&self, ty: Ty<'tcx>) -> Option { function clif_pair_type (line 360) | pub(crate) fn clif_pair_type(&self, ty: Ty<'tcx>) -> Option<(Type, Type)> { function get_block (line 364) | pub(crate) fn get_block(&self, bb: BasicBlock) -> Block { function get_local_place (line 368) | pub(crate) fn get_local_place(&mut self, local: Local) -> CPlace<'tcx> { function create_stack_slot (line 374) | pub(crate) fn create_stack_slot(&mut self, size: u32, align: u32) -> Poi... function set_debug_loc (line 409) | pub(crate) fn set_debug_loc(&mut self, source_info: mir::SourceInfo) { function get_caller_location (line 420) | pub(crate) fn get_caller_location(&mut self, source_info: mir::SourceInf... type FullyMonomorphizedLayoutCx (line 428) | pub(crate) struct FullyMonomorphizedLayoutCx<'tcx>(pub(crate) TyCtxt<'tc... function handle_layout_err (line 432) | fn handle_layout_err(&self, err: LayoutError<'tcx>, span: Span, ty: Ty<'... function handle_fn_abi_err (line 449) | fn handle_fn_abi_err( function tcx (line 476) | fn tcx<'b>(&'b self) -> TyCtxt<'tcx> { function data_layout (line 482) | fn data_layout(&self) -> &rustc_abi::TargetDataLayout { function typing_env (line 488) | fn typing_env(&self) -> ty::TypingEnv<'tcx> { method target_spec (line 494) | fn target_spec(&self) -> &Target { FILE: compiler/rustc_codegen_cranelift/src/compiler_builtins.rs type size_t (line 11) | type size_t = usize; type CmpResult (line 18) | type CmpResult = i32; constant CMP_RESULT_TY (line 20) | pub(crate) const CMP_RESULT_TY: Type = types::I32; type CmpResult (line 26) | type CmpResult = isize; constant CMP_RESULT_TY (line 29) | pub(crate) const CMP_RESULT_TY: Type = types::I32; constant CMP_RESULT_TY (line 32) | pub(crate) const CMP_RESULT_TY: Type = types::I64; FILE: compiler/rustc_codegen_cranelift/src/concurrency_limiter.rs type ConcurrencyLimiter (line 8) | pub(super) struct ConcurrencyLimiter { method new (line 16) | pub(super) fn new(pending_jobs: usize) -> Self { method acquire (line 48) | pub(super) fn acquire(&self, dcx: DiagCtxtHandle<'_>) -> ConcurrencyLi... method finished (line 80) | pub(crate) fn finished(mut self) { method drop (line 92) | fn drop(&mut self) { type ConcurrencyLimiterToken (line 100) | pub(super) struct ConcurrencyLimiterToken { method drop (line 106) | fn drop(&mut self) { type ConcurrencyLimiterState (line 117) | pub(super) struct ConcurrencyLimiterState { method new (line 129) | pub(super) fn new(pending_jobs: usize) -> Self { method assert_invariants (line 139) | pub(super) fn assert_invariants(&self) { method assert_done (line 147) | pub(super) fn assert_done(&self) { method add_new_token (line 152) | pub(super) fn add_new_token(&mut self, token: Acquired) { method try_start_job (line 157) | pub(super) fn try_start_job(&mut self) -> Result> { method job_started (line 171) | pub(super) fn job_started(&mut self) { method job_finished (line 178) | pub(super) fn job_finished(&mut self) { method poison (line 187) | pub(super) fn poison(&mut self, error: String) { method drop_excess_capacity (line 192) | fn drop_excess_capacity(&mut self) { FILE: compiler/rustc_codegen_cranelift/src/config.rs type BackendConfig (line 3) | pub struct BackendConfig { method from_opts (line 17) | pub fn from_opts(opts: &[String]) -> Result { FILE: compiler/rustc_codegen_cranelift/src/constant.rs type ConstantCx (line 16) | pub(crate) struct ConstantCx { method new (line 28) | pub(crate) fn new() -> Self { method finalize (line 32) | pub(crate) fn finalize(mut self, tcx: TyCtxt<'_>, module: &mut dyn Mod... type TodoItem (line 22) | enum TodoItem { function codegen_static (line 37) | pub(crate) fn codegen_static(tcx: TyCtxt<'_>, module: &mut dyn Module, d... function codegen_tls_ref (line 49) | pub(crate) fn codegen_tls_ref<'tcx>( function eval_mir_constant (line 77) | pub(crate) fn eval_mir_constant<'tcx>( function codegen_constant_operand (line 89) | pub(crate) fn codegen_constant_operand<'tcx>( function codegen_const_value (line 97) | pub(crate) fn codegen_const_value<'tcx>( function pointer_for_allocation (line 231) | fn pointer_for_allocation<'tcx>(fx: &mut FunctionCx<'_, '_, 'tcx>, alloc... function data_id_for_alloc_id (line 243) | fn data_id_for_alloc_id( function data_id_for_vtable (line 255) | pub(crate) fn data_id_for_vtable<'tcx>( function pointer_for_anonymous_str (line 266) | pub(crate) fn pointer_for_anonymous_str(fx: &mut FunctionCx<'_, '_, '_>,... function data_id_for_static (line 271) | fn data_id_for_static( function define_all_allocs (line 368) | fn define_all_allocs(tcx: TyCtxt<'_>, module: &mut dyn Module, cx: &mut ... function mir_operand_get_const_val (line 538) | pub(crate) fn mir_operand_get_const_val<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/debuginfo/emit.rs function address_for_func (line 12) | pub(super) fn address_for_func(func_id: FuncId) -> Address { function address_for_data (line 18) | pub(super) fn address_for_data(data_id: DataId) -> Address { method emit (line 25) | pub(crate) fn emit(&mut self, product: &mut ObjectProduct) { type DebugReloc (line 55) | pub(crate) struct DebugReloc { type DebugRelocName (line 64) | pub(crate) enum DebugRelocName { type WriterRelocate (line 71) | pub(super) struct WriterRelocate { method new (line 77) | pub(super) fn new(endian: RunTimeEndian) -> Self { method relocate_for_jit (line 83) | pub(super) fn relocate_for_jit(mut self, jit_module: &cranelift_jit::J... type Endian (line 124) | type Endian = RunTimeEndian; method endian (line 126) | fn endian(&self) -> Self::Endian { method len (line 130) | fn len(&self) -> usize { method write (line 134) | fn write(&mut self, bytes: &[u8]) -> Result<()> { method write_at (line 138) | fn write_at(&mut self, offset: usize, bytes: &[u8]) -> Result<()> { method write_address (line 142) | fn write_address(&mut self, address: Address, size: u8) -> Result<()> { method write_offset (line 159) | fn write_offset(&mut self, val: usize, section: SectionId, size: u8) -> ... method write_offset_at (line 171) | fn write_offset_at( method write_eh_pointer (line 188) | fn write_eh_pointer(&mut self, address: Address, eh_pe: gimli::DwEhPe, s... FILE: compiler/rustc_codegen_cranelift/src/debuginfo/gcc_except_table.rs type GccExceptTable (line 4) | pub(super) struct GccExceptTable { method write (line 11) | pub(super) fn write( type CallSiteTable (line 92) | pub(super) struct CallSiteTable(pub Vec); method encoded_size (line 95) | fn encoded_size(&self) -> u64 { method write (line 101) | fn write(&self, w: &mut W) -> gimli::write::Result<()> { type CallSite (line 117) | pub(super) struct CallSite { method encoded_size (line 125) | fn encoded_size(&self) -> u64 { method write (line 131) | fn write(&self, w: &mut W) -> gimli::write::Result<()> { type ActionTable (line 143) | pub(super) struct ActionTable { method new (line 149) | pub(super) fn new() -> ActionTable { method add (line 153) | pub(super) fn add(&mut self, action: Action) -> ActionOffset { method encoded_size (line 160) | fn encoded_size(&self) -> u64 { method write (line 166) | fn write(&self, w: &mut W) -> gimli::write::Result<()> { type ActionOffset (line 177) | pub(super) struct ActionOffset(u64); type Action (line 179) | pub(super) struct Action { method encoded_size (line 185) | fn encoded_size(&self, action_table_offset: u64) -> u64 { method write (line 191) | fn write(&self, w: &mut W, action_table_offset: u64) -> gim... type ActionKind (line 211) | pub(super) enum ActionKind { type TypeInfoTable (line 215) | pub(super) struct TypeInfoTable { method new (line 221) | pub(super) fn new(ttype_encoding: gimli::DwEhPe) -> TypeInfoTable { method add (line 225) | pub(super) fn add(&mut self, type_info: Address) -> TypeInfoId { method encoded_size (line 231) | fn encoded_size(&self, encoding: Encoding) -> u64 { method write (line 237) | fn write(&self, w: &mut W, encoding: Encoding) -> gimli::wr... type TypeInfoId (line 247) | pub(super) struct TypeInfoId(u64); type LenWriter (line 249) | struct LenWriter(usize); type Endian (line 252) | type Endian = LittleEndian; method endian (line 254) | fn endian(&self) -> LittleEndian { method len (line 258) | fn len(&self) -> usize { method write (line 262) | fn write(&mut self, bytes: &[u8]) -> gimli::write::Result<()> { method write_at (line 267) | fn write_at(&mut self, offset: usize, bytes: &[u8]) -> gimli::write::Res... FILE: compiler/rustc_codegen_cranelift/src/debuginfo/line_info.rs function split_path_dir_and_file (line 19) | fn split_path_dir_and_file(path: &Path) -> (&Path, &OsStr) { function osstr_as_utf8_bytes (line 36) | fn osstr_as_utf8_bytes(path: &OsStr) -> &[u8] { function make_file_info (line 48) | fn make_file_info(source_file: &SourceFile, embed_source: bool) -> Optio... method get_span_loc (line 72) | pub(crate) fn get_span_loc( method add_source_file (line 92) | pub(crate) fn add_source_file(&mut self, source_file: &SourceFile) -> Fi... method add_dbg_loc (line 138) | pub(crate) fn add_dbg_loc(&mut self, file_id: FileId, line: u64, column:... method create_debug_lines (line 143) | pub(super) fn create_debug_lines( FILE: compiler/rustc_codegen_cranelift/src/debuginfo/mod.rs function producer (line 33) | pub(crate) fn producer(sess: &Session) -> String { type DebugContext (line 37) | pub(crate) struct DebugContext { method new (line 57) | pub(crate) fn new( method item_namespace (line 186) | fn item_namespace(&mut self, tcx: TyCtxt<'_>, def_id: DefId) -> UnitEn... method define_function (line 212) | pub(crate) fn define_function<'tcx>( method define_static (line 295) | pub(crate) fn define_static<'tcx>( type FunctionDebugContext (line 50) | pub(crate) struct FunctionDebugContext { method finalize (line 358) | pub(crate) fn finalize( FILE: compiler/rustc_codegen_cranelift/src/debuginfo/object.rs type WriteDebugInfo (line 10) | pub(super) trait WriteDebugInfo { method add_debug_section (line 13) | fn add_debug_section(&mut self, name: SectionId, data: Vec) -> Sel... method add_debug_reloc (line 14) | fn add_debug_reloc( type SectionId (line 23) | type SectionId = (object::write::SectionId, object::write::SymbolId); method add_debug_section (line 25) | fn add_debug_section( method add_debug_reloc (line 57) | fn add_debug_reloc( FILE: compiler/rustc_codegen_cranelift/src/debuginfo/types.rs type TypeDebugContext (line 12) | pub(crate) struct TypeDebugContext<'tcx> { method debug_type (line 27) | pub(crate) fn debug_type<'tcx>( method basic_type (line 70) | fn basic_type<'tcx>(&mut self, tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> UnitE... method array_type (line 94) | fn array_type<'tcx>( method pointer_type (line 120) | fn pointer_type<'tcx>( method tuple_type (line 148) | fn tuple_type<'tcx>( method placeholder_for_type (line 193) | fn placeholder_for_type<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/debuginfo/unwind.rs constant EXCEPTION_HANDLER_CLEANUP (line 18) | pub(crate) const EXCEPTION_HANDLER_CLEANUP: u32 = 0; constant EXCEPTION_HANDLER_CATCH (line 19) | pub(crate) const EXCEPTION_HANDLER_CATCH: u32 = 1; type UnwindContext (line 21) | pub(crate) struct UnwindContext { method new (line 28) | pub(crate) fn new(module: &mut dyn Module, pic_eh_frame: bool) -> Self { method add_function (line 117) | pub(crate) fn add_function( method emit (line 243) | pub(crate) fn emit(self, product: &mut ObjectProduct) { method register_jit (line 260) | pub(crate) unsafe fn register_jit(self, _jit_module: &cranelift_jit::J... method register_jit (line 263) | pub(crate) unsafe fn register_jit(self, jit_module: &cranelift_jit::JI... function __register_frame (line 315) | fn __register_frame(fde: *const u8); FILE: compiler/rustc_codegen_cranelift/src/discriminant.rs function codegen_set_discriminant (line 11) | pub(crate) fn codegen_set_discriminant<'tcx>( function codegen_get_discriminant (line 76) | pub(crate) fn codegen_get_discriminant<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/driver/aot.rs function disable_incr_cache (line 33) | fn disable_incr_cache() -> bool { type ModuleCodegenResult (line 37) | struct ModuleCodegenResult { type OngoingModuleCodegen (line 43) | enum OngoingModuleCodegen { method hash_stable (line 49) | fn hash_stable(&self, _: &mut Hcx, _: &mut StableHasher) { type OngoingCodegen (line 54) | pub(crate) struct OngoingCodegen { method join (line 61) | pub(crate) fn join( function make_module (line 132) | fn make_module(sess: &Session, name: String) -> UnwindModule) -> Option { function run_aot (line 476) | pub(crate) fn run_aot(tcx: TyCtxt<'_>) -> Box { FILE: compiler/rustc_codegen_cranelift/src/driver/jit.rs function create_jit_module (line 19) | fn create_jit_module( function run_jit (line 36) | pub(crate) fn run_jit(tcx: TyCtxt<'_>, crate_info: &CrateInfo, jit_args:... function codegen_and_compile_fn (line 120) | fn codegen_and_compile_fn<'tcx>( function dep_symbol_lookup_fn (line 170) | fn dep_symbol_lookup_fn( FILE: compiler/rustc_codegen_cranelift/src/driver/mod.rs function predefine_mono_items (line 17) | fn predefine_mono_items<'tcx>( type MeasuremeProfiler (line 54) | struct MeasuremeProfiler(SelfProfilerRef); method start_pass (line 71) | fn start_pass(&self, pass: cranelift_codegen::timing::Pass) -> Box { function codegen_global_asm (line 26) | fn codegen_global_asm( function mangled_name (line 36) | fn mangled_name(&self, instance: Instance<'tcx>) -> String { function handle_layout_err (line 44) | fn handle_layout_err(&self, err: LayoutError<'tcx>, span: Span, ty: Ty<'... function handle_fn_abi_err (line 61) | fn handle_fn_abi_err( function tcx (line 72) | fn tcx<'b>(&'b self) -> TyCtxt<'tcx> { function data_layout (line 78) | fn data_layout(&self) -> &rustc_abi::TargetDataLayout { function typing_env (line 84) | fn typing_env(&self) -> ty::TypingEnv<'tcx> { function codegen_global_asm_inner (line 89) | fn codegen_global_asm_inner<'tcx>( type GlobalAsmConfig (line 163) | pub(crate) struct GlobalAsmConfig { method new (line 170) | pub(crate) fn new(tcx: TyCtxt<'_>) -> Self { function compile_global_asm (line 184) | pub(crate) fn compile_global_asm( function add_file_stem_postfix (line 273) | pub(crate) fn add_file_stem_postfix(mut path: PathBuf, postfix: &str) ->... FILE: compiler/rustc_codegen_cranelift/src/inline_asm.rs type CInlineAsmOperand (line 17) | pub(crate) enum CInlineAsmOperand<'tcx> { function codegen_inline_asm_terminator (line 41) | pub(crate) fn codegen_inline_asm_terminator<'tcx>( function codegen_inline_asm_inner (line 177) | pub(crate) fn codegen_inline_asm_inner<'tcx>( type InlineAssemblyGenerator (line 237) | struct InlineAssemblyGenerator<'a, 'tcx> { function allocate_registers (line 252) | fn allocate_registers(&mut self) { function allocate_stack_slots (line 375) | fn allocate_stack_slots(&mut self) { function generate_asm_wrapper (line 475) | fn generate_asm_wrapper(&self, asm_name: &str) -> String { function prologue (line 661) | fn prologue(generated_asm: &mut String, arch: InlineAsmArch) { function epilogue (line 688) | fn epilogue(generated_asm: &mut String, arch: InlineAsmArch) { function epilogue_noreturn (line 710) | fn epilogue_noreturn(generated_asm: &mut String, arch: InlineAsmArch) { function save_register (line 725) | fn save_register( function restore_register (line 775) | fn restore_register( function call_inline_asm (line 825) | fn call_inline_asm<'tcx>( function asm_clif_type (line 880) | fn asm_clif_type<'tcx>(fx: &FunctionCx<'_, '_, 'tcx>, ty: Ty<'tcx>) -> O... FILE: compiler/rustc_codegen_cranelift/src/intrinsics/llvm.rs function codegen_llvm_intrinsic_call (line 6) | pub(crate) fn codegen_llvm_intrinsic_call<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/intrinsics/llvm_aarch64.rs function codegen_aarch64_llvm_intrinsic_call (line 10) | pub(super) fn codegen_aarch64_llvm_intrinsic_call<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/intrinsics/llvm_x86.rs function codegen_x86_llvm_intrinsic_call (line 10) | pub(super) fn codegen_x86_llvm_intrinsic_call<'tcx>( function llvm_add_sub (line 1368) | fn llvm_add_sub<'tcx>( type PackSize (line 1395) | enum PackSize { method ret_clif_type (line 1403) | fn ret_clif_type(&self) -> Type { method src_clif_type (line 1409) | fn src_clif_type(&self) -> Type { method src_ty (line 1415) | fn src_ty<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx> { method ret_ty (line 1421) | fn ret_ty<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx> { method max (line 1429) | fn max(&self) -> i64 { method min (line 1437) | fn min(&self) -> i64 { type PackWidth (line 1446) | enum PackWidth { method divisor (line 1451) | fn divisor(&self) -> u64 { function pack_instruction (line 1461) | fn pack_instruction<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs function bug_on_incorrect_arg_count (line 36) | fn bug_on_incorrect_arg_count(intrinsic: impl std::fmt::Display) -> ! { function report_atomic_type_validation_error (line 40) | fn report_atomic_type_validation_error<'tcx>( function clif_vector_type (line 57) | pub(crate) fn clif_vector_type<'tcx>(tcx: TyCtxt<'tcx>, layout: TyAndLay... function simd_for_each_lane (line 66) | fn simd_for_each_lane<'tcx>( function simd_pair_for_each_lane_typed (line 90) | fn simd_pair_for_each_lane_typed<'tcx>( function simd_pair_for_each_lane (line 114) | fn simd_pair_for_each_lane<'tcx>( function simd_horizontal_pair_for_each_lane (line 141) | fn simd_horizontal_pair_for_each_lane<'tcx>( function simd_trio_for_each_lane (line 171) | fn simd_trio_for_each_lane<'tcx>( function simd_reduce (line 200) | fn simd_reduce<'tcx>( function simd_reduce_bool (line 222) | fn simd_reduce_bool<'tcx>( function bool_to_zero_or_max_uint (line 247) | fn bool_to_zero_or_max_uint<'tcx>( function codegen_intrinsic_call (line 271) | pub(crate) fn codegen_intrinsic_call<'tcx>( function codegen_float_intrinsic_call (line 310) | fn codegen_float_intrinsic_call<'tcx>( function codegen_regular_intrinsic_call (line 508) | fn codegen_regular_intrinsic_call<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/intrinsics/simd.rs function report_simd_type_validation_error (line 10) | fn report_simd_type_validation_error( function codegen_simd_intrinsic_call (line 21) | pub(super) fn codegen_simd_intrinsic_call<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/lib.rs type PrintOnPanic (line 113) | struct PrintOnPanic String>(F); method drop (line 115) | fn drop(&mut self) { type CraneliftCodegenBackend (line 122) | pub struct CraneliftCodegenBackend { method name (line 127) | fn name(&self) -> &'static str { method init (line 131) | fn init(&self, sess: &Session) { method target_config (line 155) | fn target_config(&self, sess: &Session) -> TargetConfig { method print_version (line 199) | fn print_version(&self) { method target_cpu (line 203) | fn target_cpu(&self, sess: &Session) -> String { method codegen_crate (line 212) | fn codegen_crate(&self, tcx: TyCtxt<'_>, _crate_info: &CrateInfo) -> Box... method join_codegen (line 226) | fn join_codegen( function enable_verifier (line 240) | fn enable_verifier(sess: &Session) -> bool { function target_triple (line 246) | fn target_triple(sess: &Session) -> target_lexicon::Triple { function build_isa (line 253) | fn build_isa(sess: &Session, jit: bool) -> Arc { function __rustc_codegen_backend (line 362) | pub fn __rustc_codegen_backend() -> Box { FILE: compiler/rustc_codegen_cranelift/src/linkage.rs function get_clif_linkage (line 6) | pub(crate) fn get_clif_linkage( function get_static_linkage (line 22) | pub(crate) fn get_static_linkage(tcx: TyCtxt<'_>, def_id: DefId) -> Link... FILE: compiler/rustc_codegen_cranelift/src/main_shim.rs function maybe_create_entry_wrapper (line 11) | pub(crate) fn maybe_create_entry_wrapper( FILE: compiler/rustc_codegen_cranelift/src/num.rs function bin_op_to_intcc (line 6) | fn bin_op_to_intcc(bin_op: BinOp, signed: bool) -> IntCC { function codegen_three_way_compare (line 44) | fn codegen_three_way_compare<'tcx>( function codegen_compare_bin_op (line 60) | fn codegen_compare_bin_op<'tcx>( function codegen_binop (line 72) | pub(crate) fn codegen_binop<'tcx>( function codegen_bool_binop (line 113) | fn codegen_bool_binop<'tcx>( function codegen_int_binop (line 134) | pub(crate) fn codegen_int_binop<'tcx>( function codegen_checked_int_binop (line 201) | pub(crate) fn codegen_checked_int_binop<'tcx>( function codegen_saturating_int_binop (line 307) | pub(crate) fn codegen_saturating_int_binop<'tcx>( function codegen_float_binop (line 343) | pub(crate) fn codegen_float_binop<'tcx>( function codegen_ptr_binop (line 438) | fn codegen_ptr_binop<'tcx>( function codegen_float_min (line 505) | pub(crate) fn codegen_float_min(fx: &mut FunctionCx<'_, '_, '_>, a: Valu... function codegen_float_max (line 514) | pub(crate) fn codegen_float_max(fx: &mut FunctionCx<'_, '_, '_>, a: Valu... FILE: compiler/rustc_codegen_cranelift/src/optimize/peephole.rs function maybe_unwrap_bool_not (line 9) | pub(crate) fn maybe_unwrap_bool_not(bcx: &mut FunctionBuilder<'_>, arg: ... function maybe_known_branch_taken (line 27) | pub(crate) fn maybe_known_branch_taken( FILE: compiler/rustc_codegen_cranelift/src/pointer.rs type Pointer (line 11) | pub(crate) struct Pointer { method new (line 24) | pub(crate) fn new(addr: Value) -> Self { method stack_slot (line 28) | pub(crate) fn stack_slot(stack_slot: StackSlot) -> Self { method dangling (line 32) | pub(crate) fn dangling(align: Align) -> Self { method debug_base_and_offset (line 36) | pub(crate) fn debug_base_and_offset(self) -> (PointerBase, Offset32) { method get_addr (line 40) | pub(crate) fn get_addr(self, fx: &mut FunctionCx<'_, '_, '_>) -> Value { method offset (line 55) | pub(crate) fn offset(self, fx: &mut FunctionCx<'_, '_, '_>, extra_offs... method offset_i64 (line 59) | pub(crate) fn offset_i64(self, fx: &mut FunctionCx<'_, '_, '_>, extra_... method offset_value (line 85) | pub(crate) fn offset_value(self, fx: &mut FunctionCx<'_, '_, '_>, extr... method load (line 109) | pub(crate) fn load(self, fx: &mut FunctionCx<'_, '_, '_>, ty: Type, fl... method store (line 117) | pub(crate) fn store(self, fx: &mut FunctionCx<'_, '_, '_>, value: Valu... type PointerBase (line 17) | pub(crate) enum PointerBase { FILE: compiler/rustc_codegen_cranelift/src/pretty_clif.rs type CommentWriter (line 74) | pub(crate) struct CommentWriter { method new (line 82) | pub(crate) fn new<'tcx>( method enabled (line 111) | pub(crate) fn enabled(&self) -> bool { method add_global_comment (line 115) | pub(crate) fn add_global_comment>(&mut self, comment: ... method add_comment (line 120) | pub(crate) fn add_comment + AsRef, E: Into + AsRef>( method write_preamble (line 160) | fn write_preamble( method write_entity_definition (line 179) | fn write_entity_definition( method write_block_header (line 200) | fn write_block_header( method write_instruction (line 210) | fn write_instruction( function add_global_comment (line 230) | pub(crate) fn add_global_comment>(&mut self, comment: S) { function add_comment (line 234) | pub(crate) fn add_comment + AsRef, E: Into + AsRef>( function should_write_ir (line 251) | pub(crate) fn should_write_ir(sess: &Session) -> bool { function write_ir_file (line 255) | pub(crate) fn write_ir_file( function write_clif_file (line 279) | pub(crate) fn write_clif_file( function fmt (line 307) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_codegen_cranelift/src/toolchain.rs function get_toolchain_binary (line 9) | pub(crate) fn get_toolchain_binary(sess: &Session, tool: &str) -> PathBuf { FILE: compiler/rustc_codegen_cranelift/src/unsize.rs function unsized_info (line 20) | pub(crate) fn unsized_info<'tcx>( function unsize_ptr (line 73) | fn unsize_ptr<'tcx>( function coerce_unsized_into (line 115) | pub(crate) fn coerce_unsized_into<'tcx>( function size_and_align_of (line 167) | pub(crate) fn size_and_align_of<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/unwind_module.rs type UnwindModule (line 14) | pub(crate) struct UnwindModule { function new (line 20) | pub(crate) fn new(mut module: T, pic_eh_frame: bool) -> Self { function finish (line 27) | pub(crate) fn finish(self) -> ObjectProduct { function finalize_definitions (line 36) | pub(crate) fn finalize_definitions(mut self) -> cranelift_jit::JITModule { method isa (line 44) | fn isa(&self) -> &dyn TargetIsa { method declarations (line 48) | fn declarations(&self) -> &ModuleDeclarations { method get_name (line 52) | fn get_name(&self, name: &str) -> Option { method target_config (line 56) | fn target_config(&self) -> TargetFrontendConfig { method declare_function (line 60) | fn declare_function( method declare_anonymous_function (line 69) | fn declare_anonymous_function(&mut self, signature: &Signature) -> Modul... method declare_data (line 73) | fn declare_data( method declare_anonymous_data (line 83) | fn declare_anonymous_data(&mut self, writable: bool, tls: bool) -> Modul... method define_function_with_control_plane (line 87) | fn define_function_with_control_plane( method define_function_bytes (line 98) | fn define_function_bytes( method define_data (line 108) | fn define_data(&mut self, data_id: DataId, data: &DataDescription) -> Mo... FILE: compiler/rustc_codegen_cranelift/src/value_and_place.rs function codegen_field (line 11) | fn codegen_field<'tcx>( function scalar_pair_calculate_b_offset (line 58) | fn scalar_pair_calculate_b_offset(tcx: TyCtxt<'_>, a_scalar: Scalar, b_s... type CValue (line 65) | pub(crate) struct CValue<'tcx>(CValueInner, TyAndLayout<'tcx>); type CValueInner (line 68) | enum CValueInner { function by_ref (line 75) | pub(crate) fn by_ref(ptr: Pointer, layout: TyAndLayout<'tcx>) -> CValue<... function by_ref_unsized (line 79) | pub(crate) fn by_ref_unsized( function by_val (line 87) | pub(crate) fn by_val(value: Value, layout: TyAndLayout<'tcx>) -> CValue<... function by_val_pair (line 91) | pub(crate) fn by_val_pair( function zst (line 102) | pub(crate) fn zst(layout: TyAndLayout<'tcx>) -> CValue<'tcx> { function layout (line 107) | pub(crate) fn layout(&self) -> TyAndLayout<'tcx> { function force_stack (line 112) | pub(crate) fn force_stack(self, fx: &mut FunctionCx<'_, '_, 'tcx>) -> (P... function try_to_ptr (line 124) | pub(crate) fn try_to_ptr(self) -> Option<(Pointer, Option)> { function load_scalar (line 133) | pub(crate) fn load_scalar(self, fx: &mut FunctionCx<'_, '_, 'tcx>) -> Va... function load_scalar_pair (line 158) | pub(crate) fn load_scalar_pair(self, fx: &mut FunctionCx<'_, '_, 'tcx>) ... function value_field (line 183) | pub(crate) fn value_field( function value_lane (line 213) | pub(crate) fn value_lane( function value_typed_lane (line 237) | pub(crate) fn value_typed_lane( function value_lane_dyn (line 263) | pub(crate) fn value_lane_dyn( function const_val (line 285) | pub(crate) fn const_val( function cast_pointer_to (line 339) | pub(crate) fn cast_pointer_to(self, layout: TyAndLayout<'tcx>) -> Self { function cast_pat_ty_to_base (line 346) | pub(crate) fn cast_pat_ty_to_base(self, layout: TyAndLayout<'tcx>) -> Se... type CPlace (line 357) | pub(crate) struct CPlace<'tcx> { type CPlaceInner (line 363) | enum CPlaceInner { function layout (line 370) | pub(crate) fn layout(&self) -> TyAndLayout<'tcx> { function new_stack_slot (line 374) | pub(crate) fn new_stack_slot( function new_var (line 399) | pub(crate) fn new_var( function new_var_pair (line 408) | pub(crate) fn new_var_pair( function for_ptr (line 419) | pub(crate) fn for_ptr(ptr: Pointer, layout: TyAndLayout<'tcx>) -> CPlace... function for_ptr_with_extra (line 423) | pub(crate) fn for_ptr_with_extra( function to_cvalue (line 431) | pub(crate) fn to_cvalue(self, fx: &mut FunctionCx<'_, '_, 'tcx>) -> CVal... function debug_comment (line 456) | pub(crate) fn debug_comment(self) -> (&'static str, String) { function to_ptr (line 481) | pub(crate) fn to_ptr(self) -> Pointer { function to_ptr_unsized (line 492) | pub(crate) fn to_ptr_unsized(self) -> (Pointer, Value) { function try_to_ptr (line 501) | pub(crate) fn try_to_ptr(self) -> Option { function write_cvalue (line 509) | pub(crate) fn write_cvalue(self, fx: &mut FunctionCx<'_, '_, 'tcx>, from... function write_cvalue_transmute (line 515) | pub(crate) fn write_cvalue_transmute( function write_cvalue_maybe_transmute (line 523) | fn write_cvalue_maybe_transmute( function place_transmute_type (line 666) | pub(crate) fn place_transmute_type( function place_field (line 674) | pub(crate) fn place_field( function place_lane (line 711) | pub(crate) fn place_lane( function place_typed_lane (line 736) | pub(crate) fn place_typed_lane( function write_lane_dyn (line 763) | pub(crate) fn write_lane_dyn( function place_index (line 791) | pub(crate) fn place_index( function place_deref (line 815) | pub(crate) fn place_deref(self, fx: &mut FunctionCx<'_, '_, 'tcx>) -> CP... function place_ref (line 825) | pub(crate) fn place_ref( function downcast_variant (line 838) | pub(crate) fn downcast_variant( function assert_assignable (line 850) | pub(crate) fn assert_assignable<'tcx>( FILE: compiler/rustc_codegen_cranelift/src/vtable.rs function vtable_memflags (line 8) | pub(crate) fn vtable_memflags() -> MemFlags { function drop_fn_of_obj (line 14) | pub(crate) fn drop_fn_of_obj(fx: &mut FunctionCx<'_, '_, '_>, vtable: Va... function size_of_obj (line 24) | pub(crate) fn size_of_obj(fx: &mut FunctionCx<'_, '_, '_>, vtable: Value... function align_of_obj (line 34) | pub(crate) fn align_of_obj(fx: &mut FunctionCx<'_, '_, '_>, vtable: Valu... function get_ptr_and_method_ref (line 44) | pub(crate) fn get_ptr_and_method_ref<'tcx>( function get_vtable (line 77) | pub(crate) fn get_vtable<'tcx>( FILE: compiler/rustc_codegen_gcc/build_system/src/abi_test.rs function show_usage (line 6) | fn show_usage() { function run (line 14) | pub fn run() -> Result<(), String> { FILE: compiler/rustc_codegen_gcc/build_system/src/build.rs type BuildArg (line 13) | struct BuildArg { method new (line 21) | fn new() -> Result, String> { method usage (line 45) | fn usage() { function cleanup_sysroot_previous_build (line 65) | fn cleanup_sysroot_previous_build(library_dir: &Path) { function build_sysroot (line 109) | pub fn build_sysroot(env: &HashMap, config: &ConfigInfo)... function build_codegen (line 206) | fn build_codegen(args: &mut BuildArg) -> Result<(), String> { function run (line 244) | pub fn run() -> Result<(), String> { FILE: compiler/rustc_codegen_gcc/build_system/src/clean.rs type CleanArg (line 7) | enum CleanArg { method new (line 18) | fn new() -> Result { function usage (line 32) | fn usage() { function clean_all (line 44) | fn clean_all() -> Result<(), String> { function clean_ui_tests (line 71) | fn clean_ui_tests() -> Result<(), String> { function run (line 82) | pub fn run() -> Result<(), String> { FILE: compiler/rustc_codegen_gcc/build_system/src/clone_gcc.rs function show_usage (line 6) | fn show_usage() { type Args (line 18) | struct Args { method new (line 24) | fn new() -> Result, String> { function run (line 59) | pub fn run() -> Result<(), String> { FILE: compiler/rustc_codegen_gcc/build_system/src/config.rs type Channel (line 15) | pub enum Channel { method as_str (line 22) | pub fn as_str(self) -> &'static str { function failed_config_parsing (line 30) | fn failed_config_parsing(config_file: &Path, err: &str) -> Result Result { type ConfigInfo (line 100) | pub struct ConfigInfo { method parse_argument (line 129) | pub fn parse_argument( method rustc_command_vec (line 200) | pub fn rustc_command_vec(&self) -> Vec<&dyn AsRef> { method get_gcc_commit (line 208) | pub fn get_gcc_commit(&self) -> Result { method download_gccjit_if_needed (line 229) | fn download_gccjit_if_needed(&mut self) -> Result<(), String> { method compute_path (line 275) | pub fn compute_path>(&self, other: P) -> PathBuf { method setup_gcc_path (line 282) | pub fn setup_gcc_path(&mut self) -> Result<(), String> { method setup (line 313) | pub fn setup( method show_usage (line 460) | pub fn show_usage() { function download_gccjit (line 477) | fn download_gccjit( FILE: compiler/rustc_codegen_gcc/build_system/src/fmt.rs function show_usage (line 6) | fn show_usage() { function run (line 16) | pub fn run() -> Result<(), String> { function run_rustfmt_recursively (line 40) | fn run_rustfmt_recursively

(dir: P, check: bool) -> Result<(), String> FILE: compiler/rustc_codegen_gcc/build_system/src/fuzz.rs function show_usage (line 8) | fn show_usage() { function run (line 20) | pub fn run() -> Result<(), String> { function fuzz_range (line 84) | fn fuzz_range(start: u64, end: u64, threads: usize) { function debug_llvm (line 164) | fn debug_llvm(path: &std::path::Path) -> Result, String> { function release_gcc (line 196) | fn release_gcc(path: &std::path::Path) -> Result, String> { type ResultCache (line 228) | type ResultCache = Option<(Vec, Vec)>; function test (line 230) | fn test(seed: u64, print_tmp_vars: bool) -> Result Result, path: &PathBuf) { function match_to_goto (line 128) | fn match_to_goto(file: &mut Vec, path: &PathBuf, cache: &mut Res... function block_abort (line 177) | fn block_abort(file: &mut Vec, path: &PathBuf, cache: &mut Resul... function remove_block (line 223) | fn remove_block(file: &mut Vec, path: &PathBuf, cache: &mut Resu... function linearize_cf (line 264) | fn linearize_cf(file: &mut Vec, path: &PathBuf, cache: &mut Resu... function remove_fn_calls (line 314) | fn remove_fn_calls(file: &mut Vec, path: &PathBuf, cache: &mut R... function remove_fns (line 361) | fn remove_fns(file: &mut Vec, path: &PathBuf, cache: &mut Result... function reduce (line 396) | pub(super) fn reduce(path: impl AsRef) { FILE: compiler/rustc_codegen_gcc/build_system/src/info.rs function run (line 3) | pub fn run() -> Result<(), String> { FILE: compiler/rustc_codegen_gcc/build_system/src/main.rs constant BUILD_DIR (line 16) | const BUILD_DIR: &str = "build"; function usage (line 27) | fn usage() { type Command (line 52) | pub enum Command { function main (line 66) | fn main() { FILE: compiler/rustc_codegen_gcc/build_system/src/prepare.rs constant GIT_CMD (line 15) | const GIT_CMD: [&dyn AsRef; 9] = [ function run_git_command (line 27) | fn run_git_command( function run_git_command_with_output (line 37) | fn run_git_command_with_output( function prepare_libcore (line 47) | fn prepare_libcore( function prepare_rand (line 152) | fn prepare_rand() -> Result<(), String> { function build_raytracer (line 170) | fn build_raytracer(repo_dir: &Path) -> Result<(), String> { function clone_and_setup (line 180) | fn clone_and_setup(repo_url: &str, checkout_commit: &str, extra: Opti... type PrepareArg (line 197) | struct PrepareArg { method new (line 205) | fn new() -> Result, String> { method usage (line 236) | fn usage() { function run (line 250) | pub fn run() -> Result<(), String> { FILE: compiler/rustc_codegen_gcc/build_system/src/rust_tools.rs function args (line 10) | fn args(command: &str) -> Result>, String> { function usage (line 25) | fn usage(command: &str) { type RustcTools (line 36) | struct RustcTools { method new (line 44) | fn new(command: &str) -> Result, String> { function exec (line 97) | fn exec(input: &[&dyn AsRef], env: &HashMap) -> R... function run_cargo (line 117) | pub fn run_cargo() -> Result<(), String> { function run_rustc (line 128) | pub fn run_rustc() -> Result<(), String> { FILE: compiler/rustc_codegen_gcc/build_system/src/rustc_info.rs function get_rustc_path (line 5) | pub fn get_rustc_path() -> Option { FILE: compiler/rustc_codegen_gcc/build_system/src/test.rs type Env (line 16) | type Env = HashMap; type Runner (line 17) | type Runner = fn(&Env, &TestArg) -> Result<(), String>; type Runners (line 18) | type Runners = HashMap<&'static str, (&'static str, Runner)>; function get_runners (line 20) | fn get_runners() -> Runners { function get_number_after_arg (line 49) | fn get_number_after_arg( function show_usage (line 62) | fn show_usage() { type TestArg (line 84) | struct TestArg { method new (line 99) | fn new() -> Result, String> { method is_using_gcc_master_branch (line 172) | pub fn is_using_gcc_master_branch(&self) -> bool { function build_if_no_backend (line 177) | fn build_if_no_backend(env: &Env, args: &TestArg) -> Result<(), String> { function clean (line 197) | fn clean(_env: &Env, args: &TestArg) -> Result<(), String> { function cargo_tests (line 203) | fn cargo_tests(test_env: &Env, test_args: &TestArg) -> Result<(), String> { function mini_tests (line 222) | fn mini_tests(env: &Env, args: &TestArg) -> Result<(), String> { function build_sysroot (line 279) | fn build_sysroot(env: &Env, args: &TestArg) -> Result<(), String> { function maybe_run_command_in_vm (line 289) | fn maybe_run_command_in_vm( function std_tests (line 320) | fn std_tests(env: &Env, args: &TestArg) -> Result<(), String> { function setup_rustc (line 448) | fn setup_rustc(env: &mut Env, args: &TestArg) -> Result { function asm_tests (line 544) | fn asm_tests(env: &Env, args: &TestArg) -> Result<(), String> { function run_cargo_command (line 587) | fn run_cargo_command( function run_cargo_command_with_callback (line 599) | fn run_cargo_command_with_callback( function test_projects (line 643) | fn test_projects(env: &Env, args: &TestArg) -> Result<(), String> { function test_libcore (line 697) | fn test_libcore(env: &Env, args: &TestArg) -> Result<(), String> { function extended_rand_tests (line 707) | fn extended_rand_tests(env: &Env, args: &TestArg) -> Result<(), String> { function extended_regex_example_tests (line 726) | fn extended_regex_example_tests(env: &Env, args: &TestArg) -> Result<(),... function extended_regex_tests (line 772) | fn extended_regex_tests(env: &Env, args: &TestArg) -> Result<(), String> { function extended_sysroot_tests (line 804) | fn extended_sysroot_tests(env: &Env, args: &TestArg) -> Result<(), Strin... function valid_ui_error_pattern_test (line 822) | fn valid_ui_error_pattern_test(file: &str) -> bool { function contains_ui_error_patterns (line 837) | fn contains_ui_error_patterns(file_path: &Path, keep_lto_tests: bool) ->... function test_rustc_inner (line 893) | fn test_rustc_inner( function test_rustc (line 1066) | fn test_rustc(env: &Env, args: &TestArg) -> Result<(), String> { function test_failing_rustc (line 1072) | fn test_failing_rustc(env: &Env, args: &TestArg) -> Result<(), String> { function test_successful_rustc (line 1103) | fn test_successful_rustc(env: &Env, args: &TestArg) -> Result<(), String> { function test_failing_ui_pattern_tests (line 1130) | fn test_failing_ui_pattern_tests(env: &Env, args: &TestArg) -> Result<()... function retain_files_callback (line 1141) | fn retain_files_callback<'a>( function remove_files_callback (line 1201) | fn remove_files_callback<'a>( function run_all (line 1242) | fn run_all(env: &Env, args: &TestArg) -> Result<(), String> { function run (line 1256) | pub fn run() -> Result<(), String> { FILE: compiler/rustc_codegen_gcc/build_system/src/utils.rs function exec_command (line 10) | fn exec_command( function get_command_inner (line 30) | pub(crate) fn get_command_inner( function check_exit_status (line 50) | fn check_exit_status( function command_error (line 85) | fn command_error(input: &[&dyn AsRef], cwd: &Option<&Pa... function run_command (line 95) | pub fn run_command(input: &[&dyn AsRef], cwd: Option<&Path>) -> R... function run_command_with_env (line 99) | pub fn run_command_with_env( function run_command_with_output (line 110) | pub fn run_command_with_output( function run_command_with_output_and_env (line 118) | pub fn run_command_with_output_and_env( function run_command_with_output_and_env_no_err (line 128) | pub fn run_command_with_output_and_env_no_err( function cargo_install (line 137) | pub fn cargo_install(to_install: &str) -> Result<(), String> { function get_os_name (line 163) | pub fn get_os_name() -> Result { type RustcVersionInfo (line 170) | pub struct RustcVersionInfo { function rustc_toolchain_version_info (line 178) | pub fn rustc_toolchain_version_info(toolchain: &str) -> Result) -> Result Result { type CloneResult (line 242) | pub struct CloneResult { function git_clone_inner (line 248) | fn git_clone_inner( function get_repo_name (line 271) | fn get_repo_name(url: &str) -> String { function git_clone (line 279) | pub fn git_clone( function create_dir (line 297) | pub fn create_dir>(path: P) -> Result<(), String> { function git_clone_root_dir (line 307) | pub fn git_clone_root_dir( function walk_dir (line 317) | pub fn walk_dir( function split_args (line 347) | pub fn split_args(args: &str) -> Result, String> { function remove_file (line 396) | pub fn remove_file + ?Sized>(file_path: &P) -> Result<(),... function create_symlink (line 402) | pub fn create_symlink, Q: AsRef>(original: P, link:... function get_sysroot_dir (line 418) | pub fn get_sysroot_dir() -> PathBuf { function test_split_args (line 427) | fn test_split_args() { FILE: compiler/rustc_codegen_gcc/example/alloc_example.rs function puts (line 18) | fn puts(s: *const u8) -> i32; function panic_handler (line 22) | fn panic_handler(_: &core::panic::PanicInfo<'_>) -> ! { function alloc_error_handler (line 27) | fn alloc_error_handler(_: alloc::alloc::Layout) -> ! { function eh_personality (line 32) | fn eh_personality() -> ! { function _Unwind_Resume (line 37) | unsafe extern "C" fn _Unwind_Resume() { function main (line 42) | extern "C" fn main(_argc: core::ffi::c_int, _argv: *const *const u8) -> ... FILE: compiler/rustc_codegen_gcc/example/alloc_system.rs constant MIN_ALIGN (line 15) | const MIN_ALIGN: usize = 8; constant MIN_ALIGN (line 23) | const MIN_ALIGN: usize = 16; type System (line 25) | pub struct System; function realloc_fallback (line 32) | pub(crate) unsafe fn realloc_fallback(&self, ptr: *mut u8, old_layout: L... function malloc (line 53) | pub fn malloc(size: usize) -> *mut c_void; function realloc (line 54) | pub fn realloc(ptr: *mut c_void, size: usize) -> *mut c_void; function calloc (line 55) | pub fn calloc(nmemb: usize, size: usize) -> *mut c_void; function free (line 56) | pub fn free(ptr: *mut u8); function posix_memalign (line 57) | pub fn posix_memalign(memptr: *mut *mut c_void, alignment: usize, size: ... method alloc (line 66) | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { method alloc_zeroed (line 80) | unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { method dealloc (line 92) | unsafe fn dealloc(&self, ptr: *mut u8, _layout: Layout) { method realloc (line 96) | unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) ... function aligned_malloc (line 109) | unsafe fn aligned_malloc(layout: &Layout) -> *mut u8 { function aligned_malloc (line 134) | unsafe fn aligned_malloc(layout: &Layout) -> *mut u8 { type LPVOID (line 150) | type LPVOID = *mut u8; type HANDLE (line 151) | type HANDLE = LPVOID; type SIZE_T (line 152) | type SIZE_T = usize; type DWORD (line 153) | type DWORD = u32; type BOOL (line 154) | type BOOL = i32; function GetProcessHeap (line 156) | fn GetProcessHeap() -> HANDLE; function HeapAlloc (line 157) | fn HeapAlloc(hHeap: HANDLE, dwFlags: DWORD, dwBytes: SIZE_T) -> LPVOID; function HeapReAlloc (line 158) | fn HeapReAlloc(hHeap: HANDLE, dwFlags: DWORD, lpMem: LPVOID, dwBytes: SI... function HeapFree (line 159) | fn HeapFree(hHeap: HANDLE, dwFlags: DWORD, lpMem: LPVOID) -> BOOL; function GetLastError (line 160) | fn GetLastError() -> DWORD; type Header (line 163) | struct Header(*mut u8); constant HEAP_ZERO_MEMORY (line 164) | const HEAP_ZERO_MEMORY: DWORD = 0x00000008; function get_header (line 165) | unsafe fn get_header<'a>(ptr: *mut u8) -> &'a mut Header { function align_ptr (line 168) | unsafe fn align_ptr(ptr: *mut u8, align: usize) -> *mut u8 { function allocate_with_flags (line 174) | unsafe fn allocate_with_flags(layout: Layout, flags: DWORD) -> *mut u8 { method alloc (line 190) | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { method alloc_zeroed (line 194) | unsafe fn alloc_zeroed(&self, layout: Layout) -> *mut u8 { method dealloc (line 198) | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { method realloc (line 211) | unsafe fn realloc(&self, ptr: *mut u8, layout: Layout, new_size: usize) ... FILE: compiler/rustc_codegen_gcc/example/arbitrary_self_types_pointers_and_wrappers.rs type Ptr (line 12) | struct Ptr(Box); type Target (line 15) | type Target = T; method deref (line 17) | fn deref(&self) -> &T { type Wrapper (line 25) | struct Wrapper(T); type Target (line 28) | type Target = T; method deref (line 30) | fn deref(&self) -> &T { type Trait (line 39) | trait Trait { method ptr_wrapper (line 40) | fn ptr_wrapper(self: Ptr>) -> i32; method wrapper_ptr (line 41) | fn wrapper_ptr(self: Wrapper>) -> i32; method wrapper_ptr_wrapper (line 42) | fn wrapper_ptr_wrapper(self: Wrapper>>) -> i32; method ptr_wrapper (line 46) | fn ptr_wrapper(self: Ptr>) -> i32 { method wrapper_ptr (line 49) | fn wrapper_ptr(self: Wrapper>) -> i32 { method wrapper_ptr_wrapper (line 52) | fn wrapper_ptr_wrapper(self: Wrapper>>) -> i32 { function main (line 57) | fn main() { FILE: compiler/rustc_codegen_gcc/example/dst-field-align.rs type Foo (line 3) | struct Foo { type Bar (line 8) | trait Bar { method get (line 9) | fn get(&self) -> usize; method get (line 13) | fn get(&self) -> usize { *self } type Baz (line 16) | struct Baz { type HasDrop (line 20) | struct HasDrop { function main (line 25) | fn main() { FILE: compiler/rustc_codegen_gcc/example/example.rs function abc (line 9) | fn abc(a: u8) -> u8 { function bcd (line 13) | fn bcd(b: bool, a: u8) -> u8 { function call (line 17) | fn call() { function indirect_call (line 21) | fn indirect_call() { type BoolOption (line 26) | enum BoolOption { function option_unwrap_or (line 31) | fn option_unwrap_or(o: BoolOption, d: bool) -> bool { function ret_42 (line 38) | fn ret_42() -> u8 { function return_str (line 42) | fn return_str() -> &'static str { function promoted_val (line 46) | fn promoted_val() -> &'static u8 { function cast_ref_to_raw_ptr (line 50) | fn cast_ref_to_raw_ptr(abc: &u8) -> *const u8 { function cmp_raw_ptr (line 54) | fn cmp_raw_ptr(a: *const u8, b: *const u8) -> bool { function int_cast (line 58) | fn int_cast(a: u16, b: i16) -> (u8, u16, u32, usize, i8, i16, i32, isize... function char_cast (line 65) | fn char_cast(c: char) -> u8 { type DebugTuple (line 69) | pub struct DebugTuple(()); function debug_tuple (line 71) | fn debug_tuple() -> DebugTuple { function size_of (line 75) | fn size_of() -> usize { function use_size_of (line 79) | fn use_size_of() -> usize { function use_copy_intrinsic (line 83) | unsafe fn use_copy_intrinsic(src: *const u8, dst: *mut u8) { function use_copy_intrinsic_ref (line 87) | unsafe fn use_copy_intrinsic_ref(src: *const u8, dst: *mut u8) { constant ABC (line 92) | const ABC: u8 = 6 * 7; function use_const (line 94) | fn use_const() -> u8 { function call_closure_3arg (line 98) | pub fn call_closure_3arg() { function call_closure_2arg (line 102) | pub fn call_closure_2arg() { type IsNotEmpty (line 106) | struct IsNotEmpty; type Output (line 109) | type Output = (u8, u8); method call_once (line 112) | extern "rust-call" fn call_once(mut self, arg: (&'a &'b [u16],)) -> (u... method call_mut (line 119) | extern "rust-call" fn call_mut(&mut self, _arg: (&'a &'b [u16],)) -> (... function call_is_not_empty (line 124) | pub fn call_is_not_empty() { function eq_char (line 128) | fn eq_char(a: char, b: char) -> bool { function transmute (line 132) | unsafe fn transmute(c: char) -> u32 { function deref_str_ptr (line 136) | unsafe fn deref_str_ptr(s: *const str) -> &'static str { function use_array (line 140) | fn use_array(arr: [u8; 3]) -> u8 { function repeat_array (line 144) | fn repeat_array() -> [u8; 3] { function array_as_slice (line 148) | fn array_as_slice(arr: &[u8; 3]) -> &[u8] { function use_ctlz_nonzero (line 152) | unsafe fn use_ctlz_nonzero(a: u16) -> u32 { function ptr_as_usize (line 156) | fn ptr_as_usize(ptr: *const u8) -> usize { function float_cast (line 160) | fn float_cast(a: f32, b: f64) -> (f64, f32) { function int_to_float (line 164) | fn int_to_float(a: u8, b: i32) -> (f64, f32) { function make_array (line 168) | fn make_array() -> [u8; 3] { function some_promoted_tuple (line 172) | fn some_promoted_tuple() -> &'static (&'static str, &'static str) { function index_slice (line 176) | fn index_slice(s: &[u8]) -> u8 { type StrWrapper (line 180) | pub struct StrWrapper { function str_wrapper_get (line 184) | fn str_wrapper_get(w: &StrWrapper) -> &str { function i16_as_i8 (line 188) | fn i16_as_i8(a: i16) -> i8 { type Unsized (line 192) | struct Unsized(u8, str); function get_sized_field_ref_from_unsized_type (line 194) | fn get_sized_field_ref_from_unsized_type(u: &Unsized) -> &u8 { function get_unsized_field_ref_from_unsized_type (line 198) | fn get_unsized_field_ref_from_unsized_type(u: &Unsized) -> &str { function reuse_byref_argument_storage (line 202) | pub fn reuse_byref_argument_storage(a: (u8, u16, u32)) -> u8 { FILE: compiler/rustc_codegen_gcc/example/mini_core.rs function _Unwind_Resume (line 18) | unsafe extern "C" fn _Unwind_Resume() { type PointeeSized (line 23) | pub trait PointeeSized {} type MetaSized (line 26) | pub trait MetaSized: PointeeSized {} type Sized (line 29) | pub trait Sized: MetaSized {} type Destruct (line 32) | pub trait Destruct {} type Tuple (line 35) | pub trait Tuple {} type Unsize (line 38) | pub trait Unsize: PointeeSized {} type CoerceUnsized (line 41) | pub trait CoerceUnsized {} type DispatchFromDyn (line 49) | pub trait DispatchFromDyn {} type LegacyReceiver (line 62) | pub trait LegacyReceiver {} type Receiver (line 69) | trait Receiver {} type Copy (line 72) | pub trait Copy {} type BikeshedGuaranteedNoDrop (line 75) | pub trait BikeshedGuaranteedNoDrop {} type Sync (line 98) | pub unsafe trait Sync {} type Freeze (line 115) | unsafe auto trait Freeze {} type StructuralPartialEq (line 124) | pub trait StructuralPartialEq {} type Not (line 127) | pub trait Not { method not (line 130) | fn not(self) -> Self::Output; type Output (line 134) | type Output = bool; method not (line 136) | fn not(self) -> bool { type Mul (line 142) | pub trait Mul { method mul (line 146) | fn mul(self, rhs: RHS) -> Self::Output; type Output (line 150) | type Output = Self; method mul (line 152) | fn mul(self, rhs: Self) -> Self::Output { type Output (line 158) | type Output = Self; method mul (line 160) | fn mul(self, rhs: Self) -> Self::Output { type Output (line 166) | type Output = Self; method mul (line 168) | fn mul(self, rhs: Self) -> Self::Output { type Output (line 174) | type Output = Self; method mul (line 176) | fn mul(self, rhs: Self) -> Self::Output { type Add (line 182) | pub trait Add { method add (line 185) | fn add(self, rhs: RHS) -> Self::Output; type Output (line 189) | type Output = Self; method add (line 191) | fn add(self, rhs: Self) -> Self { type Output (line 197) | type Output = Self; method add (line 199) | fn add(self, rhs: Self) -> Self { type Output (line 205) | type Output = Self; method add (line 207) | fn add(self, rhs: Self) -> Self { type Output (line 213) | type Output = Self; method add (line 215) | fn add(self, rhs: Self) -> Self { type Output (line 221) | type Output = Self; method add (line 223) | fn add(self, rhs: Self) -> Self { type Sub (line 229) | pub trait Sub { method sub (line 232) | fn sub(self, rhs: RHS) -> Self::Output; type Output (line 236) | type Output = Self; method sub (line 238) | fn sub(self, rhs: Self) -> Self { type Output (line 244) | type Output = Self; method sub (line 246) | fn sub(self, rhs: Self) -> Self { type Output (line 252) | type Output = Self; method sub (line 254) | fn sub(self, rhs: Self) -> Self { type Output (line 260) | type Output = Self; method sub (line 262) | fn sub(self, rhs: Self) -> Self { type Output (line 268) | type Output = Self; method sub (line 270) | fn sub(self, rhs: Self) -> Self { type Output (line 276) | type Output = Self; method sub (line 278) | fn sub(self, rhs: Self) -> Self { type Rem (line 284) | pub trait Rem { method rem (line 287) | fn rem(self, rhs: RHS) -> Self::Output; type Output (line 291) | type Output = Self; method rem (line 293) | fn rem(self, rhs: Self) -> Self { type BitOr (line 299) | pub trait BitOr { method bitor (line 303) | fn bitor(self, rhs: RHS) -> Self::Output; type Output (line 307) | type Output = bool; method bitor (line 309) | fn bitor(self, rhs: bool) -> bool { type Output (line 315) | type Output = bool; function bitor (line 317) | fn bitor(self, rhs: bool) -> bool { type PartialEq (line 323) | pub trait PartialEq { method eq (line 324) | fn eq(&self, other: &Rhs) -> bool; method ne (line 325) | fn ne(&self, other: &Rhs) -> bool; method eq (line 329) | fn eq(&self, other: &u8) -> bool { method ne (line 332) | fn ne(&self, other: &u8) -> bool { method eq (line 338) | fn eq(&self, other: &u16) -> bool { method ne (line 341) | fn ne(&self, other: &u16) -> bool { method eq (line 347) | fn eq(&self, other: &u32) -> bool { method ne (line 350) | fn ne(&self, other: &u32) -> bool { method eq (line 356) | fn eq(&self, other: &u64) -> bool { method ne (line 359) | fn ne(&self, other: &u64) -> bool { method eq (line 365) | fn eq(&self, other: &usize) -> bool { method ne (line 368) | fn ne(&self, other: &usize) -> bool { method eq (line 374) | fn eq(&self, other: &i8) -> bool { method ne (line 377) | fn ne(&self, other: &i8) -> bool { method eq (line 383) | fn eq(&self, other: &i32) -> bool { method ne (line 386) | fn ne(&self, other: &i32) -> bool { method eq (line 392) | fn eq(&self, other: &isize) -> bool { method ne (line 395) | fn ne(&self, other: &isize) -> bool { method eq (line 401) | fn eq(&self, other: &char) -> bool { method ne (line 404) | fn ne(&self, other: &char) -> bool { method eq (line 410) | fn eq(&self, other: &*const T) -> bool { method ne (line 413) | fn ne(&self, other: &*const T) -> bool { type Neg (line 419) | pub trait Neg { method neg (line 422) | fn neg(self) -> Self::Output; type Output (line 426) | type Output = i8; method neg (line 428) | fn neg(self) -> i8 { type Output (line 434) | type Output = i16; method neg (line 436) | fn neg(self) -> i16 { type Output (line 442) | type Output = isize; method neg (line 444) | fn neg(self) -> isize { type Output (line 450) | type Output = f32; method neg (line 452) | fn neg(self) -> f32 { type Option (line 457) | pub enum Option { type PhantomData (line 465) | pub struct PhantomData; type FnOnce (line 469) | pub trait FnOnce { method call_once (line 473) | extern "rust-call" fn call_once(self, args: Args) -> Self::Output; type FnMut (line 478) | pub trait FnMut: FnOnce { method call_mut (line 479) | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output; function panic (line 484) | pub fn panic(_msg: &'static str) -> ! { function panic_cannot_unwind (line 521) | fn panic_cannot_unwind() -> ! { function panic_in_cleanup (line 530) | fn panic_in_cleanup() -> ! { function panic_bounds_check (line 539) | fn panic_bounds_check(index: usize, len: usize) -> ! { function eh_personality (line 551) | fn eh_personality() -> ! { function drop_in_place (line 557) | pub unsafe fn drop_in_place(to_drop: *mut T) { type Unpin (line 564) | pub auto trait Unpin {} type Deref (line 567) | pub trait Deref { method deref (line 570) | fn deref(&self) -> &Self::Target; type Target (line 624) | type Target = T; method deref (line 626) | fn deref(&self) -> &Self::Target { type Allocator (line 573) | pub trait Allocator {} type Global (line 578) | pub struct Global; type NonNull (line 585) | pub struct NonNull(pub *const T); type Unique (line 590) | pub struct Unique { type Box (line 599) | pub struct Box(Unique, A); function new (line 604) | pub fn new(val: T) -> Box { type Drop (line 632) | pub trait Drop { method drop (line 615) | fn drop(&mut self) { method drop (line 633) | fn drop(&mut self); type ManuallyDrop (line 638) | pub struct ManuallyDrop { function black_box (line 651) | pub const fn black_box(_dummy: T) -> T; function abort (line 653) | pub fn abort() -> !; function size_of (line 655) | pub const fn size_of() -> usize; function size_of_val (line 657) | pub unsafe fn size_of_val(val: *const T) -> usize; function align_of (line 659) | pub const fn align_of() -> usize; function align_of_val (line 661) | pub unsafe fn align_of_val(val: *const T) -> usize; function copy (line 663) | pub unsafe fn copy(src: *const T, dst: *mut T, count: usize); function transmute (line 665) | pub unsafe fn transmute(e: T) -> U; function ctlz_nonzero (line 667) | pub unsafe fn ctlz_nonzero(x: T) -> u32; function needs_drop (line 669) | pub const fn needs_drop() -> bool; function bitreverse (line 671) | pub fn bitreverse(x: T) -> T; function bswap (line 673) | pub fn bswap(x: T) -> T; function write_bytes (line 675) | pub unsafe fn write_bytes(dst: *mut T, val: u8, count: usize); function unreachable (line 677) | pub unsafe fn unreachable() -> !; function puts (line 683) | pub fn puts(s: *const u8) -> i32; function printf (line 684) | pub fn printf(format: *const i8, ...) -> i32; function malloc (line 685) | pub fn malloc(size: usize) -> *mut u8; function free (line 686) | pub fn free(ptr: *mut u8); function memcpy (line 687) | pub fn memcpy(dst: *mut u8, src: *const u8, size: usize); function memmove (line 688) | pub fn memmove(dst: *mut u8, src: *const u8, size: usize); function strncpy (line 689) | pub fn strncpy(dst: *mut u8, src: *const u8, size: usize); function fflush (line 690) | pub fn fflush(stream: *mut i32) -> i32; function exit (line 691) | pub fn exit(status: i32); function size_of (line 697) | pub const fn size_of() -> usize { function align_of (line 701) | pub const fn align_of() -> usize { type SizedTypeProperties (line 705) | trait SizedTypeProperties: Sized { constant SIZE (line 707) | const SIZE: usize = intrinsics::size_of::(); constant ALIGN (line 710) | const ALIGN: usize = intrinsics::align_of::(); type Index (line 716) | pub trait Index { method index (line 718) | fn index(&self, index: Idx) -> &Self::Output; type Output (line 722) | type Output = T; function index (line 724) | fn index(&self, index: usize) -> &Self::Output { type Output (line 730) | type Output = T; function index (line 732) | fn index(&self, index: usize) -> &Self::Output { type VaList (line 743) | pub struct VaList<'a>(&'a mut VaListImpl); type PanicLocation (line 772) | struct PanicLocation { function get_tls (line 779) | pub fn get_tls() -> u8 { FILE: compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs function my_puts (line 16) | unsafe extern "C" fn my_puts(s: *const u8) { type Termination (line 21) | trait Termination { method report (line 22) | fn report(self) -> i32; method report (line 26) | fn report(self) -> i32 { type SomeTrait (line 34) | trait SomeTrait { method object_safe (line 35) | fn object_safe(&self); method object_safe (line 39) | fn object_safe(&self) { method object_safe (line 75) | fn object_safe(&self) {} type NoisyDrop (line 46) | struct NoisyDrop { type NoisyDropUnsized (line 51) | struct NoisyDropUnsized { type NoisyDropInner (line 56) | struct NoisyDropInner; method drop (line 59) | fn drop(&mut self) { method drop (line 67) | fn drop(&mut self) { type Ordering (line 78) | enum Ordering { function start (line 85) | fn start( type Unique (line 121) | struct Unique { function zeroed (line 128) | unsafe fn zeroed() -> T { function take_f32 (line 134) | fn take_f32(_f: f32) {} function take_unique (line 135) | fn take_unique(_u: Unique<()>) {} function return_u128_pair (line 137) | fn return_u128_pair() -> (u128, u128) { function call_return_u128_pair (line 141) | fn call_return_u128_pair() { function main (line 145) | fn main() { type c_void (line 313) | enum c_void { type c_int (line 318) | type c_int = i32; type c_ulong (line 319) | type c_ulong = u64; type pthread_t (line 321) | type pthread_t = c_ulong; type pthread_attr_t (line 324) | struct pthread_attr_t { function pthread_attr_init (line 330) | fn pthread_attr_init(attr: *mut pthread_attr_t) -> c_int; function pthread_create (line 332) | fn pthread_create( function pthread_join (line 339) | fn pthread_join( function mutate_tls (line 350) | extern "C" fn mutate_tls(_: *mut c_void) -> *mut c_void { function test_tls (line 356) | fn test_tls() { type Infallible (line 383) | pub enum Infallible {} type E1 (line 388) | pub enum E1 { type E2 (line 398) | pub enum E2 { function check_niche_behavior (line 439) | fn check_niche_behavior () { FILE: compiler/rustc_codegen_gcc/example/std_example.rs function printf (line 11) | pub fn printf(format: *const i8, ...) -> i32; function main (line 14) | fn main() { function test_simd (line 116) | unsafe fn test_simd() { function test_mm_slli_si128 (line 145) | unsafe fn test_mm_slli_si128() { function test_mm_movemask_epi8 (line 174) | unsafe fn test_mm_movemask_epi8() { function test_mm256_movemask_epi8 (line 189) | unsafe fn test_mm256_movemask_epi8() { function test_mm_add_epi8 (line 199) | unsafe fn test_mm_add_epi8() { function test_mm_add_pd (line 216) | unsafe fn test_mm_add_pd() { function assert_eq_m128i (line 225) | fn assert_eq_m128i(x: std::arch::x86_64::__m128i, y: std::arch::x86_64::... function assert_eq_m128d (line 234) | pub unsafe fn assert_eq_m128d(a: __m128d, b: __m128d) { function test_mm_cvtsi128_si64 (line 243) | unsafe fn test_mm_cvtsi128_si64() { function test_mm_cvtepi8_epi16 (line 251) | unsafe fn test_mm_cvtepi8_epi16() { function test_mm_extract_epi8 (line 265) | unsafe fn test_mm_extract_epi8() { function test_mm_insert_epi16 (line 279) | unsafe fn test_mm_insert_epi16() { type LoopState (line 287) | enum LoopState { type Instruction (line 292) | pub enum Instruction { function map (line 297) | fn map(a: Option<(u8, Box)>) -> Option> { FILE: compiler/rustc_codegen_gcc/example/subslice-patterns-const-eval.rs type N (line 8) | struct N(u8); type Z (line 11) | struct Z; function main (line 68) | fn main() { FILE: compiler/rustc_codegen_gcc/example/track-caller-attribute.rs function tracked (line 8) | fn tracked() -> &'static Location<'static> { function nested_intrinsic (line 12) | fn nested_intrinsic() -> &'static Location<'static> { function nested_tracked (line 16) | fn nested_tracked() -> &'static Location<'static> { function main (line 20) | fn main() { FILE: compiler/rustc_codegen_gcc/src/abi.rs method get_param (line 23) | fn get_param(&mut self, index: usize) -> Self::Value { type GccType (line 80) | pub trait GccType { method gcc_type (line 38) | fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, '_>) -> Type<'gcc> { method gcc_type (line 81) | fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, '_>) -> Type<'gcc>; method gcc_type (line 85) | fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, '_>) -> Type<'gcc> { type FnAbiGcc (line 98) | pub struct FnAbiGcc<'gcc> { type FnAbiGccExt (line 107) | pub trait FnAbiGccExt<'gcc, 'tcx> { method gcc_type (line 109) | fn gcc_type(&self, cx: &CodegenCx<'gcc, 'tcx>) -> FnAbiGcc<'gcc>; method ptr_to_gcc_type (line 110) | fn ptr_to_gcc_type(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc>; method gcc_cconv (line 112) | fn gcc_cconv(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Option) -> FnAbiGcc<'gcc> { function ptr_to_gcc_type (line 223) | fn ptr_to_gcc_type(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc> { function gcc_cconv (line 237) | fn gcc_cconv(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Option(conv: CanonAbi, arch: &Arch) -> Option... FILE: compiler/rustc_codegen_gcc/src/allocator.rs function codegen (line 15) | pub(crate) unsafe fn codegen( function create_wrapper_function (line 71) | fn create_wrapper_function( FILE: compiler/rustc_codegen_gcc/src/asm.rs constant ATT_SYNTAX_INS (line 73) | const ATT_SYNTAX_INS: &str = ".att_syntax noprefix\n\t"; constant INTEL_SYNTAX_INS (line 74) | const INTEL_SYNTAX_INS: &str = "\n\t.intel_syntax noprefix"; type AsmOutOperand (line 76) | struct AsmOutOperand<'a, 'tcx, 'gcc> { type AsmInOperand (line 86) | struct AsmInOperand<'a, 'tcx> { function to_constraint (line 93) | fn to_constraint(&self) -> String { type ConstraintOrRegister (line 107) | enum ConstraintOrRegister { function codegen_inline_asm (line 113) | fn codegen_inline_asm( function estimate_template_length (line 598) | fn estimate_template_length( function reg_to_gcc (line 628) | fn reg_to_gcc(reg_or_reg_class: InlineAsmRegOrRegClass) -> ConstraintOrR... function explicit_reg_to_gcc (line 639) | fn explicit_reg_to_gcc(reg: InlineAsmReg) -> &'static str { function reg_class_to_gcc (line 665) | fn reg_class_to_gcc(reg_class: InlineAsmRegClass) -> &'static str { function dummy_output_type (line 760) | fn dummy_output_type<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, reg: Inline... function codegen_global_asm (line 857) | fn codegen_global_asm( function mangled_name (line 932) | fn mangled_name(&self, instance: Instance<'tcx>) -> String { function modifier_to_gcc (line 940) | fn modifier_to_gcc( FILE: compiler/rustc_codegen_gcc/src/attributes.rs function recursively_inline (line 21) | fn recursively_inline<'gcc, 'tcx>( function inline_attr (line 51) | fn inline_attr<'gcc, 'tcx>( function from_fn_attrs (line 87) | pub fn from_fn_attrs<'gcc, 'tcx>( FILE: compiler/rustc_codegen_gcc/src/back/lto.rs type LtoData (line 41) | struct LtoData { function prepare_lto (line 48) | fn prepare_lto( function save_as_file (line 101) | fn save_as_file(obj: &[u8], path: &Path) -> Result<(), LtoBitcodeFromRli... function run_fat (line 109) | pub(crate) fn run_fat( function fat_lto (line 132) | fn fat_lto( type ModuleBuffer (line 266) | pub struct ModuleBuffer(PathBuf); method new (line 269) | pub fn new(path: PathBuf) -> ModuleBuffer { method data (line 275) | fn data(&self) -> &[u8] { FILE: compiler/rustc_codegen_gcc/src/back/write.rs function codegen (line 18) | pub(crate) fn codegen( function save_temp_bitcode (line 222) | pub(crate) fn save_temp_bitcode( FILE: compiler/rustc_codegen_gcc/src/base.rs function visibility_to_gcc (line 27) | pub fn visibility_to_gcc(visibility: Visibility) -> gccjit::Visibility { function symbol_visibility_to_gcc (line 36) | pub fn symbol_visibility_to_gcc(visibility: SymbolVisibility) -> gccjit:... function global_linkage_to_gcc (line 44) | pub fn global_linkage_to_gcc(linkage: Linkage) -> GlobalKind { function linkage_to_gcc (line 58) | pub fn linkage_to_gcc(linkage: Linkage) -> FunctionType { function compile_codegen_unit (line 73) | pub fn compile_codegen_unit( function add_pic_option (line 261) | pub fn add_pic_option<'gcc>(context: &Context<'gcc>, relocation_model: R... FILE: compiler/rustc_codegen_gcc/src/builder.rs type Funclet (line 42) | type Funclet = (); type ExtremumOperation (line 44) | enum ExtremumOperation { type Builder (line 49) | pub struct Builder<'a, 'gcc, 'tcx> { function with_cx (line 57) | fn with_cx(cx: &'a CodegenCx<'gcc, 'tcx>, block: Block<'gcc>) -> Self { function next_value_counter (line 61) | fn next_value_counter(&self) -> u64 { function atomic_extremum (line 66) | fn atomic_extremum( function compare_exchange (line 134) | fn compare_exchange( function assign (line 166) | pub fn assign(&self, lvalue: LValue<'gcc>, value: RValue<'gcc>) { function check_call (line 170) | fn check_call<'b>( function check_ptr_call (line 210) | fn check_ptr_call<'b>( function check_store (line 307) | fn check_store(&mut self, val: RValue<'gcc>, ptr: RValue<'gcc>) -> RValu... function current_func (line 313) | pub fn current_func(&self) -> Function<'gcc> { function function_call (line 317) | pub fn function_call( function function_ptr_call (line 350) | fn function_ptr_call( function overflow_call (line 423) | pub fn overflow_call( function tcx (line 449) | fn tcx(&self) -> TyCtxt<'tcx> { method data_layout (line 455) | fn data_layout(&self) -> &TargetDataLayout { function handle_layout_err (line 462) | fn handle_layout_err(&self, err: LayoutError<'tcx>, span: Span, ty: Ty<'... function handle_fn_abi_err (line 469) | fn handle_fn_abi_err( type Target (line 480) | type Target = CodegenCx<'gcc, 'tcx>; method deref (line 482) | fn deref<'b>(&'b self) -> &'a Self::Target { type Function (line 488) | type Function = as BackendTypes>::Function; type BasicBlock (line 489) | type BasicBlock = as BackendTypes>::BasicBlock; type Funclet (line 490) | type Funclet = as BackendTypes>::Funclet; type Value (line 492) | type Value = as BackendTypes>::Value; type Type (line 493) | type Type = as BackendTypes>::Type; type FunctionSignature (line 494) | type FunctionSignature = as BackendTypes>::Functi... type DIScope (line 496) | type DIScope = as BackendTypes>::DIScope; type DILocation (line 497) | type DILocation = as BackendTypes>::DILocation; type DIVariable (line 498) | type DIVariable = as BackendTypes>::DIVariable; function set_rvalue_location (line 501) | fn set_rvalue_location<'a, 'gcc, 'tcx>( type CodegenCx (line 513) | type CodegenCx = CodegenCx<'gcc, 'tcx>; function build (line 515) | fn build(cx: &'a CodegenCx<'gcc, 'tcx>, block: Block<'gcc>) -> Builder<'... function llbb (line 520) | fn llbb(&self) -> Block<'gcc> { function append_block (line 524) | fn append_block(_: &'a CodegenCx<'gcc, 'tcx>, func: Function<'gcc>, name... function append_sibling_block (line 528) | fn append_sibling_block(&mut self, name: &str) -> Block<'gcc> { function switch_to_block (line 533) | fn switch_to_block(&mut self, block: Self::BasicBlock) { function ret_void (line 537) | fn ret_void(&mut self) { function ret (line 541) | fn ret(&mut self, mut value: RValue<'gcc>) { function br (line 556) | fn br(&mut self, dest: Block<'gcc>) { function cond_br (line 560) | fn cond_br(&mut self, cond: RValue<'gcc>, then_block: Block<'gcc>, else_... function switch (line 564) | fn switch( function invoke (line 597) | fn invoke( function invoke (line 635) | fn invoke( function unreachable (line 656) | fn unreachable(&mut self) { function add (line 670) | fn add(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function fadd (line 674) | fn fadd(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function sub (line 679) | fn sub(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function fsub (line 683) | fn fsub(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function mul (line 687) | fn mul(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function fmul (line 691) | fn fmul(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function udiv (line 701) | fn udiv(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function exactudiv (line 705) | fn exactudiv(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function sdiv (line 714) | fn sdiv(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function exactsdiv (line 718) | fn exactsdiv(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function fdiv (line 727) | fn fdiv(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function urem (line 731) | fn urem(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function srem (line 735) | fn srem(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function frem (line 739) | fn frem(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function shl (line 831) | fn shl(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function lshr (line 835) | fn lshr(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function ashr (line 839) | fn ashr(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function and (line 845) | fn and(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function or (line 849) | fn or(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function xor (line 853) | fn xor(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function neg (line 857) | fn neg(&mut self, a: RValue<'gcc>) -> RValue<'gcc> { function fneg (line 861) | fn fneg(&mut self, a: RValue<'gcc>) -> RValue<'gcc> { function not (line 868) | fn not(&mut self, a: RValue<'gcc>) -> RValue<'gcc> { function fadd_fast (line 872) | fn fadd_fast(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RValue<... function fsub_fast (line 878) | fn fsub_fast(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RValue<... function fmul_fast (line 884) | fn fmul_fast(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RValue<... function fdiv_fast (line 890) | fn fdiv_fast(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RValue<... function frem_fast (line 896) | fn frem_fast(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RValue<... function fadd_algebraic (line 903) | fn fadd_algebraic(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RV... function fsub_algebraic (line 908) | fn fsub_algebraic(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RV... function fmul_algebraic (line 913) | fn fmul_algebraic(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RV... function fdiv_algebraic (line 918) | fn fdiv_algebraic(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RV... function frem_algebraic (line 923) | fn frem_algebraic(&mut self, lhs: RValue<'gcc>, rhs: RValue<'gcc>) -> RV... function checked_binop (line 928) | fn checked_binop( function alloca (line 938) | fn alloca(&mut self, size: Size, align: Align) -> RValue<'gcc> { function scalable_alloca (line 946) | fn scalable_alloca(&mut self, _elt: u64, _align: Align, _element_ty: Ty<... function load (line 950) | fn load(&mut self, pointee_ty: Type<'gcc>, ptr: RValue<'gcc>, align: Ali... function volatile_load (line 993) | fn volatile_load(&mut self, ty: Type<'gcc>, ptr: RValue<'gcc>) -> RValue... function atomic_load (line 1002) | fn atomic_load( function load_operand (line 1021) | fn load_operand( function write_operand_repeatedly (line 1089) | fn write_operand_repeatedly( function range_metadata (line 1130) | fn range_metadata(&mut self, _load: RValue<'gcc>, _range: WrappingRange) { function nonnull_metadata (line 1134) | fn nonnull_metadata(&mut self, _load: RValue<'gcc>) { function store (line 1138) | fn store(&mut self, val: RValue<'gcc>, ptr: RValue<'gcc>, align: Align) ... function store_with_flags (line 1142) | fn store_with_flags( function atomic_store (line 1171) | fn atomic_store( function gep (line 1197) | fn gep( function inbounds_gep (line 1228) | fn inbounds_gep( function trunc (line 1247) | fn trunc(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValue<... function sext (line 1252) | fn sext(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValue<'... function fptoui (line 1261) | fn fptoui(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValue... function fptosi (line 1265) | fn fptosi(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValue... function uitofp (line 1269) | fn uitofp(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValue... function sitofp (line 1273) | fn sitofp(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValue... function fptrunc (line 1277) | fn fptrunc(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValu... function fpext (line 1282) | fn fpext(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValue<... function ptrtoint (line 1286) | fn ptrtoint(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RVal... function inttoptr (line 1291) | fn inttoptr(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RVal... function bitcast (line 1296) | fn bitcast(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValu... function intcast (line 1300) | fn intcast( function pointercast (line 1318) | fn pointercast(&mut self, value: RValue<'gcc>, dest_ty: Type<'gcc>) -> R... function icmp (line 1340) | fn icmp(&mut self, op: IntPredicate, lhs: RValue<'gcc>, rhs: RValue<'gcc... function fcmp (line 1344) | fn fcmp(&mut self, op: RealPredicate, lhs: RValue<'gcc>, rhs: RValue<'gc... function memcpy (line 1392) | fn memcpy( function memmove (line 1415) | fn memmove( function memset (line 1438) | fn memset( function select (line 1459) | fn select( function va_arg (line 1488) | fn va_arg(&mut self, _list: RValue<'gcc>, _ty: Type<'gcc>) -> RValue<'gc... function extract_element (line 1493) | fn extract_element(&mut self, vec: RValue<'gcc>, idx: RValue<'gcc>) -> R... function extract_element (line 1498) | fn extract_element(&mut self, vec: RValue<'gcc>, idx: RValue<'gcc>) -> R... function vector_splat (line 1514) | fn vector_splat(&mut self, _num_elts: usize, _elt: RValue<'gcc>) -> RVal... function extract_value (line 1518) | fn extract_value(&mut self, aggregate_value: RValue<'gcc>, idx: u64) -> ... function insert_value (line 1540) | fn insert_value( function set_personality_fn (line 1581) | fn set_personality_fn(&mut self, _personality: Function<'gcc>) { function cleanup_landing_pad (line 1587) | fn cleanup_landing_pad(&mut self, pers_fn: Function<'gcc>) -> (RValue<'g... function cleanup_landing_pad (line 1608) | fn cleanup_landing_pad(&mut self, _pers_fn: Function<'gcc>) -> (RValue<'... function filter_landing_pad (line 1618) | fn filter_landing_pad(&mut self, pers_fn: Function<'gcc>) { function resume (line 1624) | fn resume(&mut self, exn0: RValue<'gcc>, _exn1: RValue<'gcc>) { function resume (line 1634) | fn resume(&mut self, _exn0: RValue<'gcc>, _exn1: RValue<'gcc>) { function cleanup_pad (line 1638) | fn cleanup_pad(&mut self, _parent: Option>, _args: &[RValue... function cleanup_ret (line 1642) | fn cleanup_ret(&mut self, _funclet: &Funclet, _unwind: Option, _args: &[RValue<'gcc>]) -... function catch_switch (line 1650) | fn catch_switch( function get_funclet_cleanuppad (line 1659) | fn get_funclet_cleanuppad(&self, _funclet: &Funclet) -> RValue<'gcc> { function atomic_cmpxchg (line 1664) | fn atomic_cmpxchg( function atomic_rmw (line 1688) | fn atomic_rmw( function atomic_fence (line 1736) | fn atomic_fence(&mut self, order: AtomicOrdering, scope: Synchronization... function set_invariant_load (line 1747) | fn set_invariant_load(&mut self, load: RValue<'gcc>) { function lifetime_start (line 1753) | fn lifetime_start(&mut self, _ptr: RValue<'gcc>, _size: Size) { function lifetime_end (line 1757) | fn lifetime_end(&mut self, _ptr: RValue<'gcc>, _size: Size) { function call (line 1761) | fn call( function tail_call (line 1787) | fn tail_call( function zext (line 1801) | fn zext(&mut self, value: RValue<'gcc>, dest_typ: Type<'gcc>) -> RValue<... function cx (line 1806) | fn cx(&self) -> &CodegenCx<'gcc, 'tcx> { function apply_attrs_to_cleanup_callsite (line 1810) | fn apply_attrs_to_cleanup_callsite(&mut self, _llret: RValue<'gcc>) { function set_span (line 1814) | fn set_span(&mut self, _span: Span) {} function from_immediate (line 1816) | fn from_immediate(&mut self, val: Self::Value) -> Self::Value { function to_immediate_scalar (line 1824) | fn to_immediate_scalar(&mut self, val: Self::Value, scalar: abi::Scalar)... function fptoui_sat (line 1831) | fn fptoui_sat(&mut self, val: RValue<'gcc>, dest_ty: Type<'gcc>) -> RVal... function fptosi_sat (line 1835) | fn fptosi_sat(&mut self, val: RValue<'gcc>, dest_ty: Type<'gcc>) -> RVal... function fptoint_sat (line 1841) | fn fptoint_sat( function shuffle_vector (line 2011) | pub fn shuffle_vector( function shuffle_vector (line 2144) | pub fn shuffle_vector( function vector_reduce (line 2154) | pub fn vector_reduce(&mut self, src: RValue<'gcc>, op: F) -> RValue<'... function vector_reduce (line 2191) | pub fn vector_reduce(&mut self, _src: RValue<'gcc>, _op: F) -> RValue... function vector_reduce_op (line 2198) | pub fn vector_reduce_op(&mut self, src: RValue<'gcc>, op: BinaryOp) -> R... function vector_reduce_fadd_reassoc (line 2203) | pub fn vector_reduce_fadd_reassoc( function vector_reduce_fadd (line 2212) | pub fn vector_reduce_fadd(&mut self, acc: RValue<'gcc>, src: RValue<'gcc... function vector_reduce_fadd (line 2229) | pub fn vector_reduce_fadd(&mut self, _acc: RValue<'gcc>, _src: RValue<'g... function vector_reduce_fmul_reassoc (line 2233) | pub fn vector_reduce_fmul_reassoc( function vector_reduce_fmul (line 2242) | pub fn vector_reduce_fmul(&mut self, acc: RValue<'gcc>, src: RValue<'gcc... function vector_reduce_fmul (line 2259) | pub fn vector_reduce_fmul(&mut self, _acc: RValue<'gcc>, _src: RValue<'g... function vector_reduce_min (line 2264) | pub fn vector_reduce_min(&mut self, src: RValue<'gcc>) -> RValue<'gcc> { function vector_reduce_max (line 2273) | pub fn vector_reduce_max(&mut self, src: RValue<'gcc>) -> RValue<'gcc> { function vector_extremum (line 2283) | fn vector_extremum( function vector_minimum_number_nsz (line 2315) | pub fn vector_minimum_number_nsz(&mut self, a: RValue<'gcc>, b: RValue<'... function vector_reduce_fmin (line 2320) | pub fn vector_reduce_fmin(&mut self, src: RValue<'gcc>) -> RValue<'gcc> { function vector_reduce_fmin (line 2343) | pub fn vector_reduce_fmin(&mut self, _src: RValue<'gcc>) -> RValue<'gcc> { function vector_maximum_number_nsz (line 2347) | pub fn vector_maximum_number_nsz(&mut self, a: RValue<'gcc>, b: RValue<'... function vector_reduce_fmax (line 2352) | pub fn vector_reduce_fmax(&mut self, src: RValue<'gcc>) -> RValue<'gcc> { function vector_reduce_fmax (line 2376) | pub fn vector_reduce_fmax(&mut self, _src: RValue<'gcc>) -> RValue<'gcc> { function vector_select (line 2380) | pub fn vector_select( function assign_to_var (line 2443) | fn assign_to_var(&self, value: RValue<'gcc>) -> RValue<'gcc> { function difference_or_zero (line 2450) | fn difference_or_zero<'gcc>( method get_static (line 2467) | fn get_static(&mut self, def_id: DefId) -> RValue<'gcc> { function typing_env (line 2474) | fn typing_env(&self) -> ty::TypingEnv<'tcx> { method target_spec (line 2480) | fn target_spec(&self) -> &Target { method x86_abi_opt (line 2486) | fn x86_abi_opt(&self) -> X86Abi { type ToGccComp (line 2491) | pub trait ToGccComp { method to_gcc_comparison (line 2492) | fn to_gcc_comparison(&self) -> ComparisonOp; method to_gcc_comparison (line 2496) | fn to_gcc_comparison(&self) -> ComparisonOp { method to_gcc_comparison (line 2513) | fn to_gcc_comparison(&self) -> ComparisonOp { type MemOrdering (line 2538) | enum MemOrdering { type ToGccOrdering (line 2547) | trait ToGccOrdering { method to_gcc (line 2548) | fn to_gcc(self) -> i32; method to_gcc (line 2552) | fn to_gcc(self) -> i32 { function get_maybe_pointer_size (line 2568) | fn get_maybe_pointer_size(value: RValue<'_>) -> u32 { function get_maybe_pointer_size (line 2573) | fn get_maybe_pointer_size(value: RValue<'_>) -> u32 { FILE: compiler/rustc_codegen_gcc/src/callee.rs function get_fn (line 17) | pub fn get_fn<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, instance: Instance... FILE: compiler/rustc_codegen_gcc/src/common.rs function const_ptrcast (line 16) | pub fn const_ptrcast(&self, val: RValue<'gcc>, ty: Type<'gcc>) -> RValue... function const_bytes (line 20) | pub fn const_bytes(&self, bytes: &[u8]) -> RValue<'gcc> { function const_u16 (line 24) | pub fn const_u16(&self, i: u16) -> RValue<'gcc> { function global_string (line 28) | fn global_string(&self, string: &str) -> LValue<'gcc> { function const_bitcast (line 38) | pub fn const_bitcast(&self, value: RValue<'gcc>, typ: Type<'gcc>) -> RVa... function bytes_in_context (line 51) | pub fn bytes_in_context<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, bytes: &... function type_is_pointer (line 113) | pub fn type_is_pointer(typ: Type<'_>) -> bool { method const_null (line 118) | fn const_null(&self, typ: Type<'gcc>) -> RValue<'gcc> { method const_undef (line 122) | fn const_undef(&self, typ: Type<'gcc>) -> RValue<'gcc> { method const_poison (line 127) | fn const_poison(&self, typ: Type<'gcc>) -> RValue<'gcc> { method const_bool (line 132) | fn const_bool(&self, val: bool) -> RValue<'gcc> { method const_i8 (line 136) | fn const_i8(&self, i: i8) -> RValue<'gcc> { method const_i16 (line 140) | fn const_i16(&self, i: i16) -> RValue<'gcc> { method const_i32 (line 144) | fn const_i32(&self, i: i32) -> RValue<'gcc> { method const_int (line 148) | fn const_int(&self, typ: Type<'gcc>, int: i64) -> RValue<'gcc> { method const_u8 (line 152) | fn const_u8(&self, i: u8) -> RValue<'gcc> { method const_u32 (line 156) | fn const_u32(&self, i: u32) -> RValue<'gcc> { method const_u64 (line 160) | fn const_u64(&self, i: u64) -> RValue<'gcc> { method const_u128 (line 164) | fn const_u128(&self, i: u128) -> RValue<'gcc> { method const_usize (line 168) | fn const_usize(&self, i: u64) -> RValue<'gcc> { method const_uint (line 178) | fn const_uint(&self, typ: Type<'gcc>, int: u64) -> RValue<'gcc> { method const_uint_big (line 182) | fn const_uint_big(&self, typ: Type<'gcc>, num: u128) -> RValue<'gcc> { method const_real (line 186) | fn const_real(&self, typ: Type<'gcc>, val: f64) -> RValue<'gcc> { method const_str (line 190) | fn const_str(&self, s: &str) -> (RValue<'gcc>, RValue<'gcc>) { method const_struct (line 205) | fn const_struct(&self, values: &[RValue<'gcc>], packed: bool) -> RValue<... method const_vector (line 213) | fn const_vector(&self, values: &[RValue<'gcc>]) -> RValue<'gcc> { method const_to_opt_uint (line 218) | fn const_to_opt_uint(&self, _v: RValue<'gcc>) -> Option { method const_to_opt_u128 (line 223) | fn const_to_opt_u128(&self, _v: RValue<'gcc>, _sign_ext: bool) -> Option... method scalar_to_backend (line 228) | fn scalar_to_backend(&self, cv: Scalar, layout: abi::Scalar, ty: Type<'g... method const_ptr_byte_offset (line 316) | fn const_ptr_byte_offset(&self, base_addr: Self::Value, offset: abi::Siz... type SignType (line 323) | pub trait SignType<'gcc, 'tcx> { method is_signed (line 324) | fn is_signed(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_unsigned (line 325) | fn is_unsigned(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method to_signed (line 326) | fn to_signed(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc>; method to_unsigned (line 327) | fn to_unsigned(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc>; function is_signed (line 331) | fn is_signed(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_unsigned (line 335) | fn is_unsigned(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function to_signed (line 339) | fn to_signed(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc> { function to_unsigned (line 365) | fn to_unsigned(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc> { type TypeReflection (line 392) | pub trait TypeReflection<'gcc, 'tcx> { method is_uchar (line 393) | fn is_uchar(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_ushort (line 394) | fn is_ushort(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_uint (line 395) | fn is_uint(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_ulong (line 396) | fn is_ulong(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_ulonglong (line 397) | fn is_ulonglong(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_char (line 398) | fn is_char(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_short (line 399) | fn is_short(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_int (line 400) | fn is_int(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_long (line 401) | fn is_long(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_longlong (line 402) | fn is_longlong(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_i8 (line 404) | fn is_i8(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_u8 (line 405) | fn is_u8(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_i16 (line 406) | fn is_i16(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_u16 (line 407) | fn is_u16(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_i32 (line 408) | fn is_i32(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_u32 (line 409) | fn is_u32(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_i64 (line 410) | fn is_i64(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_u64 (line 411) | fn is_u64(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_i128 (line 412) | fn is_i128(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_u128 (line 413) | fn is_u128(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool; method is_vector (line 415) | fn is_vector(&self) -> bool; function is_uchar (line 419) | fn is_uchar(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_ushort (line 423) | fn is_ushort(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_uint (line 427) | fn is_uint(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_ulong (line 431) | fn is_ulong(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_ulonglong (line 435) | fn is_ulonglong(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_char (line 439) | fn is_char(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_short (line 443) | fn is_short(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_int (line 447) | fn is_int(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_long (line 451) | fn is_long(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_longlong (line 455) | fn is_longlong(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_i8 (line 459) | fn is_i8(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_u8 (line 463) | fn is_u8(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_i16 (line 467) | fn is_i16(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_u16 (line 471) | fn is_u16(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_i32 (line 475) | fn is_i32(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_u32 (line 479) | fn is_u32(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_i64 (line 483) | fn is_i64(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_u64 (line 487) | fn is_u64(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_i128 (line 491) | fn is_i128(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_u128 (line 495) | fn is_u128(&self, cx: &CodegenCx<'gcc, 'tcx>) -> bool { function is_vector (line 499) | fn is_vector(&self) -> bool { FILE: compiler/rustc_codegen_gcc/src/consts.rs function const_alloc_to_gcc (line 25) | pub(crate) fn const_alloc_to_gcc<'gcc, 'tcx>( function set_global_alignment (line 44) | fn set_global_alignment<'gcc, 'tcx>( method static_addr_of (line 59) | fn static_addr_of(&self, alloc: ConstAllocation<'_>, kind: Option<&str>)... method codegen_static (line 83) | fn codegen_static(&mut self, def_id: DefId) { function add_used_global (line 182) | pub fn add_used_global(&mut self, _global: RValue<'gcc>) { function add_used_function (line 187) | pub fn add_used_function(&self, function: Function<'gcc>) { function static_addr_of_mut (line 192) | pub fn static_addr_of_mut( function get_static (line 218) | pub fn get_static(&self, def_id: DefId) -> LValue<'gcc> { function get_static_inner (line 233) | pub(crate) fn get_static_inner(&self, def_id: DefId, gcc_type: Type<'gcc... function const_alloc_to_gcc_uncached (line 315) | pub(crate) fn const_alloc_to_gcc_uncached<'gcc>( function codegen_static_initializer (line 381) | fn codegen_static_initializer<'gcc, 'tcx>( function check_and_apply_linkage (line 389) | fn check_and_apply_linkage<'gcc, 'tcx>( FILE: compiler/rustc_codegen_gcc/src/context.rs type CodegenCx (line 33) | pub struct CodegenCx<'gcc, 'tcx> { function new (line 139) | pub fn new( function rvalue_as_function (line 316) | pub fn rvalue_as_function(&self, value: RValue<'gcc>) -> Function<'gcc> { function is_native_int_type (line 327) | pub fn is_native_int_type(&self, typ: Type<'gcc>) -> bool { function is_non_native_int_type (line 349) | pub fn is_non_native_int_type(&self, typ: Type<'gcc>) -> bool { function is_native_int_type_or_bool (line 354) | pub fn is_native_int_type_or_bool(&self, typ: Type<'gcc>) -> bool { function is_int_type_or_bool (line 358) | pub fn is_int_type_or_bool(&self, typ: Type<'gcc>) -> bool { function sess (line 364) | pub fn sess(&self) -> &'tcx Session { function bitcast_if_needed (line 368) | pub fn bitcast_if_needed( type Function (line 382) | type Function = Function<'gcc>; type BasicBlock (line 383) | type BasicBlock = Block<'gcc>; type Funclet (line 384) | type Funclet = (); type Value (line 386) | type Value = RValue<'gcc>; type Type (line 387) | type Type = Type<'gcc>; type FunctionSignature (line 388) | type FunctionSignature = Type<'gcc>; type DIScope (line 390) | type DIScope = (); type DILocation (line 391) | type DILocation = Location<'gcc>; type DIVariable (line 392) | type DIVariable = (); function vtables (line 396) | fn vtables( function get_fn (line 402) | fn get_fn(&self, instance: Instance<'tcx>) -> Function<'gcc> { function get_fn_addr (line 406) | fn get_fn_addr(&self, instance: Instance<'tcx>) -> RValue<'gcc> { function eh_personality (line 425) | fn eh_personality(&self) -> Function<'gcc> { function sess (line 479) | fn sess(&self) -> &Session { function set_frame_pointer_type (line 483) | fn set_frame_pointer_type(&self, _llfn: Function<'gcc>) { function apply_target_cpu_attr (line 487) | fn apply_target_cpu_attr(&self, _llfn: Function<'gcc>) { function declare_c_main (line 491) | fn declare_c_main(&self, fn_type: Self::Type) -> Option { function tcx (line 508) | fn tcx(&self) -> TyCtxt<'tcx> { method data_layout (line 514) | fn data_layout(&self) -> &TargetDataLayout { method target_spec (line 520) | fn target_spec(&self) -> &Target { method x86_abi_opt (line 526) | fn x86_abi_opt(&self) -> X86Abi { function handle_layout_err (line 536) | fn handle_layout_err(&self, err: LayoutError<'tcx>, span: Span, ty: Ty<'... function handle_fn_abi_err (line 550) | fn handle_fn_abi_err( function typing_env (line 577) | fn typing_env(&self) -> ty::TypingEnv<'tcx> { function generate_local_symbol_name (line 585) | pub fn generate_local_symbol_name(&self, prefix: &str) -> String { function to_gcc_tls_mode (line 601) | fn to_gcc_tls_mode(tls_model: TlsModel) -> gccjit::TlsModel { function new_array_type (line 611) | pub fn new_array_type<'gcc>( FILE: compiler/rustc_codegen_gcc/src/coverageinfo.rs function add_coverage (line 8) | fn add_coverage(&mut self, _instance: Instance<'tcx>, _kind: &CoverageKi... FILE: compiler/rustc_codegen_gcc/src/debuginfo.rs constant UNKNOWN_LINE_NUMBER (line 19) | pub(super) const UNKNOWN_LINE_NUMBER: u32 = 0; constant UNKNOWN_COLUMN_NUMBER (line 20) | pub(super) const UNKNOWN_COLUMN_NUMBER: u32 = 0; function dbg_var_addr (line 25) | fn dbg_var_addr( function dbg_var_value (line 39) | fn dbg_var_value( function insert_reference_to_gdb_debug_scripts_section_global (line 50) | fn insert_reference_to_gdb_debug_scripts_section_global(&mut self) { function set_var_name (line 57) | fn set_var_name(&mut self, _value: RValue<'gcc>, _name: &str) {} function set_dbg_loc (line 59) | fn set_dbg_loc(&mut self, dbg_loc: Self::DILocation) { function clear_dbg_loc (line 63) | fn clear_dbg_loc(&mut self) { function compute_mir_scopes (line 71) | fn compute_mir_scopes<'gcc, 'tcx>( function make_mir_scope (line 107) | fn make_mir_scope<'gcc, 'tcx>( type DebugLoc (line 181) | pub struct DebugLoc { function lookup_debug_loc (line 196) | pub fn lookup_debug_loc(&self, pos: BytePos) -> DebugLoc { function create_vtable_debuginfo (line 222) | fn create_vtable_debuginfo( function create_function_debug_context (line 231) | fn create_function_debug_context( function extend_scope_to_file (line 260) | fn extend_scope_to_file( function debuginfo_finalize (line 268) | fn debuginfo_finalize(&self) { function create_dbg_var (line 272) | fn create_dbg_var( function dbg_scope_fn (line 282) | fn dbg_scope_fn( function dbg_loc (line 291) | fn dbg_loc( FILE: compiler/rustc_codegen_gcc/src/declare.rs function get_or_insert_global (line 13) | pub fn get_or_insert_global( function declare_unnamed_global (line 35) | pub fn declare_unnamed_global(&self, ty: Type<'gcc>) -> LValue<'gcc> { function declare_global_with_linkage (line 40) | pub fn declare_global_with_linkage( function declare_func (line 52) | pub fn declare_func( function declare_global (line 63) | pub fn declare_global( function declare_private_global (line 83) | pub fn declare_private_global(&self, name: &str, ty: Type<'gcc>) -> LVal... function declare_entry_fn (line 90) | pub fn declare_entry_fn( function declare_fn (line 112) | pub fn declare_fn(&self, name: &str, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> ... function define_global (line 134) | pub fn define_global( function get_declared_value (line 144) | pub fn get_declared_value(&self, name: &str) -> Option> { function declare_raw_fn (line 154) | fn declare_raw_fn<'gcc>( function mangle_name (line 245) | fn mangle_name(name: &str) -> String { FILE: compiler/rustc_codegen_gcc/src/errors.rs type UnwindingInlineAsm (line 6) | pub(crate) struct UnwindingInlineAsm { type CopyBitcode (line 13) | pub(crate) struct CopyBitcode { type LtoBitcodeFromRlib (line 19) | pub(crate) struct LtoBitcodeFromRlib { type ExplicitTailCallsUnsupported (line 25) | pub(crate) struct ExplicitTailCallsUnsupported; FILE: compiler/rustc_codegen_gcc/src/gcc_util.rs function gcc_features_by_flags (line 8) | fn gcc_features_by_flags(sess: &Session, features: &mut Vec) { function global_gcc_features (line 15) | pub(crate) fn global_gcc_features(sess: &Session) -> Vec { function to_gcc_features (line 61) | pub fn to_gcc_features<'a>(sess: &Session, s: &'a str) -> SmallVec<[&'a ... function arch_to_gcc (line 109) | fn arch_to_gcc(name: &str) -> &str { function handle_native (line 117) | fn handle_native(name: &str) -> &str { function target_cpu (line 132) | pub fn target_cpu(sess: &Session) -> &str { FILE: compiler/rustc_codegen_gcc/src/int.rs function gcc_urem (line 22) | pub fn gcc_urem(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function gcc_srem (line 27) | pub fn gcc_srem(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function gcc_not (line 32) | pub fn gcc_not(&self, a: RValue<'gcc>) -> RValue<'gcc> { function gcc_neg (line 58) | pub fn gcc_neg(&self, a: RValue<'gcc>) -> RValue<'gcc> { function gcc_and (line 67) | pub fn gcc_and(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function gcc_lshr (line 71) | pub fn gcc_lshr(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'... function additive_operation (line 157) | fn additive_operation( function gcc_add (line 203) | pub fn gcc_add(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function gcc_mul (line 207) | pub fn gcc_mul(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function gcc_sub (line 211) | pub fn gcc_sub(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function multiplicative_operation (line 215) | fn multiplicative_operation( function gcc_sdiv (line 257) | pub fn gcc_sdiv(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function gcc_udiv (line 264) | pub fn gcc_udiv(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { function gcc_checked_binop (line 269) | pub fn gcc_checked_binop( function operation_with_overflow (line 333) | pub fn operation_with_overflow( function gcc_icmp (line 424) | pub fn gcc_icmp( function gcc_xor (line 613) | pub fn gcc_xor(&self, a: RValue<'gcc>, mut b: RValue<'gcc>) -> RValue<'g... function gcc_shl (line 634) | pub fn gcc_shl(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'g... function gcc_bswap (line 719) | pub fn gcc_bswap(&mut self, mut arg: RValue<'gcc>, width: u64) -> RValue... function gcc_int (line 749) | pub fn gcc_int(&self, typ: Type<'gcc>, int: i64) -> RValue<'gcc> { function gcc_uint (line 758) | pub fn gcc_uint(&self, typ: Type<'gcc>, int: u64) -> RValue<'gcc> { function gcc_uint_big (line 770) | pub fn gcc_uint_big(&self, typ: Type<'gcc>, num: u128) -> RValue<'gcc> { function gcc_zero (line 794) | pub fn gcc_zero(&self, typ: Type<'gcc>) -> RValue<'gcc> { function gcc_int_width (line 802) | pub fn gcc_int_width(&self, typ: Type<'gcc>) -> u64 { function bitwise_operation (line 811) | fn bitwise_operation( function gcc_or (line 856) | pub fn gcc_or( function gcc_int_cast (line 866) | pub fn gcc_int_cast(&self, value: RValue<'gcc>, dest_typ: Type<'gcc>) ->... function int_to_float_cast (line 896) | fn int_to_float_cast( function gcc_int_to_float_cast (line 930) | pub fn gcc_int_to_float_cast(&self, value: RValue<'gcc>, dest_typ: Type<... function gcc_uint_to_float_cast (line 934) | pub fn gcc_uint_to_float_cast( function float_to_int_cast (line 942) | fn float_to_int_cast( function gcc_float_to_int_cast (line 984) | pub fn gcc_float_to_int_cast(&self, value: RValue<'gcc>, dest_typ: Type<... function gcc_float_to_uint_cast (line 988) | pub fn gcc_float_to_uint_cast( function high (line 996) | fn high(&self, value: RValue<'gcc>) -> RValue<'gcc> { function low (line 1006) | fn low(&self, value: RValue<'gcc>) -> RValue<'gcc> { function concat_low_high_rvalues (line 1016) | fn concat_low_high_rvalues( function concat_low_high (line 1031) | fn concat_low_high(&self, typ: Type<'gcc>, low: i64, high: i64) -> RValu... function type_kind_to_gcc_type (line 1046) | fn type_kind_to_gcc_type(kind: TyKind) -> CType { FILE: compiler/rustc_codegen_gcc/src/intrinsic/archs.rs function map_arch_intrinsic (line 4) | fn map_arch_intrinsic(full_name: &str) -> &'static str { FILE: compiler/rustc_codegen_gcc/src/intrinsic/llvm.rs function encode_key_128_type (line 9) | fn encode_key_128_type<'a, 'gcc, 'tcx>( function encode_key_256_type (line 30) | fn encode_key_256_type<'a, 'gcc, 'tcx>( function aes_output_type (line 52) | fn aes_output_type<'a, 'gcc, 'tcx>( function wide_aes_output_type (line 65) | fn wide_aes_output_type<'a, 'gcc, 'tcx>( function adjust_function (line 89) | pub fn adjust_function<'gcc>( function adjust_intrinsic_arguments (line 120) | pub fn adjust_intrinsic_arguments<'a, 'b, 'gcc, 'tcx>( function adjust_intrinsic_return_value (line 787) | pub fn adjust_intrinsic_return_value<'a, 'gcc, 'tcx>( function ignore_arg_cast (line 970) | pub fn ignore_arg_cast(func_name: &str, index: usize, args_len: usize) -... function intrinsic (line 1029) | pub fn intrinsic<'gcc, 'tcx>(name: &str, cx: &CodegenCx<'gcc, 'tcx>) -> ... function intrinsic (line 1045) | pub fn intrinsic<'gcc, 'tcx>(name: &str, cx: &CodegenCx<'gcc, 'tcx>) -> ... FILE: compiler/rustc_codegen_gcc/src/intrinsic/mod.rs function get_simple_intrinsic (line 43) | fn get_simple_intrinsic<'gcc, 'tcx>( function get_simple_function (line 129) | fn get_simple_function<'gcc, 'tcx>( function get_simple_function_f128 (line 194) | fn get_simple_function_f128<'gcc, 'tcx>( function f16_builtin (line 220) | fn f16_builtin<'gcc, 'tcx>( function codegen_intrinsic_call (line 255) | fn codegen_intrinsic_call( function codegen_llvm_intrinsic_call (line 618) | fn codegen_llvm_intrinsic_call( function abort (line 698) | fn abort(&mut self) { function assume (line 704) | fn assume(&mut self, value: Self::Value) { function expect (line 711) | fn expect(&mut self, cond: Self::Value, _expected: bool) -> Self::Value { function type_checked_load (line 716) | fn type_checked_load( function va_start (line 726) | fn va_start(&mut self, _va_list: RValue<'gcc>) -> RValue<'gcc> { function va_end (line 730) | fn va_end(&mut self, _va_list: RValue<'gcc>) -> RValue<'gcc> { function store_fn_arg (line 737) | fn store_fn_arg( function store_arg (line 746) | fn store_arg( type ArgAbiExt (line 756) | pub trait ArgAbiExt<'gcc, 'tcx> { method store (line 757) | fn store( method store_fn_arg (line 763) | fn store_fn_arg( function store (line 776) | fn store( function store_fn_arg (line 839) | fn store_fn_arg<'a>( function int_type_width_signed (line 868) | fn int_type_width_signed<'gcc, 'tcx>( function bit_reverse (line 900) | fn bit_reverse(&mut self, width: u64, value: RValue<'gcc>) -> RValue<'gc... function count_zeroes (line 975) | fn count_zeroes(&mut self, width: u64, arg: RValue<'gcc>, count_leading:... function count_zeroes_nonzero (line 1010) | fn count_zeroes_nonzero( function count_leading_zeroes (line 1128) | fn count_leading_zeroes(&mut self, width: u64, arg: RValue<'gcc>) -> RVa... function count_leading_zeroes_nonzero (line 1132) | fn count_leading_zeroes_nonzero(&mut self, width: u64, arg: RValue<'gcc>... function count_trailing_zeroes (line 1137) | fn count_trailing_zeroes(&mut self, width: u64, arg: RValue<'gcc>) -> RV... function count_trailing_zeroes_nonzero (line 1141) | fn count_trailing_zeroes_nonzero(&mut self, width: u64, arg: RValue<'gcc... function pop_count (line 1146) | fn pop_count(&mut self, value: RValue<'gcc>) -> RValue<'gcc> { function rotate_left (line 1210) | fn rotate_left( function rotate_right (line 1226) | fn rotate_right( function saturating_add (line 1241) | fn saturating_add( function saturating_sub (line 1305) | fn saturating_sub( function try_intrinsic (line 1368) | fn try_intrinsic<'a, 'b, 'gcc, 'tcx>( function codegen_gnu_try (line 1403) | fn codegen_gnu_try<'gcc, 'tcx>( function get_rust_try_fn (line 1472) | fn get_rust_try_fn<'a, 'gcc, 'tcx>( function gen_fn (line 1521) | fn gen_fn<'a, 'gcc, 'tcx>( FILE: compiler/rustc_codegen_gcc/src/intrinsic/old_archs.rs type ArchCheckResult (line 7) | pub(crate) enum ArchCheckResult { function old_archs (line 13) | pub(crate) fn old_archs(arch: &str, name: &str) -> ArchCheckResult { FILE: compiler/rustc_codegen_gcc/src/intrinsic/simd.rs function generic_simd_intrinsic (line 28) | pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>( function simd_funnel_shift (line 1682) | fn simd_funnel_shift<'a, 'gcc, 'tcx>( FILE: compiler/rustc_codegen_gcc/src/lib.rs type PrintOnPanic (line 108) | pub struct PrintOnPanic String>(pub F); method drop (line 111) | fn drop(&mut self) { type TargetInfo (line 120) | pub struct TargetInfo { method cpu_supports (line 126) | fn cpu_supports(&self, _feature: &str) -> bool { method supports_target_dependent_type (line 130) | fn supports_target_dependent_type(&self, typ: CType) -> bool { type LockedTargetInfo (line 144) | pub struct LockedTargetInfo { method cpu_supports (line 155) | fn cpu_supports(&self, feature: &str) -> bool { method supports_target_dependent_type (line 164) | fn supports_target_dependent_type(&self, typ: CType) -> bool { method fmt (line 149) | fn fmt(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Resu... type GccCodegenBackend (line 175) | pub struct GccCodegenBackend { function load_libgccjit_if_needed (line 180) | fn load_libgccjit_if_needed(libgccjit_target_lib_file: &Path) { method name (line 196) | fn name(&self) -> &'static str { method init (line 200) | fn init(&self, sess: &Session) { method thin_lto_supported (line 281) | fn thin_lto_supported(&self) -> bool { method provide (line 285) | fn provide(&self, providers: &mut Providers) { method target_cpu (line 290) | fn target_cpu(&self, sess: &Session) -> String { method codegen_crate (line 294) | fn codegen_crate(&self, tcx: TyCtxt<'_>, crate_info: &CrateInfo) -> Box<... method join_codegen (line 298) | fn join_codegen( method target_config (line 310) | fn target_config(&self, sess: &Session) -> TargetConfig { function new_context (line 315) | fn new_context<'gcc, 'tcx>(tcx: TyCtxt<'tcx>) -> Context<'gcc> { method supports_parallel (line 337) | fn supports_parallel(&self) -> bool { method codegen_allocator (line 341) | fn codegen_allocator( method compile_codegen_unit (line 362) | fn compile_codegen_unit( type LtoMode (line 377) | pub enum LtoMode { type GccContext (line 383) | pub struct GccContext { type SyncContext (line 394) | struct SyncContext { method new (line 399) | fn new(context: Context<'static>) -> Self { type Target (line 405) | type Target = Context<'static>; method deref (line 407) | fn deref(&self) -> &Self::Target { type Module (line 417) | type Module = GccContext; type TargetMachine (line 418) | type TargetMachine = (); type ModuleBuffer (line 419) | type ModuleBuffer = ModuleBuffer; type ThinData (line 420) | type ThinData = (); method target_machine_factory (line 422) | fn target_machine_factory( method optimize_and_codegen_fat_lto (line 432) | fn optimize_and_codegen_fat_lto( method run_thin_lto (line 445) | fn run_thin_lto( method optimize (line 458) | fn optimize( method optimize_and_codegen_thin (line 468) | fn optimize_and_codegen_thin( method codegen (line 478) | fn codegen( method serialize_module (line 490) | fn serialize_module(_module: Self::Module, _is_thin: bool) -> Self::Modu... function __rustc_codegen_backend (line 497) | pub fn __rustc_codegen_backend() -> Box { function to_gcc_opt_level (line 515) | fn to_gcc_opt_level(optlevel: Option) -> OptimizationLevel { function target_config (line 529) | fn target_config(sess: &Session, target_info: &LockedTargetInfo) -> Targ... FILE: compiler/rustc_codegen_gcc/src/mono_item.rs function predefine_static (line 19) | fn predefine_static( function predefine_fn (line 44) | fn predefine_fn( FILE: compiler/rustc_codegen_gcc/src/type_.rs function type_ix (line 20) | pub fn type_ix(&self, num_bits: u64) -> Type<'gcc> { function type_void (line 36) | pub fn type_void(&self) -> Type<'gcc> { function type_size_t (line 40) | pub fn type_size_t(&self) -> Type<'gcc> { function type_u8 (line 44) | pub fn type_u8(&self) -> Type<'gcc> { function type_u16 (line 48) | pub fn type_u16(&self) -> Type<'gcc> { function type_u32 (line 52) | pub fn type_u32(&self) -> Type<'gcc> { function type_u64 (line 56) | pub fn type_u64(&self) -> Type<'gcc> { function type_u128 (line 60) | pub fn type_u128(&self) -> Type<'gcc> { function type_ptr_to (line 64) | pub fn type_ptr_to(&self, ty: Type<'gcc>) -> Type<'gcc> { function type_ptr_to_ext (line 68) | pub fn type_ptr_to_ext(&self, ty: Type<'gcc>, _address_space: AddressSpa... function type_i8p (line 73) | pub fn type_i8p(&self) -> Type<'gcc> { function type_i8p_ext (line 77) | pub fn type_i8p_ext(&self, address_space: AddressSpace) -> Type<'gcc> { function type_pointee_for_align (line 81) | pub fn type_pointee_for_align(&self, align: Align) -> Type<'gcc> { function type_vector (line 87) | pub fn type_vector(&self, ty: Type<'gcc>, len: u64) -> Type<'gcc> { function type_float_from_ty (line 91) | pub fn type_float_from_ty(&self, t: ty::FloatTy) -> Type<'gcc> { function type_i1 (line 100) | pub fn type_i1(&self) -> Type<'gcc> { function type_struct (line 104) | pub fn type_struct(&self, fields: &[Type<'gcc>], packed: bool) -> Type<'... method type_i8 (line 127) | fn type_i8(&self) -> Type<'gcc> { method type_i16 (line 131) | fn type_i16(&self) -> Type<'gcc> { method type_i32 (line 135) | fn type_i32(&self) -> Type<'gcc> { method type_i64 (line 139) | fn type_i64(&self) -> Type<'gcc> { method type_i128 (line 143) | fn type_i128(&self) -> Type<'gcc> { method type_isize (line 147) | fn type_isize(&self) -> Type<'gcc> { method type_f16 (line 151) | fn type_f16(&self) -> Type<'gcc> { method type_f32 (line 159) | fn type_f32(&self) -> Type<'gcc> { method type_f64 (line 167) | fn type_f64(&self) -> Type<'gcc> { method type_f128 (line 175) | fn type_f128(&self) -> Type<'gcc> { method type_func (line 183) | fn type_func(&self, params: &[Type<'gcc>], return_type: Type<'gcc>) -> T... method type_kind (line 188) | fn type_kind(&self, typ: Type<'gcc>) -> TypeKind { method type_kind (line 222) | fn type_kind(&self, typ: Type<'gcc>) -> TypeKind { method type_ptr (line 247) | fn type_ptr(&self) -> Type<'gcc> { method type_ptr_ext (line 251) | fn type_ptr_ext(&self, address_space: AddressSpace) -> Type<'gcc> { method element_type (line 255) | fn element_type(&self, ty: Type<'gcc>) -> Type<'gcc> { method vector_length (line 267) | fn vector_length(&self, _ty: Type<'gcc>) -> usize { method float_width (line 272) | fn float_width(&self, typ: Type<'gcc>) -> usize { method float_width (line 281) | fn float_width(&self, typ: Type<'gcc>) -> usize { method int_width (line 294) | fn int_width(&self, typ: Type<'gcc>) -> u64 { method val_ty (line 298) | fn val_ty(&self, value: RValue<'gcc>) -> Type<'gcc> { method type_array (line 303) | fn type_array(&self, ty: Type<'gcc>, mut len: u64) -> Type<'gcc> { function type_padding_filler (line 319) | pub fn type_padding_filler(&self, size: Size, align: Align) -> Type<'gcc> { function set_struct_body (line 327) | pub fn set_struct_body(&self, typ: Struct<'gcc>, fields: &[Type<'gcc>], ... function type_named_struct (line 340) | pub fn type_named_struct(&self, name: &str) -> Struct<'gcc> { function struct_fields (line 345) | pub fn struct_fields<'gcc, 'tcx>( FILE: compiler/rustc_codegen_gcc/src/type_of.rs function type_from_unsigned_integer (line 23) | fn type_from_unsigned_integer(&self, i: Integer) -> Type<'gcc> { function type_int_from_ty (line 35) | pub fn type_int_from_ty(&self, t: ty::IntTy) -> Type<'gcc> { function type_uint_from_ty (line 47) | pub fn type_uint_from_ty(&self, t: ty::UintTy) -> Type<'gcc> { function uncached_gcc_type (line 59) | fn uncached_gcc_type<'gcc, 'tcx>( type LayoutGccExt (line 156) | pub trait LayoutGccExt<'tcx> { method is_gcc_immediate (line 157) | fn is_gcc_immediate(&self) -> bool; method is_gcc_scalar_pair (line 158) | fn is_gcc_scalar_pair(&self) -> bool; method gcc_type (line 159) | fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc>; method immediate_gcc_type (line 160) | fn immediate_gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type... method scalar_gcc_type_at (line 161) | fn scalar_gcc_type_at<'gcc>( method scalar_pair_element_gcc_type (line 167) | fn scalar_pair_element_gcc_type<'gcc>( method pointee_info_at (line 172) | fn pointee_info_at<'gcc>( function is_gcc_immediate (line 180) | fn is_gcc_immediate(&self) -> bool { function is_gcc_scalar_pair (line 189) | fn is_gcc_scalar_pair(&self) -> bool { function gcc_type (line 210) | fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc> { function immediate_gcc_type (line 270) | fn immediate_gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'... function scalar_gcc_type_at (line 279) | fn scalar_gcc_type_at<'gcc>( function scalar_pair_element_gcc_type (line 303) | fn scalar_pair_element_gcc_type<'gcc>( function pointee_info_at (line 332) | fn pointee_info_at<'a>(&self, cx: &CodegenCx<'a, 'tcx>, offset: Size) ->... function backend_type (line 345) | fn backend_type(&self, layout: TyAndLayout<'tcx>) -> Type<'gcc> { function immediate_backend_type (line 349) | fn immediate_backend_type(&self, layout: TyAndLayout<'tcx>) -> Type<'gcc> { function is_backend_immediate (line 353) | fn is_backend_immediate(&self, layout: TyAndLayout<'tcx>) -> bool { function is_backend_scalar_pair (line 357) | fn is_backend_scalar_pair(&self, layout: TyAndLayout<'tcx>) -> bool { function scalar_pair_element_backend_type (line 361) | fn scalar_pair_element_backend_type( function cast_backend_type (line 370) | fn cast_backend_type(&self, ty: &CastTarget) -> Type<'gcc> { function fn_ptr_backend_type (line 374) | fn fn_ptr_backend_type(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> Type<'g... function reg_backend_type (line 378) | fn reg_backend_type(&self, _ty: &Reg) -> Type<'gcc> { function fn_decl_backend_type (line 382) | fn fn_decl_backend_type(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> Type<'... FILE: compiler/rustc_codegen_gcc/tests/cross_lang_lto/add.c function my_add (line 3) | uint32_t my_add(uint32_t a, uint32_t b) { FILE: compiler/rustc_codegen_gcc/tests/cross_lang_lto/src/main.rs function my_add (line 12) | fn my_add(a: u32, b: u32) -> u32; function main (line 15) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/hello-world/mylib/src/lib.rs function my_func (line 1) | pub fn my_func(a: i32, b: i32) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/hello-world/src/main.rs function main (line 3) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/lang_tests_common.rs type Profile (line 15) | pub enum Profile { function main_inner (line 20) | pub fn main_inner(profile: Profile) { FILE: compiler/rustc_codegen_gcc/tests/lang_tests_debug.rs function main (line 3) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/lang_tests_release.rs function main (line 3) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/run/abort1.rs function test_fail (line 14) | fn test_fail() -> ! { function main (line 19) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/abort2.rs function fail (line 14) | fn fail() -> i32 { function main (line 20) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/always_inline.rs function fib (line 15) | fn fib(n: u8) -> u8 { function fib_b (line 26) | fn fib_b(n: u8) -> u8 { function fib_a (line 37) | fn fib_a(n: u8) -> u8 { function main (line 48) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/array.rs function make_array (line 20) | fn make_array() -> [u8; 3] { function main (line 25) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/asm.rs function add_asm (line 21) | fn add_asm(a: i64, b: i64) -> i64; function mem_cpy (line 25) | pub unsafe fn mem_cpy(dst: *mut u8, src: *const u8, len: usize) { function asm (line 36) | fn asm() { function asm (line 234) | fn asm() {} function main (line 236) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/run/assign.rs function inc_ref (line 16) | fn inc_ref(num: &mut isize) -> isize { function inc (line 21) | fn inc(num: isize) -> isize { function main (line 26) | extern "C" fn main(mut argc: isize, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/call-llvm-intrinsics.rs type A (line 12) | struct A; method drop (line 15) | fn drop(&mut self) { function sqrt (line 22) | fn sqrt(x: f32) -> f32; function do_call (line 25) | pub fn do_call() { function main (line 36) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/run/closure.rs function main (line 20) | extern "C" fn main(argc: isize, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/condition.rs function main (line 17) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/empty_main.rs function main (line 15) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/exit.rs function main (line 15) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/exit_code.rs function main (line 15) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/float.rs function main (line 6) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/run/fun_ptr.rs function i16_as_i8 (line 15) | fn i16_as_i8(a: i16) -> i8 { function call_func (line 19) | fn call_func(func: fn(i16) -> i8, param: i16) -> i8 { function main (line 24) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/gep.rs function main (line 6) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/run/int.rs function main (line 6) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/run/int_intrinsics.rs function ctlz (line 10) | pub const fn ctlz(_x: T) -> u32; function cttz (line 13) | pub const fn cttz(_x: T) -> u32; function main (line 16) | extern "C" fn main(_argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/int_overflow.rs function main (line 7) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/run/mut_ref.rs type Test (line 17) | struct Test { function test (line 21) | fn test(num: isize) -> Test { function update_num (line 25) | fn update_num(num: &mut isize) { function main (line 30) | extern "C" fn main(mut argc: isize, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/operations.rs function main (line 17) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/packed_u128.rs type ScalarInt (line 15) | pub struct ScalarInt { function read_data (line 21) | fn read_data(a: &ScalarInt) { function main (line 26) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/ptr_cast.rs function int_cast (line 18) | fn int_cast(a: u16, b: i16) -> (u8, u16, u32, usize, i8, i16, i32, isize... function main (line 28) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/return-tuple.rs function int_cast (line 17) | fn int_cast(a: u16, b: i16) -> (u8, u16, u32, usize, i8, i16, i32, isize... function main (line 25) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/simd-ffi.rs type f32x4 (line 18) | pub struct f32x4([f32; 4]); function vsqrt (line 22) | fn vsqrt(x: f32x4) -> f32x4; function foo (line 25) | pub fn foo(x: f32x4) -> f32x4 { type i32x4 (line 31) | pub struct i32x4([i32; 4]); function integer (line 37) | fn integer(a: i32x4, b: i32x4) -> i32x4; function integer (line 42) | fn integer(a: i32x4, b: i32x4) -> i32x4; function integer (line 46) | fn integer(a: i32x4, b: i32x4) -> i32x4; function integer (line 55) | fn integer(a: i32x4, b: i32x4) -> i32x4; function bar (line 58) | pub fn bar(a: i32x4, b: i32x4) -> i32x4 { type PointeeSized (line 63) | pub trait PointeeSized {} type MetaSized (line 66) | pub trait MetaSized: PointeeSized {} type Sized (line 69) | pub trait Sized: MetaSized {} type Copy (line 72) | pub trait Copy {} type Freeze (line 84) | trait Freeze {} function start (line 98) | fn start(_main: fn() -> T, _argc: isize, _argv: *const *const u8, _si... function main (line 102) | fn main() {} FILE: compiler/rustc_codegen_gcc/tests/run/slice.rs function index_slice (line 17) | fn index_slice(s: &[u32]) -> u32 { function main (line 22) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/static.rs type Test (line 20) | struct Test { type WithRef (line 24) | struct WithRef { function main (line 37) | extern "C" fn main(argc: isize, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/structs.rs type Test (line 16) | struct Test { type Two (line 20) | struct Two { function one (line 24) | fn one() -> isize { function main (line 29) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/switchint_128bit.rs function main (line 16) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/tuple.rs function main (line 16) | extern "C" fn main(argc: i32, _argv: *const *const u8) -> i32 { FILE: compiler/rustc_codegen_gcc/tests/run/unreachable-function.rs function exit_syscall (line 8) | fn exit_syscall(status: i32) -> ! { function main (line 23) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/run/volatile.rs type Struct (line 10) | struct Struct { function func (line 15) | fn func(_ptr: *const ()) {} function main (line 17) | fn main() { FILE: compiler/rustc_codegen_gcc/tests/run/volatile2.rs function sigaction (line 9) | pub fn sigaction(signum: i32, act: *const sigaction, oldact: *mut sigact... function mmap (line 10) | pub fn mmap( function mprotect (line 18) | pub fn mprotect(addr: *mut (), len: usize, prot: i32) -> i32; constant PROT_READ (line 21) | pub const PROT_READ: i32 = 1; constant PROT_WRITE (line 22) | pub const PROT_WRITE: i32 = 2; constant MAP_PRIVATE (line 23) | pub const MAP_PRIVATE: i32 = 0x0002; constant MAP_ANONYMOUS (line 24) | pub const MAP_ANONYMOUS: i32 = 0x0020; constant MAP_FAILED (line 25) | pub const MAP_FAILED: *mut u8 = !0 as *mut u8; type sigaction (line 29) | pub struct sigaction { constant SA_SIGINFO (line 36) | pub const SA_SIGINFO: i32 = 0x00000004; constant SIGSEGV (line 37) | pub const SIGSEGV: i32 = 11; constant PAGE_SIZE (line 42) | const PAGE_SIZE: usize = 1 << 15; function main (line 44) | fn main() { function segv_handler (line 102) | unsafe extern "C" fn segv_handler(_: i32, _: *mut (), _: *mut ()) { FILE: compiler/rustc_codegen_gcc/tools/check_intrinsics_duplicates.py function check_duplicates (line 4) | def check_duplicates(): FILE: compiler/rustc_codegen_gcc/tools/generate_intrinsics.py function run_command (line 8) | def run_command(command, cwd=None): function clone_repository (line 15) | def clone_repository(repo_name, path, repo_url, sub_paths): function append_intrinsic (line 35) | def append_intrinsic(array, intrinsic_name, translation): function convert_to_string (line 39) | def convert_to_string(content): function extract_intrinsics_from_llvm (line 45) | def extract_intrinsics_from_llvm(llvm_path): function update_intrinsics (line 73) | def update_intrinsics(llvm_path): function main (line 128) | def main(): FILE: compiler/rustc_codegen_llvm/src/abi.rs type ArgAttributesExt (line 28) | trait ArgAttributesExt { method apply_attrs_to_llfn (line 29) | fn apply_attrs_to_llfn(&self, idx: AttributePlace, cx: &CodegenCx<'_, ... method apply_attrs_to_callsite (line 30) | fn apply_attrs_to_callsite( method apply_attrs_to_llfn (line 109) | fn apply_attrs_to_llfn(&self, idx: AttributePlace, cx: &CodegenCx<'_, ... method apply_attrs_to_callsite (line 114) | fn apply_attrs_to_callsite( constant ABI_AFFECTING_ATTRIBUTES (line 38) | const ABI_AFFECTING_ATTRIBUTES: [(ArgAttribute, llvm::AttributeKind); 1] = constant OPTIMIZATION_ATTRIBUTES (line 41) | const OPTIMIZATION_ATTRIBUTES: [(ArgAttribute, llvm::AttributeKind); 4] = [ constant CAPTURES_ATTRIBUTES (line 48) | const CAPTURES_ATTRIBUTES: [(ArgAttribute, llvm::AttributeKind); 3] = [ function get_attrs (line 54) | fn get_attrs<'ll>(this: &ArgAttributes, cx: &CodegenCx<'ll, '_>) -> Smal... type LlvmType (line 125) | pub(crate) trait LlvmType { method llvm_type (line 126) | fn llvm_type<'ll>(&self, cx: &CodegenCx<'ll, '_>) -> &'ll Type; method llvm_type (line 130) | fn llvm_type<'ll>(&self, cx: &CodegenCx<'ll, '_>) -> &'ll Type { method llvm_type (line 146) | fn llvm_type<'ll>(&self, cx: &CodegenCx<'ll, '_>) -> &'ll Type { type ArgAbiExt (line 185) | trait ArgAbiExt<'ll, 'tcx> { method store (line 186) | fn store( method store_fn_arg (line 192) | fn store_fn_arg( function store (line 205) | fn store( function store_fn_arg (line 259) | fn store_fn_arg( function store_fn_arg (line 289) | fn store_fn_arg( function store_arg (line 297) | fn store_arg( type FnAbiLlvmExt (line 307) | pub(crate) trait FnAbiLlvmExt<'ll, 'tcx> { method llvm_type (line 308) | fn llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type; method ptr_to_llvm_type (line 309) | fn ptr_to_llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type; method llvm_cconv (line 310) | fn llvm_cconv(&self, cx: &CodegenCx<'ll, 'tcx>) -> llvm::CallConv; method apply_attrs_llfn (line 313) | fn apply_attrs_llfn( method apply_attrs_callsite (line 321) | fn apply_attrs_callsite(&self, bx: &mut Builder<'_, 'll, 'tcx>, callsi... function llvm_type (line 325) | fn llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type { function ptr_to_llvm_type (line 398) | fn ptr_to_llvm_type(&self, cx: &CodegenCx<'ll, 'tcx>) -> &'ll Type { function llvm_cconv (line 402) | fn llvm_cconv(&self, cx: &CodegenCx<'ll, 'tcx>) -> llvm::CallConv { function apply_attrs_llfn (line 406) | fn apply_attrs_llfn( function apply_attrs_callsite (line 572) | fn apply_attrs_callsite(&self, bx: &mut Builder<'_, 'll, 'tcx>, callsite... method get_param (line 681) | fn get_param(&mut self, index: usize) -> Self::Value { function to_llvm_calling_convention (line 688) | pub(crate) fn to_llvm_calling_convention(sess: &Session, abi: CanonAbi) ... FILE: compiler/rustc_codegen_llvm/src/allocator.rs function codegen (line 19) | pub(crate) unsafe fn codegen( function create_wrapper_function (line 108) | fn create_wrapper_function( FILE: compiler/rustc_codegen_llvm/src/asm.rs function codegen_inline_asm (line 24) | fn codegen_inline_asm( function codegen_global_asm (line 378) | fn codegen_global_asm( function mangled_name (line 450) | fn mangled_name(&self, instance: Instance<'tcx>) -> String { function inline_asm_call (line 459) | pub(crate) fn inline_asm_call<'ll>( function xmm_reg_index (line 546) | fn xmm_reg_index(reg: InlineAsmReg) -> Option { function a64_reg_index (line 563) | fn a64_reg_index(reg: InlineAsmReg) -> Option { function a64_vreg_index (line 571) | fn a64_vreg_index(reg: InlineAsmReg) -> Option { function reg_to_llvm (line 579) | fn reg_to_llvm(reg: InlineAsmRegOrRegClass, layout: Option<&TyAndLayout<... function modifier_to_llvm (line 718) | fn modifier_to_llvm( function dummy_output_type (line 814) | fn dummy_output_type<'ll>(cx: &CodegenCx<'ll, '_>, reg: InlineAsmRegClas... function llvm_asm_scalar_type (line 897) | fn llvm_asm_scalar_type<'ll>(cx: &CodegenCx<'ll, '_>, scalar: Scalar) ->... function any_target_feature_enabled (line 914) | fn any_target_feature_enabled( function llvm_fixup_input (line 924) | fn llvm_fixup_input<'ll, 'tcx>( function llvm_fixup_output (line 1102) | fn llvm_fixup_output<'ll, 'tcx>( function llvm_fixup_output_type (line 1259) | fn llvm_fixup_output_type<'ll, 'tcx>( FILE: compiler/rustc_codegen_llvm/src/attributes.rs function apply_to_llfn (line 23) | pub(crate) fn apply_to_llfn(llfn: &Value, idx: AttributePlace, attrs: &[... function apply_to_callsite (line 29) | pub(crate) fn apply_to_callsite(callsite: &Value, idx: AttributePlace, a... function has_string_attr (line 35) | pub(crate) fn has_string_attr(llfn: &Value, name: &str) -> bool { function remove_string_attr_from_llfn (line 39) | pub(crate) fn remove_string_attr_from_llfn(llfn: &Value, name: &str) { function inline_attr (line 44) | pub(crate) fn inline_attr<'ll, 'tcx>( function patchable_function_entry_attrs (line 78) | fn patchable_function_entry_attrs<'ll>( function sanitize_attrs (line 108) | pub(crate) fn sanitize_attrs<'ll, 'tcx>( function uwtable_attr (line 162) | pub(crate) fn uwtable_attr(llcx: &llvm::Context, use_sync_unwind: Option... function frame_pointer_type_attr (line 170) | pub(crate) fn frame_pointer_type_attr<'ll>( function function_return_attr (line 190) | fn function_return_attr<'ll>(cx: &SimpleCx<'ll>, sess: &Session) -> Opti... function instrument_function_attr (line 201) | fn instrument_function_attr<'ll>( function nojumptables_attr (line 254) | fn nojumptables_attr<'ll>(cx: &SimpleCx<'ll>, sess: &Session) -> Option<... function probestack_attr (line 262) | fn probestack_attr<'ll, 'tcx>(cx: &SimpleCx<'ll>, tcx: TyCtxt<'tcx>) -> ... function stackprotector_attr (line 295) | fn stackprotector_attr<'ll>(cx: &SimpleCx<'ll>, sess: &Session) -> Optio... function packed_stack_attr (line 306) | fn packed_stack_attr<'ll>( function target_cpu_attr (line 336) | pub(crate) fn target_cpu_attr<'ll>(cx: &SimpleCx<'ll>, sess: &Session) -... function tune_cpu_attr (line 341) | pub(crate) fn tune_cpu_attr<'ll>(cx: &SimpleCx<'ll>, sess: &Session) -> ... function target_features_attr (line 347) | pub(crate) fn target_features_attr<'ll, 'tcx>( function non_lazy_bind_attr (line 362) | pub(crate) fn non_lazy_bind_attr<'ll>( function default_optimisation_attrs (line 372) | pub(crate) fn default_optimisation_attrs<'ll>( function create_alloc_family_attr (line 390) | fn create_alloc_family_attr(llcx: &llvm::Context) -> &llvm::Attribute { function llfn_attrs_from_instance (line 397) | pub(crate) fn llfn_attrs_from_instance<'ll, 'tcx>( function wasm_import_module (line 613) | fn wasm_import_module(tcx: TyCtxt<'_>, id: DefId) -> Option<&String> { FILE: compiler/rustc_codegen_llvm/src/back/archive.rs type LlvmArchiveBuilderBuilder (line 13) | pub(crate) struct LlvmArchiveBuilderBuilder; method new_archive_builder (line 16) | fn new_archive_builder<'a>(&self, sess: &'a Session) -> Box bool { function llvm_is_ec_object_file (line 96) | fn llvm_is_ec_object_file(buf: &[u8]) -> bool { function llvm_is_any_arm64_coff (line 100) | fn llvm_is_any_arm64_coff(buf: &[u8]) -> bool { FILE: compiler/rustc_codegen_llvm/src/back/lto.rs constant THIN_LTO_KEYS_INCR_COMP_FILE_NAME (line 36) | const THIN_LTO_KEYS_INCR_COMP_FILE_NAME: &str = "thin-lto-past-keys.bin"; function prepare_lto (line 38) | fn prepare_lto( function get_bitcode_slice_from_object_data (line 127) | fn get_bitcode_slice_from_object_data<'a>( function run_fat (line 154) | pub(crate) fn run_fat( function run_thin (line 184) | pub(crate) fn run_thin( function fat_lto (line 206) | fn fat_lto( type Linker (line 333) | pub(crate) struct Linker<'a>(&'a mut llvm::Linker<'a>); function new (line 336) | pub(crate) fn new(llmod: &'a llvm::Module) -> Self { function add (line 340) | pub(crate) fn add(&mut self, bytecode: &[u8]) -> Result<(), ()> { method drop (line 356) | fn drop(&mut self) { function thin_lto (line 393) | fn thin_lto( function enable_autodiff_settings (line 548) | pub(crate) fn enable_autodiff_settings(ad: &[config::AutoDiff]) { function run_pass_manager (line 598) | pub(crate) fn run_pass_manager( type Buffer (line 658) | pub(crate) struct Buffer(&'static mut llvm::Buffer); method data (line 664) | pub(crate) fn data(&self) -> &[u8] { method drop (line 674) | fn drop(&mut self) { type ThinData (line 681) | pub struct ThinData(&'static mut llvm::ThinLTOData); method drop (line 687) | fn drop(&mut self) { type ModuleBuffer (line 694) | pub struct ModuleBuffer { method new (line 699) | pub(crate) fn new(m: &llvm::Module, is_thin: bool) -> ModuleBuffer { method data (line 708) | fn data(&self) -> &[u8] { function optimize_and_codegen_thin_module (line 713) | pub(crate) fn optimize_and_codegen_thin_module( type ThinLTOKeysMap (line 803) | struct ThinLTOKeysMap { method save_to_file (line 809) | fn save_to_file(&self, path: &Path) -> io::Result<()> { method load_from_file (line 820) | fn load_from_file(path: &Path) -> io::Result { method from_thin_lto_modules (line 835) | fn from_thin_lto_modules( function module_name_to_str (line 853) | fn module_name_to_str(c_str: &CStr) -> &str { function parse_module (line 859) | pub(crate) fn parse_module<'a>( FILE: compiler/rustc_codegen_llvm/src/back/owned_target_machine.rs type OwnedTargetMachine (line 13) | pub struct OwnedTargetMachine { method new (line 19) | pub(crate) fn new( method raw (line 82) | pub fn raw(&self) -> &llvm::TargetMachine { method drop (line 90) | fn drop(&mut self) { FILE: compiler/rustc_codegen_llvm/src/back/profiling.rs function llvm_args_to_string_id (line 9) | fn llvm_args_to_string_id(profiler: &SelfProfiler, pass_name: &str, ir_n... type LlvmSelfProfiler (line 24) | pub(crate) struct LlvmSelfProfiler<'a> { function new (line 31) | pub(crate) fn new(profiler: Arc) -> Self { function before_pass_callback (line 36) | fn before_pass_callback(&'a mut self, pass_name: &str, ir_name: &str) { function after_pass_callback (line 41) | fn after_pass_callback(&mut self) { function selfprofile_before_pass_callback (line 46) | pub(crate) unsafe extern "C" fn selfprofile_before_pass_callback( function selfprofile_after_pass_callback (line 59) | pub(crate) unsafe extern "C" fn selfprofile_after_pass_callback(llvm_sel... FILE: compiler/rustc_codegen_llvm/src/back/write.rs function llvm_err (line 46) | pub(crate) fn llvm_err<'a>(dcx: DiagCtxtHandle<'_>, err: LlvmError<'a>) ... function write_output_file (line 53) | fn write_output_file<'ll>( function create_informational_target_machine (line 103) | pub(crate) fn create_informational_target_machine( function create_target_machine (line 114) | pub(crate) fn create_target_machine(tcx: TyCtxt<'_>, mod_name: &str) -> ... function to_llvm_opt_settings (line 140) | fn to_llvm_opt_settings(cfg: config::OptLevel) -> (llvm::CodeGenOptLevel... function to_pass_builder_opt_level (line 152) | fn to_pass_builder_opt_level(cfg: config::OptLevel) -> llvm::PassBuilder... function to_llvm_relocation_model (line 164) | fn to_llvm_relocation_model(relocation_model: RelocModel) -> llvm::Reloc... function to_llvm_code_model (line 177) | pub(crate) fn to_llvm_code_model(code_model: Option) -> llvm:... function to_llvm_float_abi (line 188) | fn to_llvm_float_abi(float_abi: Option) -> llvm::FloatAbi { function target_machine_factory (line 196) | pub(crate) fn target_machine_factory( function save_temp_bitcode (line 316) | pub(crate) fn save_temp_bitcode( function write_bitcode_to_file (line 333) | fn write_bitcode_to_file(module: &ModuleLlvm, path: &Path) { type CodegenDiagnosticsStage (line 342) | pub(crate) enum CodegenDiagnosticsStage { type DiagnosticHandlers (line 351) | pub(crate) struct DiagnosticHandlers<'a> { function new (line 358) | pub(crate) fn new( method drop (line 416) | fn drop(&mut self) { function report_inline_asm (line 424) | fn report_inline_asm( function diagnostic_handler (line 453) | unsafe extern "C" fn diagnostic_handler(info: &DiagnosticInfo, user: *mu... function get_pgo_gen_path (line 509) | fn get_pgo_gen_path(config: &ModuleConfig) -> Option { function get_pgo_use_path (line 524) | fn get_pgo_use_path(config: &ModuleConfig) -> Option { function get_pgo_sample_use_path (line 531) | fn get_pgo_sample_use_path(config: &ModuleConfig) -> Option { function get_instr_profile_output_path (line 538) | fn get_instr_profile_output_path(config: &ModuleConfig) -> Option &'static CS... function embed_bitcode (line 1244) | fn embed_bitcode( function create_msvc_imps (line 1329) | fn create_msvc_imps(cgcx: &CodegenContext, llcx: &llvm::Context, llmod: ... function record_artifact_size (line 1371) | fn record_artifact_size( function record_llvm_cgu_instructions_stats (line 1387) | fn record_llvm_cgu_instructions_stats(prof: &SelfProfilerRef, name: &str... FILE: compiler/rustc_codegen_llvm/src/base.rs type ValueIter (line 37) | pub(crate) struct ValueIter<'ll> { type Item (line 43) | type Item = &'ll Value; method next (line 45) | fn next(&mut self) -> Option<&'ll Value> { function iter_globals (line 54) | pub(crate) fn iter_globals(llmod: &llvm::Module) -> ValueIter<'_> { function compile_codegen_unit (line 58) | pub(crate) fn compile_codegen_unit( function set_link_section (line 184) | pub(crate) fn set_link_section(llval: &Value, attrs: &CodegenFnAttrs) { function linkage_to_llvm (line 190) | pub(crate) fn linkage_to_llvm(linkage: Linkage) -> llvm::Linkage { function visibility_to_llvm (line 204) | pub(crate) fn visibility_to_llvm(linkage: Visibility) -> llvm::Visibility { function set_variable_sanitizer_attrs (line 212) | pub(crate) fn set_variable_sanitizer_attrs(llval: &Value, attrs: &Codege... FILE: compiler/rustc_codegen_llvm/src/builder.rs type GenericBuilder (line 44) | pub(crate) struct GenericBuilder<'a, 'll, CX: Borrow>> { type SBuilder (line 49) | pub(crate) type SBuilder<'a, 'll> = GenericBuilder<'a, 'll, SCx<'ll>>; type Builder (line 50) | pub(crate) type Builder<'a, 'll, 'tcx> = GenericBuilder<'a, 'll, FullCx<... method drop (line 53) | fn drop(&mut self) { function call (line 61) | pub(crate) fn call( function with_cx (line 94) | fn with_cx(scx: &'a GenericCx<'ll, CX>) -> Self { function append_block (line 100) | pub(crate) fn append_block( function trunc (line 111) | pub(crate) fn trunc(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &... function bitcast (line 115) | pub(crate) fn bitcast(&mut self, val: &'ll Value, dest_ty: &'ll Type) ->... function ret_void (line 119) | pub(crate) fn ret_void(&mut self) { function ret (line 123) | pub(crate) fn ret(&mut self, v: &'ll Value) { function build (line 129) | pub(crate) fn build(cx: &'a GenericCx<'ll, CX>, llbb: &'ll BasicBlock) -... function direct_alloca (line 141) | pub(crate) fn direct_alloca(&mut self, ty: &'ll Type, align: Align, name... function inbounds_gep (line 155) | pub(crate) fn inbounds_gep( function store (line 174) | pub(crate) fn store(&mut self, val: &'ll Value, ptr: &'ll Value, align: ... function load (line 184) | pub(crate) fn load(&mut self, ty: &'ll Type, ptr: &'ll Value, align: Ali... constant UNNAMED (line 196) | pub(crate) const UNNAMED: *const c_char = c"".as_ptr(); type Function (line 199) | type Function = as BackendTypes>::Function; type BasicBlock (line 200) | type BasicBlock = as BackendTypes>::BasicBlock; type Funclet (line 201) | type Funclet = as BackendTypes>::Funclet; type Value (line 203) | type Value = as BackendTypes>::Value; type Type (line 204) | type Type = as BackendTypes>::Type; type FunctionSignature (line 205) | type FunctionSignature = as BackendTypes>::FunctionS... type DIScope (line 207) | type DIScope = as BackendTypes>::DIScope; type DILocation (line 208) | type DILocation = as BackendTypes>::DILocation; type DIVariable (line 209) | type DIVariable = as BackendTypes>::DIVariable; function data_layout (line 213) | fn data_layout(&self) -> &abi::TargetDataLayout { function tcx (line 220) | fn tcx(&self) -> TyCtxt<'tcx> { function typing_env (line 226) | fn typing_env(&self) -> ty::TypingEnv<'tcx> { method target_spec (line 233) | fn target_spec(&self) -> &Target { function handle_layout_err (line 240) | fn handle_layout_err(&self, err: LayoutError<'tcx>, span: Span, ty: Ty<'... function handle_fn_abi_err (line 247) | fn handle_fn_abi_err( type Target (line 258) | type Target = CodegenCx<'ll, 'tcx>; method deref (line 261) | fn deref(&self) -> &Self::Target { type CodegenCx (line 289) | type CodegenCx = CodegenCx<'ll, 'tcx>; function build (line 291) | fn build(cx: &'a CodegenCx<'ll, 'tcx>, llbb: &'ll BasicBlock) -> Self { function cx (line 299) | fn cx(&self) -> &CodegenCx<'ll, 'tcx> { function llbb (line 303) | fn llbb(&self) -> &'ll BasicBlock { function set_span (line 307) | fn set_span(&mut self, _span: Span) {} function append_block (line 309) | fn append_block(cx: &'a CodegenCx<'ll, 'tcx>, llfn: &'ll Value, name: &s... function append_sibling_block (line 316) | fn append_sibling_block(&mut self, name: &str) -> &'ll BasicBlock { function switch_to_block (line 320) | fn switch_to_block(&mut self, llbb: Self::BasicBlock) { function ret_void (line 324) | fn ret_void(&mut self) { function ret (line 328) | fn ret(&mut self, v: &'ll Value) { function br (line 334) | fn br(&mut self, dest: &'ll BasicBlock) { function cond_br (line 340) | fn cond_br( function switch (line 351) | fn switch( function switch_with_weights (line 365) | fn switch_with_weights( function invoke (line 403) | fn invoke( function unreachable (line 453) | fn unreachable(&mut self) { function unchecked_suadd (line 491) | fn unchecked_suadd(&mut self, a: &'ll Value, b: &'ll Value) -> &'ll Value { function unchecked_susub (line 501) | fn unchecked_susub(&mut self, a: &'ll Value, b: &'ll Value) -> &'ll Value { function unchecked_sumul (line 511) | fn unchecked_sumul(&mut self, a: &'ll Value, b: &'ll Value) -> &'ll Value { function or_disjoint (line 522) | fn or_disjoint(&mut self, a: &'ll Value, b: &'ll Value) -> &'ll Value { function checked_binop (line 549) | fn checked_binop( function from_immediate (line 592) | fn from_immediate(&mut self, val: Self::Value) -> Self::Value { function to_immediate_scalar (line 600) | fn to_immediate_scalar(&mut self, val: Self::Value, scalar: abi::Scalar)... function alloca (line 607) | fn alloca(&mut self, size: Size, align: Align) -> &'ll Value { function scalable_alloca (line 619) | fn scalable_alloca(&mut self, elt: u64, align: Align, element_ty: Ty<'_>... function load (line 638) | fn load(&mut self, ty: &'ll Type, ptr: &'ll Value, align: Align) -> &'ll... function volatile_load (line 647) | fn volatile_load(&mut self, ty: &'ll Type, ptr: &'ll Value) -> &'ll Value { function atomic_load (line 655) | fn atomic_load( function load_operand (line 673) | fn load_operand(&mut self, place: PlaceRef<'tcx, &'ll Value>) -> Operand... function write_operand_repeatedly (line 779) | fn write_operand_repeatedly( function range_metadata (line 799) | fn range_metadata(&mut self, load: &'ll Value, range: WrappingRange) { function nonnull_metadata (line 813) | fn nonnull_metadata(&mut self, load: &'ll Value) { function store (line 817) | fn store(&mut self, val: &'ll Value, ptr: &'ll Value, align: Align) -> &... function store_with_flags (line 821) | fn store_with_flags( function atomic_store (line 869) | fn atomic_store( function gep (line 887) | fn gep(&mut self, ty: &'ll Type, ptr: &'ll Value, indices: &[&'ll Value]... function inbounds_gep (line 901) | fn inbounds_gep( function inbounds_nuw_gep (line 920) | fn inbounds_nuw_gep( function trunc (line 940) | fn trunc(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function unchecked_utrunc (line 944) | fn unchecked_utrunc(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &... function unchecked_strunc (line 956) | fn unchecked_strunc(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &... function sext (line 968) | fn sext(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function fptoui_sat (line 972) | fn fptoui_sat(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Va... function fptosi_sat (line 976) | fn fptosi_sat(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Va... function fptoui (line 980) | fn fptoui(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function fptosi (line 1012) | fn fptosi(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function uitofp (line 1031) | fn uitofp(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function sitofp (line 1035) | fn sitofp(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function fptrunc (line 1039) | fn fptrunc(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function fpext (line 1043) | fn fpext(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function ptrtoint (line 1047) | fn ptrtoint(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function inttoptr (line 1051) | fn inttoptr(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function bitcast (line 1055) | fn bitcast(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function intcast (line 1059) | fn intcast(&mut self, val: &'ll Value, dest_ty: &'ll Type, is_signed: bo... function pointercast (line 1065) | fn pointercast(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll V... function icmp (line 1070) | fn icmp(&mut self, op: IntPredicate, lhs: &'ll Value, rhs: &'ll Value) -... function fcmp (line 1075) | fn fcmp(&mut self, op: RealPredicate, lhs: &'ll Value, rhs: &'ll Value) ... function three_way_compare (line 1080) | fn three_way_compare( function memcpy (line 1093) | fn memcpy( function memmove (line 1128) | fn memmove( function memset (line 1153) | fn memset( function select (line 1175) | fn select( function va_arg (line 1184) | fn va_arg(&mut self, list: &'ll Value, ty: &'ll Type) -> &'ll Value { function extract_element (line 1188) | fn extract_element(&mut self, vec: &'ll Value, idx: &'ll Value) -> &'ll ... function vector_splat (line 1192) | fn vector_splat(&mut self, num_elts: usize, elt: &'ll Value) -> &'ll Val... function extract_value (line 1202) | fn extract_value(&mut self, agg_val: &'ll Value, idx: u64) -> &'ll Value { function insert_value (line 1207) | fn insert_value(&mut self, agg_val: &'ll Value, elt: &'ll Value, idx: u6... function set_personality_fn (line 1212) | fn set_personality_fn(&mut self, personality: &'ll Value) { function cleanup_landing_pad (line 1218) | fn cleanup_landing_pad(&mut self, pers_fn: &'ll Value) -> (&'ll Value, &... function filter_landing_pad (line 1227) | fn filter_landing_pad(&mut self, pers_fn: &'ll Value) { function resume (line 1233) | fn resume(&mut self, exn0: &'ll Value, exn1: &'ll Value) { function cleanup_pad (line 1243) | fn cleanup_pad(&mut self, parent: Option<&'ll Value>, args: &[&'ll Value... function cleanup_ret (line 1256) | fn cleanup_ret(&mut self, funclet: &Funclet<'ll>, unwind: Option<&'ll Ba... function catch_pad (line 1263) | fn catch_pad(&mut self, parent: &'ll Value, args: &[&'ll Value]) -> Func... function catch_switch (line 1276) | fn catch_switch( function get_funclet_cleanuppad (line 1300) | fn get_funclet_cleanuppad(&self, funclet: &Funclet<'ll>) -> &'ll Value { function atomic_cmpxchg (line 1305) | fn atomic_cmpxchg( function atomic_rmw (line 1331) | fn atomic_rmw( function atomic_fence (line 1358) | fn atomic_fence( function set_invariant_load (line 1377) | fn set_invariant_load(&mut self, load: &'ll Value) { function lifetime_start (line 1381) | fn lifetime_start(&mut self, ptr: &'ll Value, size: Size) { function lifetime_end (line 1385) | fn lifetime_end(&mut self, ptr: &'ll Value, size: Size) { function call (line 1389) | fn call( function tail_call (line 1462) | fn tail_call( function zext (line 1482) | fn zext(&mut self, val: &'ll Value, dest_ty: &'ll Type) -> &'ll Value { function apply_attrs_to_cleanup_callsite (line 1486) | fn apply_attrs_to_cleanup_callsite(&mut self, llret: &'ll Value) { method get_static (line 1494) | fn get_static(&mut self, def_id: DefId) -> &'ll Value { function llfn (line 1510) | pub(crate) fn llfn(&self) -> &'ll Value { function position_at_start (line 1516) | fn position_at_start(&mut self, llbb: &'ll BasicBlock) { function align_metadata (line 1523) | fn align_metadata(&mut self, load: &'ll Value, align: Align) { function noundef_metadata (line 1528) | fn noundef_metadata(&mut self, load: &'ll Value) { function set_unpredictable (line 1532) | pub(crate) fn set_unpredictable(&mut self, inst: &'ll Value) { function write_operand_repeatedly_optimized (line 1536) | fn write_operand_repeatedly_optimized( function write_operand_repeatedly_unoptimized (line 1568) | fn write_operand_repeatedly_unoptimized( function minimum_number_nsz (line 1608) | pub(crate) fn minimum_number_nsz(&mut self, lhs: &'ll Value, rhs: &'ll V... function maximum_number_nsz (line 1614) | pub(crate) fn maximum_number_nsz(&mut self, lhs: &'ll Value, rhs: &'ll V... function insert_element (line 1620) | pub(crate) fn insert_element( function shuffle_vector (line 1629) | pub(crate) fn shuffle_vector( function vector_reduce_fadd (line 1638) | pub(crate) fn vector_reduce_fadd(&mut self, acc: &'ll Value, src: &'ll V... function vector_reduce_fmul (line 1641) | pub(crate) fn vector_reduce_fmul(&mut self, acc: &'ll Value, src: &'ll V... function vector_reduce_fadd_reassoc (line 1644) | pub(crate) fn vector_reduce_fadd_reassoc( function vector_reduce_fmul_reassoc (line 1656) | pub(crate) fn vector_reduce_fmul_reassoc( function vector_reduce_add (line 1668) | pub(crate) fn vector_reduce_add(&mut self, src: &'ll Value) -> &'ll Value { function vector_reduce_mul (line 1671) | pub(crate) fn vector_reduce_mul(&mut self, src: &'ll Value) -> &'ll Value { function vector_reduce_and (line 1674) | pub(crate) fn vector_reduce_and(&mut self, src: &'ll Value) -> &'ll Value { function vector_reduce_or (line 1677) | pub(crate) fn vector_reduce_or(&mut self, src: &'ll Value) -> &'ll Value { function vector_reduce_xor (line 1680) | pub(crate) fn vector_reduce_xor(&mut self, src: &'ll Value) -> &'ll Value { function vector_reduce_fmin (line 1683) | pub(crate) fn vector_reduce_fmin(&mut self, src: &'ll Value) -> &'ll Val... function vector_reduce_fmax (line 1686) | pub(crate) fn vector_reduce_fmax(&mut self, src: &'ll Value) -> &'ll Val... function vector_reduce_min (line 1689) | pub(crate) fn vector_reduce_min(&mut self, src: &'ll Value, is_signed: b... function vector_reduce_max (line 1696) | pub(crate) fn vector_reduce_max(&mut self, src: &'ll Value, is_signed: b... function add_clause (line 1705) | pub(crate) fn add_clause(&mut self, landing_pad: &'ll Value, clause: &'l... function catch_ret (line 1711) | pub(crate) fn catch_ret( function check_call (line 1720) | pub(crate) fn check_call<'b>( function va_arg (line 1761) | pub(crate) fn va_arg(&mut self, list: &'ll Value, ty: &'ll Type) -> &'ll... function call_intrinsic (line 1767) | pub(crate) fn call_intrinsic( function call_lifetime_intrinsic (line 1777) | fn call_lifetime_intrinsic(&mut self, intrinsic: &'static str, ptr: &'ll... function phi (line 1798) | pub(crate) fn phi( function add_incoming_to_phi (line 1812) | fn add_incoming_to_phi(&mut self, phi: &'ll Value, val: &'ll Value, bb: ... function landing_pad (line 1819) | pub(crate) fn landing_pad( function callbr (line 1834) | pub(crate) fn callbr( function cfi_type_test (line 1886) | fn cfi_type_test( function kcfi_operand_bundle (line 1944) | fn kcfi_operand_bundle( function instrprof_increment (line 1985) | pub(crate) fn instrprof_increment( FILE: compiler/rustc_codegen_llvm/src/builder/autodiff.rs function adjust_activity_to_abi (line 19) | pub(crate) fn adjust_activity_to_abi<'tcx>( function match_args_from_caller_to_enzyme (line 142) | fn match_args_from_caller_to_enzyme<'ll, 'tcx>( function generate_enzyme_call (line 291) | pub(crate) fn generate_enzyme_call<'ll, 'tcx>( FILE: compiler/rustc_codegen_llvm/src/builder/gpu_offload.rs type OffloadGlobals (line 20) | pub(crate) struct OffloadGlobals<'ll> { function declare (line 36) | pub(crate) fn declare(cx: &CodegenCx<'ll, '_>) -> Self { function register_offload (line 66) | pub(crate) fn register_offload<'ll>(cx: &CodegenCx<'ll, '_>) { type OffloadKernelDims (line 134) | pub(crate) struct OffloadKernelDims<'ll> { function from_operands (line 142) | pub(crate) fn from_operands<'tcx>( function generate_launcher (line 187) | fn generate_launcher<'ll>(cx: &CodegenCx<'ll, '_>) -> (&'ll llvm::Value,... function generate_at_one (line 205) | pub(crate) fn generate_at_one<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll llvm... type TgtOffloadEntry (line 230) | pub(crate) struct TgtOffloadEntry { method new_decl (line 243) | pub(crate) fn new_decl<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll llvm::Type { method new (line 256) | fn new<'ll>( type KernelArgsTy (line 273) | struct KernelArgsTy { constant OFFLOAD_VERSION (line 298) | const OFFLOAD_VERSION: u64 = 3; constant FLAGS (line 299) | const FLAGS: u64 = 0; constant TRIPCOUNT (line 300) | const TRIPCOUNT: u64 = 0; method new_decl (line 301) | fn new_decl<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll Type { method new (line 315) | fn new<'ll, 'tcx>( type OffloadKernelGlobals (line 347) | pub(crate) struct OffloadKernelGlobals<'ll> { function gen_tgt_data_mappers (line 355) | fn gen_tgt_data_mappers<'ll>( function add_priv_unnamed_arr (line 379) | fn add_priv_unnamed_arr<'ll>(cx: &SimpleCx<'ll>, name: &str, vals: &[u64... function add_unnamed_global (line 389) | pub(crate) fn add_unnamed_global<'ll>( function add_global (line 400) | pub(crate) fn add_global<'ll>( function gen_define_handling (line 417) | pub(crate) fn gen_define_handling<'ll>( function declare_offload_fn (line 516) | fn declare_offload_fn<'ll>( function scalar_width (line 531) | pub(crate) fn scalar_width<'ll>(cx: &'ll SimpleCx<'_>, ty: &'ll Type) ->... function get_runtime_size (line 544) | fn get_runtime_size<'ll, 'tcx>( function gen_call_handling (line 571) | pub(crate) fn gen_call_handling<'ll, 'tcx>( FILE: compiler/rustc_codegen_llvm/src/callee.rs function get_fn (line 18) | pub(crate) fn get_fn<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>, instance: Ins... FILE: compiler/rustc_codegen_llvm/src/common.rs type Funclet (line 65) | pub(crate) struct Funclet<'ll> { function new (line 71) | pub(crate) fn new(cleanuppad: &'ll Value) -> Self { function cleanuppad (line 75) | pub(crate) fn cleanuppad(&self) -> &'ll Value { function bundle (line 79) | pub(crate) fn bundle(&self) -> &llvm::OperandBundle<'ll> { type Function (line 86) | type Function = &'ll Value; type BasicBlock (line 87) | type BasicBlock = &'ll BasicBlock; type Funclet (line 88) | type Funclet = Funclet<'ll>; type Value (line 90) | type Value = &'ll Value; type Type (line 91) | type Type = &'ll Type; type FunctionSignature (line 92) | type FunctionSignature = &'ll Type; type DIScope (line 94) | type DIScope = &'ll llvm::debuginfo::DIScope; type DILocation (line 95) | type DILocation = &'ll llvm::debuginfo::DILocation; type DIVariable (line 96) | type DIVariable = &'ll llvm::debuginfo::DIVariable; function const_array (line 100) | pub(crate) fn const_array(&self, ty: &'ll Type, elts: &[&'ll Value]) -> ... function const_bytes (line 105) | pub(crate) fn const_bytes(&self, bytes: &[u8]) -> &'ll Value { function null_terminate_const_bytes (line 109) | pub(crate) fn null_terminate_const_bytes(&self, bytes: &[u8]) -> &'ll Va... function const_get_elt (line 113) | pub(crate) fn const_get_elt(&self, v: &'ll Value, idx: u64) -> &'ll Value { function const_null (line 124) | pub(crate) fn const_null(&self, t: &'ll Type) -> &'ll Value { function const_struct (line 128) | pub(crate) fn const_struct(&self, elts: &[&'ll Value], packed: bool) -> ... method const_null (line 134) | fn const_null(&self, t: &'ll Type) -> &'ll Value { method const_undef (line 138) | fn const_undef(&self, t: &'ll Type) -> &'ll Value { method const_poison (line 142) | fn const_poison(&self, t: &'ll Type) -> &'ll Value { method const_bool (line 146) | fn const_bool(&self, val: bool) -> &'ll Value { method const_i8 (line 150) | fn const_i8(&self, i: i8) -> &'ll Value { method const_i16 (line 154) | fn const_i16(&self, i: i16) -> &'ll Value { method const_i32 (line 158) | fn const_i32(&self, i: i32) -> &'ll Value { method const_int (line 162) | fn const_int(&self, t: &'ll Type, i: i64) -> &'ll Value { method const_u8 (line 170) | fn const_u8(&self, i: u8) -> &'ll Value { method const_u32 (line 174) | fn const_u32(&self, i: u32) -> &'ll Value { method const_u64 (line 178) | fn const_u64(&self, i: u64) -> &'ll Value { method const_u128 (line 182) | fn const_u128(&self, i: u128) -> &'ll Value { method const_usize (line 186) | fn const_usize(&self, i: u64) -> &'ll Value { method const_uint (line 196) | fn const_uint(&self, t: &'ll Type, i: u64) -> &'ll Value { method const_uint_big (line 204) | fn const_uint_big(&self, t: &'ll Type, u: u128) -> &'ll Value { method const_real (line 215) | fn const_real(&self, t: &'ll Type, val: f64) -> &'ll Value { method const_str (line 219) | fn const_str(&self, s: &str) -> (&'ll Value, &'ll Value) { method const_struct (line 242) | fn const_struct(&self, elts: &[&'ll Value], packed: bool) -> &'ll Value { method const_vector (line 246) | fn const_vector(&self, elts: &[&'ll Value]) -> &'ll Value { method const_to_opt_uint (line 251) | fn const_to_opt_uint(&self, v: &'ll Value) -> Option { method const_to_opt_u128 (line 259) | fn const_to_opt_u128(&self, v: &'ll Value, sign_ext: bool) -> Option &Type { function bytes_in_context (line 379) | pub(crate) fn bytes_in_context<'ll>(llcx: &'ll llvm::Context, bytes: &[u... function null_terminate_bytes_in_context (line 386) | pub(crate) fn null_terminate_bytes_in_context<'ll>( function named_struct (line 396) | pub(crate) fn named_struct<'ll>(ty: &'ll Type, elts: &[&'ll Value]) -> &... function struct_in_context (line 401) | fn struct_in_context<'ll>( function hi_lo_to_u128 (line 411) | fn hi_lo_to_u128(lo: u64, hi: u64) -> u128 { function try_as_const_integral (line 415) | fn try_as_const_integral(v: &Value) -> Option<&ConstantInt> { function get_dllimport (line 419) | pub(crate) fn get_dllimport<'tcx>( type AsCCharPtr (line 429) | pub(crate) trait AsCCharPtr { method as_c_char_ptr (line 431) | fn as_c_char_ptr(&self) -> *const c_char; method as_c_char_ptr (line 435) | fn as_c_char_ptr(&self) -> *const c_char { method as_c_char_ptr (line 441) | fn as_c_char_ptr(&self) -> *const c_char { FILE: compiler/rustc_codegen_llvm/src/consts.rs function const_alloc_to_llvm (line 29) | pub(crate) fn const_alloc_to_llvm<'ll>( function codegen_static_initializer (line 139) | fn codegen_static_initializer<'ll, 'tcx>( function set_global_alignment (line 147) | fn set_global_alignment<'ll>(cx: &CodegenCx<'ll, '_>, gv: &'ll Value, mu... function check_and_apply_linkage (line 157) | fn check_and_apply_linkage<'ll, 'tcx>( function const_bitcast (line 224) | pub(crate) fn const_bitcast(&self, val: &'ll Value, ty: &'ll Type) -> &'... function const_pointercast (line 228) | pub(crate) fn const_pointercast(&self, val: &'ll Value, ty: &'ll Type) -... function static_addr_of_mut (line 236) | pub(crate) fn static_addr_of_mut( function static_addr_of_impl (line 264) | pub(crate) fn static_addr_of_impl( function get_static (line 289) | pub(crate) fn get_static(&self, def_id: DefId) -> &'ll Value { function get_static_inner (line 307) | fn get_static_inner(&self, def_id: DefId, llty: &'ll Type) -> &'ll Value { function codegen_static_item (line 410) | fn codegen_static_item(&mut self, def_id: DefId) { function add_used_global (line 542) | pub(crate) fn add_used_global(&mut self, global: &'ll Value) { function add_compiler_used_global (line 548) | pub(crate) fn add_compiler_used_global(&self, global: &'ll Value) { function define_objc_classname (line 555) | fn define_objc_classname(&self, classname: &str) -> &'ll Value { function get_objc_class_t (line 578) | fn get_objc_class_t(&self) -> &'ll Type { function get_objc_classref (line 606) | fn get_objc_classref(&self, classname: Symbol) -> &'ll Value { function get_objc_selref (line 664) | fn get_objc_selref(&self, methname: Symbol) -> &'ll Value { function define_objc_module_info (line 735) | pub(crate) fn define_objc_module_info(&mut self) { method static_addr_of (line 775) | fn static_addr_of(&self, alloc: ConstAllocation<'_>, kind: Option<&str>)... method codegen_static (line 786) | fn codegen_static(&mut self, def_id: DefId) { FILE: compiler/rustc_codegen_llvm/src/context.rs type SCx (line 47) | pub(crate) struct SCx<'ll> { function borrow (line 54) | fn borrow(&self) -> &SCx<'ll> { type Target (line 60) | type Target = SimpleCx<'ll>; method deref (line 63) | fn deref(&self) -> &Self::Target { type GenericCx (line 68) | pub(crate) struct GenericCx<'ll, T: Borrow>>(T, PhantomData &Self::Target { method deref_mut (line 81) | fn deref_mut(&mut self) -> &mut Self::Target { type SimpleCx (line 86) | pub(crate) type SimpleCx<'ll> = GenericCx<'ll, SCx<'ll>>; type CodegenCx (line 91) | pub(crate) type CodegenCx<'ll, 'tcx> = GenericCx<'ll, FullCx<'ll, 'tcx>>; type FullCx (line 93) | pub(crate) struct FullCx<'ll, 'tcx> { function to_llvm_tls_model (line 169) | fn to_llvm_tls_model(tls_model: TlsModel) -> llvm::ThreadLocalMode { function create_module (line 179) | pub(crate) unsafe fn create_module<'ll>( function new (line 543) | pub(crate) fn new( function statics_to_rauw (line 656) | pub(crate) fn statics_to_rauw(&self) -> &RefCell &coverageinfo::CguCoverageContext<'l... function create_used_variable_impl (line 667) | pub(crate) fn create_used_variable_impl(&self, name: &'static CStr, valu... function objc_abi_version (line 679) | pub(crate) fn objc_abi_version(&self) -> u32 { function add_objc_module_flags (line 694) | pub(crate) fn add_objc_module_flags(&self) { function get_type_of_global (line 740) | pub(crate) fn get_type_of_global(&self, val: &'ll Value) -> &'ll Type { function val_ty (line 743) | pub(crate) fn val_ty(&self, v: &'ll Value) -> &'ll Type { function new (line 748) | pub(crate) fn new( function get_metadata_value (line 759) | pub(crate) fn get_metadata_value(&self, metadata: &'ll Metadata) -> &'ll... function get_const_int (line 763) | pub(crate) fn get_const_int(&self, ty: &'ll Type, val: u64) -> &'ll Value { function get_const_i64 (line 767) | pub(crate) fn get_const_i64(&self, n: u64) -> &'ll Value { function get_const_i32 (line 771) | pub(crate) fn get_const_i32(&self, n: u64) -> &'ll Value { function get_const_i16 (line 775) | pub(crate) fn get_const_i16(&self, n: u64) -> &'ll Value { function get_const_i8 (line 779) | pub(crate) fn get_const_i8(&self, n: u64) -> &'ll Value { function get_function (line 783) | pub(crate) fn get_function(&self, name: &str) -> Option<&'ll Value> { function get_md_kind_id (line 788) | pub(crate) fn get_md_kind_id(&self, name: &str) -> llvm::MetadataKindId { function create_metadata (line 798) | pub(crate) fn create_metadata(&self, name: &[u8]) -> &'ll Metadata { function get_functions (line 804) | pub(crate) fn get_functions(&self) -> Vec<&'ll Value> { function vtables (line 816) | fn vtables( function apply_vcall_visibility_metadata (line 822) | fn apply_vcall_visibility_metadata( function get_fn (line 831) | fn get_fn(&self, instance: Instance<'tcx>) -> &'ll Value { function get_fn_addr (line 835) | fn get_fn_addr(&self, instance: Instance<'tcx>) -> &'ll Value { function eh_personality (line 839) | fn eh_personality(&self) -> &'ll Value { function sess (line 902) | fn sess(&self) -> &Session { function set_frame_pointer_type (line 906) | fn set_frame_pointer_type(&self, llfn: &'ll Value) { function apply_target_cpu_attr (line 912) | fn apply_target_cpu_attr(&self, llfn: &'ll Value) { function declare_c_main (line 919) | fn declare_c_main(&self, fn_type: Self::Type) -> Option { function get_intrinsic (line 943) | pub(crate) fn get_intrinsic( function declare_intrinsic (line 957) | fn declare_intrinsic( function eh_catch_typeinfo (line 980) | pub(crate) fn eh_catch_typeinfo(&self) -> &'ll Value { function generate_local_symbol_name (line 1001) | pub(crate) fn generate_local_symbol_name(&self, prefix: &str) -> String { function md_node_in_context (line 1016) | pub(crate) fn md_node_in_context(&self, md_list: &[&'ll Metadata]) -> &'... function set_metadata (line 1021) | pub(crate) fn set_metadata<'a>( function set_metadata_node (line 1035) | pub(crate) fn set_metadata_node( function module_add_named_metadata_node (line 1049) | pub(crate) fn module_add_named_metadata_node( function global_add_metadata_node (line 1063) | pub(crate) fn global_add_metadata_node( function global_set_metadata_node (line 1076) | pub(crate) fn global_set_metadata_node( method data_layout (line 1089) | fn data_layout(&self) -> &TargetDataLayout { method target_spec (line 1096) | fn target_spec(&self) -> &Target { function tcx (line 1103) | fn tcx(&self) -> TyCtxt<'tcx> { function typing_env (line 1109) | fn typing_env(&self) -> ty::TypingEnv<'tcx> { function handle_layout_err (line 1116) | fn handle_layout_err(&self, err: LayoutError<'tcx>, span: Span, ty: Ty<'... function handle_fn_abi_err (line 1130) | fn handle_fn_abi_err( FILE: compiler/rustc_codegen_llvm/src/coverageinfo/ffi.rs type CounterKind (line 4) | pub(crate) enum CounterKind { type Counter (line 24) | pub(crate) struct Counter { constant ZERO (line 32) | pub(crate) const ZERO: Self = Self { kind: CounterKind::Zero, id: 0 }; type ExprKind (line 40) | pub(crate) enum ExprKind { type CounterExpression (line 50) | pub(crate) struct CounterExpression { type CoverageSpan (line 61) | pub(crate) struct CoverageSpan { type CodeRegion (line 80) | pub(crate) struct CodeRegion { type ExpansionRegion (line 88) | pub(crate) struct ExpansionRegion { type BranchRegion (line 96) | pub(crate) struct BranchRegion { FILE: compiler/rustc_codegen_llvm/src/coverageinfo/llvm_cov.rs function covmap_var_name (line 8) | pub(crate) fn covmap_var_name() -> CString { function covmap_section_name (line 15) | pub(crate) fn covmap_section_name(llmod: &llvm::Module) -> CString { function covfun_section_name (line 22) | pub(crate) fn covfun_section_name(llmod: &llvm::Module) -> CString { function create_pgo_func_name_var (line 29) | pub(crate) fn create_pgo_func_name_var<'ll>( function write_filenames_to_buffer (line 42) | pub(crate) fn write_filenames_to_buffer(filenames: &[impl AsRef]) -... type Regions (line 68) | pub(crate) struct Regions { method has_no_regions (line 76) | pub(crate) fn has_no_regions(&self) -> bool { function write_function_mappings_to_buffer (line 83) | pub(crate) fn write_function_mappings_to_buffer( function hash_bytes (line 113) | pub(crate) fn hash_bytes(bytes: &[u8]) -> u64 { function mapping_version (line 120) | pub(crate) fn mapping_version() -> u32 { FILE: compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs type CovmapVersion (line 28) | enum CovmapVersion { method to_u32 (line 34) | fn to_u32(self) -> u32 { function finalize (line 44) | pub(crate) fn finalize(cx: &mut CodegenCx<'_, '_>) { type GlobalFileTable (line 103) | struct GlobalFileTable { method build (line 123) | fn build<'a>(tcx: TyCtxt<'_>, all_files: impl Iterator Option { type VirtualFileMapping (line 196) | struct VirtualFileMapping { method push_file (line 201) | fn push_file(&mut self, source_file: &Arc) -> LocalFileId { method resolve_all (line 210) | fn resolve_all(&self, global_file_table: &GlobalFileTable) -> Option( FILE: compiler/rustc_codegen_llvm/src/coverageinfo/mapgen/covfun.rs type CovfunRecord (line 29) | pub(crate) struct CovfunRecord<'tcx> { function all_source_files (line 45) | pub(crate) fn all_source_files(&self) -> impl Iterator( function counter_for_term (line 80) | pub(crate) fn counter_for_term(term: CovTerm) -> ffi::Counter { function prepare_expressions (line 94) | fn prepare_expressions(ids_info: &CoverageIdsInfo) -> Vec( function generate_covfun_record (line 180) | pub(crate) fn generate_covfun_record<'tcx>( FILE: compiler/rustc_codegen_llvm/src/coverageinfo/mapgen/spans.rs type Coords (line 11) | pub(crate) struct Coords { method make_coverage_span (line 24) | pub(crate) fn make_coverage_span(&self, local_file_id: LocalFileId) ->... function make_coords (line 41) | pub(crate) fn make_coords(source_map: &SourceMap, file: &SourceFile, spa... function check_coords (line 80) | fn check_coords(coords: Coords) -> Option { FILE: compiler/rustc_codegen_llvm/src/coverageinfo/mapgen/unused.rs function prepare_covfun_records_for_unused_functions (line 21) | pub(crate) fn prepare_covfun_records_for_unused_functions<'tcx>( type UnusedInstance (line 56) | struct UnusedInstance<'tcx> { function gather_unused_function_instances (line 61) | fn gather_unused_function_instances<'tcx>(cx: &CodegenCx<'_, 'tcx>) -> V... type UsageSets (line 93) | struct UsageSets<'tcx> { function prepare_usage_sets (line 101) | fn prepare_usage_sets<'tcx>(tcx: TyCtxt<'tcx>) -> UsageSets<'tcx> { function make_dummy_instance (line 156) | fn make_dummy_instance<'tcx>(tcx: TyCtxt<'tcx>, local_def_id: LocalDefId... FILE: compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs type CguCoverageContext (line 21) | pub(crate) struct CguCoverageContext<'ll, 'tcx> { function new (line 35) | pub(crate) fn new() -> Self { function instances_used (line 41) | pub(crate) fn instances_used(&self) -> Vec> { function coverageinfo_finalize (line 49) | pub(crate) fn coverageinfo_finalize(&mut self) { function covfun_section_name (line 61) | fn covfun_section_name(&self) -> &CStr { function ensure_pgo_func_name_var (line 74) | fn ensure_pgo_func_name_var(&self, instance: Instance<'tcx>) -> &'ll llv... function add_coverage (line 87) | fn add_coverage(&mut self, instance: Instance<'tcx>, kind: &CoverageKind) { FILE: compiler/rustc_codegen_llvm/src/debuginfo/create_scope_map.rs function compute_mir_scopes (line 21) | pub(crate) fn compute_mir_scopes<'ll, 'tcx>( function make_mir_scope (line 60) | fn make_mir_scope<'ll, 'tcx>( FILE: compiler/rustc_codegen_llvm/src/debuginfo/di_builder.rs type DIBuilderBox (line 12) | pub(crate) struct DIBuilderBox<'ll> { function new (line 17) | pub(crate) fn new(llmod: &'ll Module) -> Self { function as_ref (line 23) | pub(crate) fn as_ref(&self) -> &DIBuilder<'ll> { method drop (line 31) | fn drop(&mut self) { type DIBuilderExt (line 38) | pub(crate) trait DIBuilderExt<'ll> { method as_di_builder (line 39) | fn as_di_builder(&self) -> &DIBuilder<'ll>; method create_expression (line 41) | fn create_expression(&self, addr_ops: &[u64]) -> &'ll llvm::Metadata { method create_static_variable (line 46) | fn create_static_variable( function as_di_builder (line 93) | fn as_di_builder(&self) -> &DIBuilder<'ll> { FILE: compiler/rustc_codegen_llvm/src/debuginfo/dwarf_const.rs constant DW_OP_LLVM_fragment (line 37) | pub(crate) const DW_OP_LLVM_fragment: u64 = 0x1000; constant DW_OP_stack_value (line 40) | pub(crate) const DW_OP_stack_value: u64 = 0x9f; FILE: compiler/rustc_codegen_llvm/src/debuginfo/gdb.rs function insert_reference_to_gdb_debug_scripts_section_global (line 16) | pub(crate) fn insert_reference_to_gdb_debug_scripts_section_global(bx: &... function get_or_insert_gdb_debug_scripts_section_global (line 30) | pub(crate) fn get_or_insert_gdb_debug_scripts_section_global<'ll>( function needs_gdb_debug_scripts_section (line 85) | pub(crate) fn needs_gdb_debug_scripts_section(cx: &CodegenCx<'_, '_>) ->... FILE: compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs method eq (line 45) | fn eq(&self, other: &Self) -> bool { method hash (line 53) | fn hash(&self, hasher: &mut H) { function fmt (line 59) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { constant UNKNOWN_LINE_NUMBER (line 64) | pub(super) const UNKNOWN_LINE_NUMBER: c_uint = 0; constant UNKNOWN_COLUMN_NUMBER (line 65) | pub(super) const UNKNOWN_COLUMN_NUMBER: c_uint = 0; constant NO_SCOPE_METADATA (line 67) | const NO_SCOPE_METADATA: Option<&DIScope> = None; constant NO_GENERICS (line 69) | const NO_GENERICS: for<'ll> fn(&CodegenCx<'ll, '_>) -> SmallVec = smallvec::SmallVec<[T; 16]>; function size_and_align_of (line 91) | fn size_and_align_of(ty_and_layout: TyAndLayout<'_>) -> (Size, Align) { function build_fixed_size_array_di_node (line 97) | fn build_fixed_size_array_di_node<'ll, 'tcx>( function build_pointer_or_reference_di_node (line 142) | fn build_pointer_or_reference_di_node<'ll, 'tcx>( function build_subroutine_type_di_node (line 264) | fn build_subroutine_type_di_node<'ll, 'tcx>( function create_subroutine_type (line 324) | pub(super) fn create_subroutine_type<'ll>( function create_pointer_type (line 339) | fn create_pointer_type<'ll>( function build_dyn_type_di_node (line 361) | fn build_dyn_type_di_node<'ll, 'tcx>( function build_slice_type_di_node (line 408) | fn build_slice_type_di_node<'ll, 'tcx>( function type_di_node (line 433) | pub(crate) fn type_di_node<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>, t: Ty<'... function spanned_type_di_node (line 437) | pub(crate) fn spanned_type_di_node<'ll, 'tcx>( function recursion_marker_type_di_node (line 522) | fn recursion_marker_type_di_node<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>) -... function hex_encode (line 543) | fn hex_encode(data: &[u8]) -> String { function file_metadata (line 551) | pub(crate) fn file_metadata<'ll>(cx: &CodegenCx<'ll, '_>, source_file: &... function unknown_file_metadata (line 616) | fn unknown_file_metadata<'ll>(cx: &CodegenCx<'ll, '_>) -> &'ll DIFile { function create_file (line 622) | fn create_file<'ll>( type MsvcBasicName (line 646) | trait MsvcBasicName { method msvc_basic_name (line 647) | fn msvc_basic_name(self) -> &'static str; method msvc_basic_name (line 651) | fn msvc_basic_name(self) -> &'static str { method msvc_basic_name (line 664) | fn msvc_basic_name(self) -> &'static str { method msvc_basic_name (line 677) | fn msvc_basic_name(self) -> &'static str { function build_cpp_f16_di_node (line 691) | fn build_cpp_f16_di_node<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>) -> DINode... function build_basic_type_di_node (line 741) | fn build_basic_type_di_node<'ll, 'tcx>( function create_basic_type (line 805) | fn create_basic_type<'ll, 'tcx>( function build_foreign_type_di_node (line 823) | fn build_foreign_type_di_node<'ll, 'tcx>( function build_compile_unit_di_node (line 854) | pub(crate) fn build_compile_unit_di_node<'ll, 'tcx>( function build_field_di_node (line 957) | fn build_field_di_node<'ll, 'tcx>( function create_member_type (line 986) | fn create_member_type<'ll, 'tcx>( function visibility_di_flags (line 1019) | fn visibility_di_flags<'ll, 'tcx>( function build_struct_type_di_node (line 1036) | fn build_struct_type_di_node<'ll, 'tcx>( function build_upvar_field_di_nodes (line 1110) | fn build_upvar_field_di_nodes<'ll, 'tcx>( function build_tuple_type_di_node (line 1152) | fn build_tuple_type_di_node<'ll, 'tcx>( function build_closure_env_di_node (line 1200) | fn build_closure_env_di_node<'ll, 'tcx>( function build_union_type_di_node (line 1237) | fn build_union_type_di_node<'ll, 'tcx>( function build_generic_type_param_di_nodes (line 1300) | fn build_generic_type_param_di_nodes<'ll, 'tcx>( function build_global_var_di_node (line 1336) | pub(crate) fn build_global_var_di_node<'ll>( function build_vtable_type_di_node (line 1397) | fn build_vtable_type_di_node<'ll, 'tcx>( function build_unsafe_binder_type_di_node (line 1496) | fn build_unsafe_binder_type_di_node<'ll, 'tcx>( function find_vtable_behind_cast (line 1548) | fn find_vtable_behind_cast<'ll>(vtable: &'ll Value) -> &'ll Value { function apply_vcall_visibility_metadata (line 1560) | pub(crate) fn apply_vcall_visibility_metadata<'ll, 'tcx>( function create_vtable_di_node (line 1625) | pub(crate) fn create_vtable_di_node<'ll, 'tcx>( function extend_scope_to_file (line 1667) | pub(crate) fn extend_scope_to_file<'ll>( function tuple_field_name (line 1683) | fn tuple_field_name(field_index: usize) -> Cow<'static, str> { type DefinitionLocation (line 1694) | pub(crate) type DefinitionLocation<'ll> = (&'ll DIFile, c_uint); function file_metadata_from_def_id (line 1696) | pub(crate) fn file_metadata_from_def_id<'ll>( FILE: compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/cpp_like.rs constant ASSOC_CONST_DISCR_NAME (line 29) | const ASSOC_CONST_DISCR_NAME: &str = "NAME"; constant ASSOC_CONST_DISCR_EXACT (line 30) | const ASSOC_CONST_DISCR_EXACT: &str = "DISCR_EXACT"; constant ASSOC_CONST_DISCR_BEGIN (line 31) | const ASSOC_CONST_DISCR_BEGIN: &str = "DISCR_BEGIN"; constant ASSOC_CONST_DISCR_END (line 32) | const ASSOC_CONST_DISCR_END: &str = "DISCR_END"; constant ASSOC_CONST_DISCR128_EXACT_LO (line 34) | const ASSOC_CONST_DISCR128_EXACT_LO: &str = "DISCR128_EXACT_LO"; constant ASSOC_CONST_DISCR128_EXACT_HI (line 35) | const ASSOC_CONST_DISCR128_EXACT_HI: &str = "DISCR128_EXACT_HI"; constant ASSOC_CONST_DISCR128_BEGIN_LO (line 36) | const ASSOC_CONST_DISCR128_BEGIN_LO: &str = "DISCR128_BEGIN_LO"; constant ASSOC_CONST_DISCR128_BEGIN_HI (line 37) | const ASSOC_CONST_DISCR128_BEGIN_HI: &str = "DISCR128_BEGIN_HI"; constant ASSOC_CONST_DISCR128_END_LO (line 38) | const ASSOC_CONST_DISCR128_END_LO: &str = "DISCR128_END_LO"; constant ASSOC_CONST_DISCR128_END_HI (line 39) | const ASSOC_CONST_DISCR128_END_HI: &str = "DISCR128_END_HI"; constant TAG_FIELD_NAME (line 42) | const TAG_FIELD_NAME: &str = "tag"; constant TAG_FIELD_NAME_128_LO (line 43) | const TAG_FIELD_NAME_128_LO: &str = "tag128_lo"; constant TAG_FIELD_NAME_128_HI (line 44) | const TAG_FIELD_NAME_128_HI: &str = "tag128_hi"; constant SINGLE_VARIANT_VIRTUAL_DISR (line 48) | const SINGLE_VARIANT_VIRTUAL_DISR: u64 = 0; function build_enum_type_di_node (line 182) | pub(super) fn build_enum_type_di_node<'ll, 'tcx>( function build_coroutine_di_node (line 264) | pub(super) fn build_coroutine_di_node<'ll, 'tcx>( function build_single_variant_union_fields (line 315) | fn build_single_variant_union_fields<'ll, 'tcx>( function build_union_fields_for_enum (line 395) | fn build_union_fields_for_enum<'ll, 'tcx>( function variant_names_enum_base_type (line 464) | fn variant_names_enum_base_type<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>) ->... function build_variant_names_type_di_node (line 473) | fn build_variant_names_type_di_node<'ll, 'tcx>( function build_variant_struct_wrapper_type_di_node (line 490) | fn build_variant_struct_wrapper_type_di_node<'ll, 'tcx>( type Split128 (line 697) | struct Split128 { function split_128 (line 702) | fn split_128(value: u128) -> Split128 { function build_union_fields_for_direct_tag_coroutine (line 706) | fn build_union_fields_for_direct_tag_coroutine<'ll, 'tcx>( function build_union_fields_for_direct_tag_enum_or_coroutine (line 799) | fn build_union_fields_for_direct_tag_enum_or_coroutine<'ll, 'tcx>( type VariantFieldInfo (line 918) | struct VariantFieldInfo<'ll> { function variant_union_field_name (line 925) | fn variant_union_field_name(variant_index: VariantIdx) -> Cow<'static, s... function variant_struct_wrapper_type_name (line 951) | fn variant_struct_wrapper_type_name(variant_index: VariantIdx) -> Cow<'s... function create_static_member_type (line 977) | fn create_static_member_type<'ll>( FILE: compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/mod.rs function build_enum_type_di_node (line 30) | pub(super) fn build_enum_type_di_node<'ll, 'tcx>( function build_coroutine_di_node (line 53) | pub(super) fn build_coroutine_di_node<'ll, 'tcx>( function build_c_style_enum_di_node (line 67) | fn build_c_style_enum_di_node<'ll, 'tcx>( function build_enumeration_type_di_node (line 98) | fn build_enumeration_type_di_node<'ll, 'tcx>( function build_enum_variant_struct_type_di_node (line 201) | fn build_enum_variant_struct_type_di_node<'ll, 'tcx>( function build_coroutine_variant_struct_type_di_node (line 284) | fn build_coroutine_variant_struct_type_di_node<'ll, 'tcx>( type DiscrResult (line 373) | enum DiscrResult { method opt_single_val (line 380) | fn opt_single_val(&self) -> Option { function compute_discriminant_value (line 390) | fn compute_discriminant_value<'ll, 'tcx>( FILE: compiler/rustc_codegen_llvm/src/debuginfo/metadata/enums/native.rs function build_enum_type_di_node (line 41) | pub(super) fn build_enum_type_di_node<'ll, 'tcx>( function build_coroutine_di_node (line 141) | pub(super) fn build_coroutine_di_node<'ll, 'tcx>( function build_enum_variant_part_di_node (line 258) | fn build_enum_variant_part_di_node<'ll, 'tcx>( function build_discr_member_di_node (line 339) | fn build_discr_member_di_node<'ll, 'tcx>( function build_enum_variant_member_di_node (line 423) | fn build_enum_variant_member_di_node<'ll, 'tcx>( type VariantMemberInfo (line 474) | struct VariantMemberInfo<'a, 'll> { FILE: compiler/rustc_codegen_llvm/src/debuginfo/metadata/type_map.rs type HiddenZst (line 26) | pub(crate) struct HiddenZst; type UniqueTypeId (line 37) | pub(super) enum UniqueTypeId<'tcx> { function for_ty (line 52) | pub(crate) fn for_ty(tcx: TyCtxt<'tcx>, t: Ty<'tcx>) -> Self { function for_enum_variant_part (line 57) | pub(crate) fn for_enum_variant_part(tcx: TyCtxt<'tcx>, enum_ty: Ty<'tcx>... function for_enum_variant_struct_type (line 65) | pub(crate) fn for_enum_variant_struct_type( function for_enum_variant_struct_type_wrapper (line 77) | pub(crate) fn for_enum_variant_struct_type_wrapper( function for_vtable_ty (line 89) | pub(crate) fn for_vtable_ty( function generate_unique_id_string (line 109) | fn generate_unique_id_string(self, tcx: TyCtxt<'tcx>) -> String { function expect_ty (line 117) | pub(crate) fn expect_ty(self) -> Ty<'tcx> { type TypeMap (line 128) | pub(crate) struct TypeMap<'ll, 'tcx> { function insert (line 135) | pub(super) fn insert(&self, unique_type_id: UniqueTypeId<'tcx>, metadata... function di_node_for_unique_id (line 141) | pub(super) fn di_node_for_unique_id( type DINodeCreationResult (line 149) | pub(crate) struct DINodeCreationResult<'ll> { function new (line 155) | pub(crate) fn new(di_node: &'ll DIType, already_stored_in_typemap: bool)... type Stub (line 161) | pub(crate) enum Stub<'ll> { type StubInfo (line 167) | pub(crate) struct StubInfo<'ll, 'tcx> { function new (line 173) | pub(super) fn new( function stub (line 185) | pub(super) fn stub<'ll, 'tcx>( type AdtStackPopGuard (line 253) | struct AdtStackPopGuard<'ll, 'tcx, 'a> { method drop (line 258) | fn drop(&mut self) { function build_type_with_children (line 269) | pub(super) fn build_type_with_children<'ll, 'tcx>( FILE: compiler/rustc_codegen_llvm/src/debuginfo/mod.rs type CodegenUnitDebugContext (line 57) | pub(crate) struct CodegenUnitDebugContext<'ll, 'tcx> { function new (line 69) | pub(crate) fn new(llmod: &'ll llvm::Module) -> Self { function finalize (line 84) | pub(crate) fn finalize(&self, sess: &Session) { function finalize (line 128) | pub(crate) fn finalize(cx: &CodegenCx<'_, '_>) { function get_dbg_loc (line 145) | pub(crate) fn get_dbg_loc(&self) -> Option<&'ll DILocation> { function dbg_var_addr (line 153) | fn dbg_var_addr( function dbg_var_value (line 200) | fn dbg_var_value( function set_dbg_loc (line 250) | fn set_dbg_loc(&mut self, dbg_loc: &'ll DILocation) { function clear_dbg_loc (line 256) | fn clear_dbg_loc(&mut self) { function insert_reference_to_gdb_debug_scripts_section_global (line 262) | fn insert_reference_to_gdb_debug_scripts_section_global(&mut self) { function set_var_name (line 266) | fn set_var_name(&mut self, value: &'ll Value, name: &str) { function with_move_annotation (line 297) | fn with_move_annotation( type DebugLoc (line 345) | struct DebugLoc { function lookup_debug_loc (line 359) | fn lookup_debug_loc(&self, pos: BytePos) -> DebugLoc { function create_template_type_parameter (line 383) | fn create_template_type_parameter( function create_function_debug_context (line 401) | fn create_function_debug_context( function dbg_scope_fn (line 430) | fn dbg_scope_fn( function dbg_loc (line 669) | fn dbg_loc( function create_vtable_debuginfo (line 690) | fn create_vtable_debuginfo( function extend_scope_to_file (line 699) | fn extend_scope_to_file( function debuginfo_finalize (line 707) | fn debuginfo_finalize(&self) { function create_dbg_var (line 713) | fn create_dbg_var( FILE: compiler/rustc_codegen_llvm/src/debuginfo/namespace.rs function mangled_name_of_instance (line 12) | pub(crate) fn mangled_name_of_instance<'a, 'tcx>( function item_namespace (line 19) | pub(crate) fn item_namespace<'ll>(cx: &CodegenCx<'ll, '_>, def_id: DefId... FILE: compiler/rustc_codegen_llvm/src/debuginfo/utils.rs function is_node_local_to_unit (line 14) | pub(crate) fn is_node_local_to_unit(cx: &CodegenCx<'_, '_>, def_id: DefI... function create_DIArray (line 27) | pub(crate) fn create_DIArray<'ll>( function debug_context (line 35) | pub(crate) fn debug_context<'a, 'll, 'tcx>( function DIB (line 43) | pub(crate) fn DIB<'a, 'll>(cx: &'a CodegenCx<'ll, '_>) -> &'a DIBuilder<... function get_namespace_for_item (line 47) | pub(crate) fn get_namespace_for_item<'ll>(cx: &CodegenCx<'ll, '_>, def_i... type WidePtrKind (line 52) | pub(crate) enum WidePtrKind { function wide_pointer_kind (line 61) | pub(crate) fn wide_pointer_kind<'ll, 'tcx>( FILE: compiler/rustc_codegen_llvm/src/declare.rs function declare_simple_fn (line 36) | pub(crate) fn declare_simple_fn<'ll>( function declare_raw_fn (line 60) | pub(crate) fn declare_raw_fn<'ll, 'tcx>( function declare_global (line 89) | pub(crate) fn declare_global(&self, name: &str, ty: &'ll Type) -> &'ll V... function declare_cfn (line 110) | pub(crate) fn declare_cfn( function declare_entry_fn (line 128) | pub(crate) fn declare_entry_fn( function declare_fn (line 143) | pub(crate) fn declare_fn( function define_global (line 225) | pub(crate) fn define_global(&self, name: &str, ty: &'ll Type) -> Option<... function get_declared_value (line 234) | pub(crate) fn get_declared_value(&self, name: &str) -> Option<&'ll Value> { function get_defined_value (line 241) | pub(crate) fn get_defined_value(&self, name: &str) -> Option<&'ll Value> { FILE: compiler/rustc_codegen_llvm/src/errors.rs type SymbolAlreadyDefined (line 13) | pub(crate) struct SymbolAlreadyDefined<'a> { type SanitizerMemtagRequiresMte (line 21) | pub(crate) struct SanitizerMemtagRequiresMte; type ParseTargetMachineConfig (line 23) | pub(crate) struct ParseTargetMachineConfig<'a>(pub LlvmError<'a>); function into_diag (line 26) | fn into_diag(self, dcx: DiagCtxtHandle<'_>, level: Level) -> Diag<'_, G> { type AutoDiffComponentUnavailable (line 41) | pub(crate) struct AutoDiffComponentUnavailable { type AutoDiffComponentMissing (line 48) | pub(crate) struct AutoDiffComponentMissing { type AutoDiffWithoutLto (line 54) | pub(crate) struct AutoDiffWithoutLto; type AutoDiffWithoutEnable (line 58) | pub(crate) struct AutoDiffWithoutEnable; type OffloadWithoutEnable (line 62) | pub(crate) struct OffloadWithoutEnable; type OffloadWithoutFatLTO (line 66) | pub(crate) struct OffloadWithoutFatLTO; type OffloadWithoutAbsPath (line 70) | pub(crate) struct OffloadWithoutAbsPath; type OffloadWrongFileName (line 76) | pub(crate) struct OffloadWrongFileName; type OffloadNonexistingPath (line 82) | pub(crate) struct OffloadNonexistingPath; type OffloadBundleImagesFailed (line 86) | pub(crate) struct OffloadBundleImagesFailed; type OffloadEmbedFailed (line 90) | pub(crate) struct OffloadEmbedFailed; type LtoBitcodeFromRlib (line 94) | pub(crate) struct LtoBitcodeFromRlib { type LlvmError (line 99) | pub(crate) enum LlvmError<'a> { type WithLlvmError (line 120) | pub(crate) struct WithLlvmError<'a>(pub LlvmError<'a>, pub String); function into_diag (line 123) | fn into_diag(self, dcx: DiagCtxtHandle<'_>, level: Level) -> Diag<'_, G> { type FromLlvmOptimizationDiag (line 155) | pub(crate) struct FromLlvmOptimizationDiag<'a> { type FromLlvmDiag (line 166) | pub(crate) struct FromLlvmDiag { type WriteBytecode (line 172) | pub(crate) struct WriteBytecode<'a> { type CopyBitcode (line 179) | pub(crate) struct CopyBitcode { type UnsupportedCompression (line 187) | pub(crate) struct UnsupportedCompression { type MismatchedDataLayout (line 195) | pub(crate) struct MismatchedDataLayout<'a> { type FixedX18InvalidArch (line 204) | pub(crate) struct FixedX18InvalidArch<'a> { type PackedStackBackchainNeedsSoftfloat (line 213) | pub(crate) struct PackedStackBackchainNeedsSoftfloat; FILE: compiler/rustc_codegen_llvm/src/intrinsic.rs function call_simple_intrinsic (line 44) | fn call_simple_intrinsic<'ll, 'tcx>( function codegen_intrinsic_call (line 168) | fn codegen_intrinsic_call( function codegen_llvm_intrinsic_call (line 686) | fn codegen_llvm_intrinsic_call( function abort (line 800) | fn abort(&mut self) { function assume (line 804) | fn assume(&mut self, val: Self::Value) { function expect (line 810) | fn expect(&mut self, cond: Self::Value, expected: bool) -> Self::Value { function type_checked_load (line 822) | fn type_checked_load( function va_start (line 839) | fn va_start(&mut self, va_list: &'ll Value) -> &'ll Value { function va_end (line 843) | fn va_end(&mut self, va_list: &'ll Value) -> &'ll Value { function catch_unwind_intrinsic (line 848) | fn catch_unwind_intrinsic<'ll, 'tcx>( function codegen_msvc_try (line 879) | fn codegen_msvc_try<'ll, 'tcx>( function codegen_wasm_try (line 1028) | fn codegen_wasm_try<'ll, 'tcx>( function codegen_gnu_try (line 1111) | fn codegen_gnu_try<'ll, 'tcx>( function codegen_emcc_try (line 1169) | fn codegen_emcc_try<'ll, 'tcx>( function gen_fn (line 1250) | fn gen_fn<'a, 'll, 'tcx>( function get_rust_try_fn (line 1273) | fn get_rust_try_fn<'a, 'll, 'tcx>( function codegen_autodiff (line 1319) | fn codegen_autodiff<'ll, 'tcx>( function codegen_offload (line 1407) | fn codegen_offload<'ll, 'tcx>( function get_args_from_tuple (line 1459) | fn get_args_from_tuple<'ll, 'tcx>( function generic_simd_intrinsic (line 1509) | fn generic_simd_intrinsic<'ll, 'tcx>( FILE: compiler/rustc_codegen_llvm/src/lib.rs type LlvmCodegenBackend (line 78) | pub struct LlvmCodegenBackend(()); method new (line 212) | pub fn new() -> Box { type TimeTraceProfiler (line 80) | struct TimeTraceProfiler {} method new (line 83) | fn new() -> Self { method drop (line 90) | fn drop(&mut self) { method codegen_allocator (line 96) | fn codegen_allocator<'tcx>( method compile_codegen_unit (line 110) | fn compile_codegen_unit( type Module (line 120) | type Module = ModuleLlvm; type ModuleBuffer (line 121) | type ModuleBuffer = back::lto::ModuleBuffer; type TargetMachine (line 122) | type TargetMachine = OwnedTargetMachine; type ThinData (line 123) | type ThinData = back::lto::ThinData; method thread_profiler (line 124) | fn thread_profiler() -> Box { method target_machine_factory (line 127) | fn target_machine_factory( method optimize_and_codegen_fat_lto (line 135) | fn optimize_and_codegen_fat_lto( method run_thin_lto (line 160) | fn run_thin_lto( method optimize (line 179) | fn optimize( method optimize_and_codegen_thin (line 188) | fn optimize_and_codegen_thin( method codegen (line 197) | fn codegen( method serialize_module (line 206) | fn serialize_module(module: Self::Module, is_thin: bool) -> Self::Module... method name (line 218) | fn name(&self) -> &'static str { method init (line 222) | fn init(&self, sess: &Session) { method provide (line 247) | fn provide(&self, providers: &mut Providers) { method print (line 252) | fn print(&self, req: &PrintRequest, out: &mut String, sess: &Session) { method print_passes (line 307) | fn print_passes(&self) { method print_version (line 311) | fn print_version(&self) { method has_zstd (line 315) | fn has_zstd(&self) -> bool { method target_config (line 319) | fn target_config(&self, sess: &Session) -> TargetConfig { method replaced_intrinsics (line 323) | fn replaced_intrinsics(&self) -> Vec { method target_cpu (line 334) | fn target_cpu(&self, sess: &Session) -> String { method codegen_crate (line 338) | fn codegen_crate<'tcx>(&self, tcx: TyCtxt<'tcx>, crate_info: &CrateInfo)... method join_codegen (line 342) | fn join_codegen( method print_pass_timings (line 363) | fn print_pass_timings(&self) { method print_statistics (line 368) | fn print_statistics(&self) { method link (line 373) | fn link( type ModuleLlvm (line 399) | pub struct ModuleLlvm { method new (line 412) | fn new(tcx: TyCtxt<'_>, mod_name: &str) -> Self { method new_metadata (line 425) | fn new_metadata(tcx: TyCtxt<'_>, mod_name: &str) -> Self { method parse (line 438) | fn parse( method llmod (line 455) | fn llmod(&self) -> &llvm::Module { method drop (line 461) | fn drop(&mut self) { FILE: compiler/rustc_codegen_llvm/src/llvm/conversions.rs type FromGeneric (line 15) | pub(crate) trait FromGeneric { method from_generic (line 16) | fn from_generic(other: T) -> Self; type ToGeneric (line 24) | pub(crate) trait ToGeneric { method to_generic (line 25) | fn to_generic(&self) -> T; function from_generic (line 29) | fn from_generic(visibility: SymbolVisibility) -> Self { function from_generic (line 39) | fn from_generic(int_pred: IntPredicate) -> Self { function from_generic (line 56) | fn from_generic(real_pred: RealPredicate) -> Self { function from_generic (line 79) | fn from_generic(op: AtomicRmwBinOp) -> Self { function from_generic (line 97) | fn from_generic(ordering: AtomicOrdering) -> Self { function from_generic (line 109) | fn from_generic(kind: DebugInfo) -> Self { function to_generic (line 130) | fn to_generic(&self) -> TypeKind { FILE: compiler/rustc_codegen_llvm/src/llvm/diagnostic.rs type OptimizationDiagnosticKind (line 12) | pub(crate) enum OptimizationDiagnosticKind { type OptimizationDiagnostic (line 22) | pub(crate) struct OptimizationDiagnostic<'ll> { function unpack (line 34) | unsafe fn unpack(kind: OptimizationDiagnosticKind, di: &'ll DiagnosticIn... type SrcMgrDiagnostic (line 77) | pub(crate) struct SrcMgrDiagnostic { method unpack (line 84) | pub(crate) unsafe fn unpack(diag: &SMDiagnostic) -> SrcMgrDiagnostic { type InlineAsmDiagnostic (line 124) | pub(crate) struct InlineAsmDiagnostic { method unpackInlineAsm (line 132) | unsafe fn unpackInlineAsm(di: &DiagnosticInfo) -> Self { method unpackSrcMgr (line 149) | unsafe fn unpackSrcMgr(di: &DiagnosticInfo) -> Self { type Diagnostic (line 162) | pub(crate) enum Diagnostic<'ll> { function unpack (line 175) | pub(crate) unsafe fn unpack(di: &'ll DiagnosticInfo) -> Self { FILE: compiler/rustc_codegen_llvm/src/llvm/enzyme_ffi.rs type CTypeTreeRef (line 10) | pub(crate) type CTypeTreeRef = *mut EnzymeTypeTree; type EnzymeTypeTree (line 14) | pub(crate) struct EnzymeTypeTree { type CConcreteType (line 21) | pub(crate) enum CConcreteType { type TypeTree (line 32) | pub(crate) struct TypeTree { method new (line 468) | pub(crate) fn new() -> TypeTree { method from_type (line 474) | pub(crate) fn from_type(t: CConcreteType, ctx: &Context) -> TypeTree { method merge (line 480) | pub(crate) fn merge(self, other: Self) -> Self { method shift (line 488) | pub(crate) fn shift( method insert (line 508) | pub(crate) fn insert(&mut self, indices: &[i64], ct: CConcreteType, ct... method fmt (line 523) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method fmt (line 540) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function LLVMRustHasMetadata (line 39) | pub(crate) safe fn LLVMRustHasMetadata(I: &Value, KindID: MetadataKindId... function LLVMRustEraseInstUntilInclusive (line 40) | pub(crate) fn LLVMRustEraseInstUntilInclusive(BB: &BasicBlock, I: &Value); function LLVMRustGetLastInstruction (line 41) | pub(crate) fn LLVMRustGetLastInstruction<'a>(BB: &BasicBlock) -> Option<... function LLVMRustDIGetInstMetadata (line 42) | pub(crate) fn LLVMRustDIGetInstMetadata(I: &Value) -> Option<&Metadata>; function LLVMRustEraseInstFromParent (line 43) | pub(crate) fn LLVMRustEraseInstFromParent(V: &Value); function LLVMRustGetTerminator (line 44) | pub(crate) fn LLVMRustGetTerminator<'a>(B: &BasicBlock) -> &'a Value; function LLVMRustVerifyFunction (line 45) | pub(crate) fn LLVMRustVerifyFunction(V: &Value, action: LLVMRustVerifier... function LLVMRustHasAttributeAtIndex (line 46) | pub(crate) fn LLVMRustHasAttributeAtIndex(V: &Value, i: c_uint, Kind: At... function LLVMRustGetArrayNumElements (line 47) | pub(crate) fn LLVMRustGetArrayNumElements(Ty: &Type) -> u64; function LLVMRustHasFnAttribute (line 48) | pub(crate) fn LLVMRustHasFnAttribute( function LLVMRustRemoveFnAttribute (line 53) | pub(crate) fn LLVMRustRemoveFnAttribute(F: &Value, Name: *const c_char, ... function LLVMGetFirstFunction (line 54) | pub(crate) fn LLVMGetFirstFunction(M: &Module) -> Option<&Value>; function LLVMGetNextFunction (line 55) | pub(crate) fn LLVMGetNextFunction(Fn: &Value) -> Option<&Value>; function LLVMRustRemoveEnumAttributeAtIndex (line 56) | pub(crate) fn LLVMRustRemoveEnumAttributeAtIndex( function LLVMRustPositionBefore (line 61) | pub(crate) fn LLVMRustPositionBefore<'a>(B: &'a Builder<'_>, I: &'a Value); function LLVMRustPositionAfter (line 62) | pub(crate) fn LLVMRustPositionAfter<'a>(B: &'a Builder<'_>, I: &'a Value); function LLVMRustGetFunctionCall (line 63) | pub(crate) fn LLVMRustGetFunctionCall( function LLVMDumpModule (line 73) | pub(crate) fn LLVMDumpModule(M: &Module); function LLVMDumpValue (line 74) | pub(crate) fn LLVMDumpValue(V: &Value); function LLVMGetFunctionCallConv (line 75) | pub(crate) fn LLVMGetFunctionCallConv(F: &Value) -> c_uint; function LLVMGetReturnType (line 76) | pub(crate) fn LLVMGetReturnType(T: &Type) -> &Type; function LLVMGetParams (line 77) | pub(crate) fn LLVMGetParams(Fnc: &Value, params: *mut &Value); function LLVMGetNamedFunction (line 78) | pub(crate) fn LLVMGetNamedFunction(M: &Module, Name: *const c_char) -> O... type LLVMRustVerifierFailureAction (line 83) | pub(crate) enum LLVMRustVerifierFailureAction { type EnzymeSetCLBoolFn (line 102) | type EnzymeSetCLBoolFn = unsafe extern "C" fn(*mut c_void, u8); type EnzymeSetCLStringFn (line 103) | type EnzymeSetCLStringFn = unsafe extern "C" fn(*mut c_void, *const c_ch... type EnzymeNewTypeTreeFn (line 105) | type EnzymeNewTypeTreeFn = unsafe extern "C" fn() -> CTypeTreeRef; type EnzymeNewTypeTreeCTFn (line 106) | type EnzymeNewTypeTreeCTFn = unsafe extern "C" fn(CConcreteType, &Contex... type EnzymeNewTypeTreeTRFn (line 107) | type EnzymeNewTypeTreeTRFn = unsafe extern "C" fn(CTypeTreeRef) -> CType... type EnzymeFreeTypeTreeFn (line 108) | type EnzymeFreeTypeTreeFn = unsafe extern "C" fn(CTypeTreeRef); type EnzymeMergeTypeTreeFn (line 109) | type EnzymeMergeTypeTreeFn = unsafe extern "C" fn(CTypeTreeRef, CTypeTre... type EnzymeTypeTreeOnlyEqFn (line 110) | type EnzymeTypeTreeOnlyEqFn = unsafe extern "C" fn(CTypeTreeRef, i64); type EnzymeTypeTreeData0EqFn (line 111) | type EnzymeTypeTreeData0EqFn = unsafe extern "C" fn(CTypeTreeRef); type EnzymeTypeTreeShiftIndiciesEqFn (line 112) | type EnzymeTypeTreeShiftIndiciesEqFn = type EnzymeTypeTreeInsertEqFn (line 114) | type EnzymeTypeTreeInsertEqFn = type EnzymeTypeTreeToStringFn (line 116) | type EnzymeTypeTreeToStringFn = unsafe extern "C" fn(CTypeTreeRef) -> *c... type EnzymeTypeTreeToStringFreeFn (line 117) | type EnzymeTypeTreeToStringFreeFn = unsafe extern "C" fn(*const c_char); type EnzymeWrapper (line 120) | pub(crate) struct EnzymeWrapper { method get_or_init (line 210) | pub(crate) fn get_or_init( method get_instance (line 222) | pub(crate) fn get_instance() -> MutexGuard<'static, Self> { method new_type_tree (line 230) | pub(crate) fn new_type_tree(&self) -> CTypeTreeRef { method new_type_tree_ct (line 234) | pub(crate) fn new_type_tree_ct( method new_type_tree_tr (line 242) | pub(crate) fn new_type_tree_tr(&self, tree: CTypeTreeRef) -> CTypeTree... method free_type_tree (line 246) | pub(crate) fn free_type_tree(&self, tree: CTypeTreeRef) { method merge_type_tree (line 250) | pub(crate) fn merge_type_tree(&self, tree1: CTypeTreeRef, tree2: CType... method tree_only_eq (line 254) | pub(crate) fn tree_only_eq(&self, tree: CTypeTreeRef, num: i64) { method tree_data0_eq (line 258) | pub(crate) fn tree_data0_eq(&self, tree: CTypeTreeRef) { method shift_indicies_eq (line 262) | pub(crate) fn shift_indicies_eq( method tree_insert_eq (line 281) | pub(crate) fn tree_insert_eq( method tree_to_string (line 292) | pub(crate) fn tree_to_string(&self, tree: *mut EnzymeTypeTree) -> *con... method tree_to_string_free (line 296) | pub(crate) fn tree_to_string_free(&self, ch: *const c_char) { method get_max_type_depth (line 300) | pub(crate) fn get_max_type_depth(&self) -> usize { method set_print_perf (line 304) | pub(crate) fn set_print_perf(&mut self, print: bool) { method set_print_activity (line 310) | pub(crate) fn set_print_activity(&mut self, print: bool) { method set_print_type (line 316) | pub(crate) fn set_print_type(&mut self, print: bool) { method set_print_type_fun (line 322) | pub(crate) fn set_print_type_fun(&mut self, fun_name: &str) { method set_print (line 333) | pub(crate) fn set_print(&mut self, print: bool) { method set_strict_aliasing (line 339) | pub(crate) fn set_strict_aliasing(&mut self, strict: bool) { method set_loose_types (line 345) | pub(crate) fn set_loose_types(&mut self, loose: bool) { method set_inline (line 351) | pub(crate) fn set_inline(&mut self, val: bool) { method set_rust_rules (line 357) | pub(crate) fn set_rust_rules(&mut self, val: bool) { method call_dynamic (line 364) | fn call_dynamic( method get_enzyme_path (line 431) | fn get_enzyme_path(sysroot: &Sysroot) -> Result Self { method clone (line 515) | fn clone(&self) -> Self { method drop (line 546) | fn drop(&mut self) { FILE: compiler/rustc_codegen_llvm/src/llvm/ffi.rs type Bool (line 39) | pub(crate) struct Bool { constant TRUE (line 47) | pub(crate) const TRUE: Self = Self { value: 1 }; constant FALSE (line 48) | pub(crate) const FALSE: Self = Self { value: 0 }; method from_bool (line 50) | pub(crate) const fn from_bool(rust_bool: bool) -> Self { method is_true (line 55) | pub(crate) fn is_true(self) -> bool { constant TRUE (line 43) | pub(crate) const TRUE: Bool = Bool::TRUE; constant FALSE (line 44) | pub(crate) const FALSE: Bool = Bool::FALSE; method fmt (line 63) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ToLlvmBool (line 77) | pub(crate) trait ToLlvmBool: Copy { method to_llvm_bool (line 78) | fn to_llvm_bool(self) -> llvm::Bool; method to_llvm_bool (line 83) | fn to_llvm_bool(self) -> llvm::Bool { type RawEnum (line 95) | pub(crate) struct RawEnum { function to_rust (line 103) | pub(crate) fn to_rust(self) -> T type LLVMRustResult (line 115) | pub(crate) enum LLVMRustResult { type ModuleFlagMergeBehavior (line 134) | pub(crate) enum ModuleFlagMergeBehavior { type TailCallKind (line 151) | pub(crate) enum TailCallKind { type CallConv (line 163) | pub(crate) enum CallConv { type Linkage (line 189) | pub(crate) enum Linkage { type Visibility (line 216) | pub(crate) enum Visibility { type UnnamedAddr (line 224) | pub(crate) enum UnnamedAddr { type DLLStorageClass (line 234) | pub(crate) enum DLLStorageClass { type AttributeKind (line 248) | pub(crate) enum AttributeKind { type IntPredicate (line 301) | pub(crate) enum IntPredicate { type RealPredicate (line 317) | pub(crate) enum RealPredicate { type TypeKind (line 345) | pub(crate) enum TypeKind { type AtomicRmwBinOp (line 370) | pub(crate) enum AtomicRmwBinOp { type AtomicOrdering (line 387) | pub(crate) enum AtomicOrdering { type FileType (line 403) | pub(crate) enum FileType { type AsmDialect (line 411) | pub(crate) enum AsmDialect { type CodeGenOptLevel (line 419) | pub(crate) enum CodeGenOptLevel { type PassBuilderOptLevel (line 428) | pub(crate) enum PassBuilderOptLevel { type OptStage (line 440) | pub(crate) enum OptStage { type SanitizerOptions (line 450) | pub(crate) struct SanitizerOptions { type RelocModel (line 474) | pub(crate) enum RelocModel { type FloatAbi (line 486) | pub(crate) enum FloatAbi { type CodeModel (line 495) | pub(crate) enum CodeModel { type DiagnosticKind (line 508) | pub(crate) enum DiagnosticKind { type DiagnosticLevel (line 531) | pub(crate) enum DiagnosticLevel { type ThinLTOModule (line 545) | pub(crate) struct ThinLTOModule { type ThreadLocalMode (line 554) | pub(crate) enum ThreadLocalMode { type ChecksumKind (line 566) | pub(crate) enum ChecksumKind { type MemoryEffects (line 576) | pub(crate) enum MemoryEffects { type Opcode (line 587) | pub(crate) enum Opcode { type CompressionKind (line 660) | pub(crate) enum CompressionKind { type InvariantOpaque (line 670) | struct InvariantOpaque<'a> { type Builder (line 690) | pub(crate) struct Builder<'a>(InvariantOpaque<'a>); type PassManager (line 692) | pub(crate) struct PassManager<'a>(InvariantOpaque<'a>); type OperandBundle (line 703) | pub(crate) struct OperandBundle<'a>(InvariantOpaque<'a>); type Linker (line 705) | pub(crate) struct Linker<'a>(InvariantOpaque<'a>); type DiagnosticHandlerTy (line 711) | pub(crate) type DiagnosticHandlerTy = unsafe extern "C" fn(&DiagnosticIn... type DIBuilder (line 727) | pub(crate) struct DIBuilder<'ll>(InvariantOpaque<'ll>); type DIDescriptor (line 729) | pub(crate) type DIDescriptor = Metadata; type DILocation (line 730) | pub(crate) type DILocation = Metadata; type DIScope (line 731) | pub(crate) type DIScope = DIDescriptor; type DIFile (line 732) | pub(crate) type DIFile = DIScope; type DILexicalBlock (line 733) | pub(crate) type DILexicalBlock = DIScope; type DISubprogram (line 734) | pub(crate) type DISubprogram = DIScope; type DIType (line 735) | pub(crate) type DIType = DIDescriptor; type DIBasicType (line 736) | pub(crate) type DIBasicType = DIType; type DIDerivedType (line 737) | pub(crate) type DIDerivedType = DIType; type DICompositeType (line 738) | pub(crate) type DICompositeType = DIDerivedType; type DIVariable (line 739) | pub(crate) type DIVariable = DIDescriptor; type DIArray (line 740) | pub(crate) type DIArray = DIDescriptor; type DIEnumerator (line 741) | pub(crate) type DIEnumerator = DIDescriptor; type DITemplateTypeParameter (line 742) | pub(crate) type DITemplateTypeParameter = DIDescriptor; type DebugEmissionKind (line 805) | pub(crate) enum DebugEmissionKind { type DebugNameTableKind (line 815) | pub(crate) enum DebugNameTableKind { type SelfProfileBeforePassCallback (line 853) | pub(crate) type SelfProfileBeforePassCallback = type SelfProfileAfterPassCallback (line 855) | pub(crate) type SelfProfileAfterPassCallback = unsafe extern "C" fn(*mut... type GetSymbolsCallback (line 857) | pub(crate) type GetSymbolsCallback = type GetSymbolsErrorCallback (line 859) | pub(crate) type GetSymbolsErrorCallback = unsafe extern "C" fn(*const c_... function LLVMContextCreate (line 863) | pub(crate) fn LLVMContextCreate() -> &'static mut Context; function LLVMContextDispose (line 864) | pub(crate) fn LLVMContextDispose(C: &'static mut Context); function LLVMContextSetDiscardValueNames (line 865) | pub(crate) fn LLVMContextSetDiscardValueNames(C: &Context, Discard: Bool); function LLVMGetMDKindIDInContext (line 866) | pub(crate) fn LLVMGetMDKindIDInContext( function LLVMDisposeTargetMachine (line 872) | pub(crate) fn LLVMDisposeTargetMachine(T: ptr::NonNull); function LLVMModuleCreateWithNameInContext (line 875) | pub(crate) fn LLVMModuleCreateWithNameInContext( function LLVMCloneModule (line 879) | pub(crate) safe fn LLVMCloneModule(M: &Module) -> &Module; function LLVMGetDataLayoutStr (line 882) | pub(crate) fn LLVMGetDataLayoutStr(M: &Module) -> *const c_char; function LLVMSetDataLayout (line 883) | pub(crate) fn LLVMSetDataLayout(M: &Module, Triple: *const c_char); function LLVMAppendModuleInlineAsm (line 886) | pub(crate) fn LLVMAppendModuleInlineAsm( function LLVMGetInlineAsm (line 893) | pub(crate) fn LLVMGetInlineAsm<'ll>( function LLVMGetTypeKind (line 905) | pub(crate) safe fn LLVMGetTypeKind(Ty: &Type) -> RawEnum; function LLVMInt1TypeInContext (line 908) | pub(crate) fn LLVMInt1TypeInContext(C: &Context) -> &Type; function LLVMInt8TypeInContext (line 909) | pub(crate) fn LLVMInt8TypeInContext(C: &Context) -> &Type; function LLVMInt16TypeInContext (line 910) | pub(crate) fn LLVMInt16TypeInContext(C: &Context) -> &Type; function LLVMInt32TypeInContext (line 911) | pub(crate) fn LLVMInt32TypeInContext(C: &Context) -> &Type; function LLVMInt64TypeInContext (line 912) | pub(crate) fn LLVMInt64TypeInContext(C: &Context) -> &Type; function LLVMIntTypeInContext (line 913) | pub(crate) safe fn LLVMIntTypeInContext(C: &Context, NumBits: c_uint) ->... function LLVMGetIntTypeWidth (line 915) | pub(crate) fn LLVMGetIntTypeWidth(IntegerTy: &Type) -> c_uint; function LLVMHalfTypeInContext (line 918) | pub(crate) fn LLVMHalfTypeInContext(C: &Context) -> &Type; function LLVMFloatTypeInContext (line 919) | pub(crate) fn LLVMFloatTypeInContext(C: &Context) -> &Type; function LLVMDoubleTypeInContext (line 920) | pub(crate) fn LLVMDoubleTypeInContext(C: &Context) -> &Type; function LLVMFP128TypeInContext (line 921) | pub(crate) fn LLVMFP128TypeInContext(C: &Context) -> &Type; function LLVMFunctionType (line 924) | pub(crate) fn LLVMFunctionType<'a>( function LLVMCountParamTypes (line 930) | pub(crate) fn LLVMCountParamTypes(FunctionTy: &Type) -> c_uint; function LLVMGetParamTypes (line 931) | pub(crate) fn LLVMGetParamTypes<'a>(FunctionTy: &'a Type, Dest: *mut &'a... function LLVMStructTypeInContext (line 934) | pub(crate) fn LLVMStructTypeInContext<'a>( function LLVMPointerTypeInContext (line 942) | pub(crate) safe fn LLVMPointerTypeInContext(C: &Context, AddressSpace: c... function LLVMVectorType (line 943) | pub(crate) fn LLVMVectorType(ElementType: &Type, ElementCount: c_uint) -... function LLVMScalableVectorType (line 944) | pub(crate) fn LLVMScalableVectorType(ElementType: &Type, ElementCount: c... function LLVMGetElementType (line 946) | pub(crate) fn LLVMGetElementType(Ty: &Type) -> &Type; function LLVMGetVectorSize (line 947) | pub(crate) fn LLVMGetVectorSize(VectorTy: &Type) -> c_uint; function LLVMVoidTypeInContext (line 950) | pub(crate) fn LLVMVoidTypeInContext(C: &Context) -> &Type; function LLVMTypeOf (line 953) | pub(crate) fn LLVMTypeOf(Val: &Value) -> &Type; function LLVMGetValueName2 (line 954) | pub(crate) fn LLVMGetValueName2(Val: &Value, Length: *mut size_t) -> *co... function LLVMSetValueName2 (line 955) | pub(crate) fn LLVMSetValueName2(Val: &Value, Name: *const c_char, NameLe... function LLVMReplaceAllUsesWith (line 956) | pub(crate) fn LLVMReplaceAllUsesWith<'a>(OldVal: &'a Value, NewVal: &'a ... function LLVMSetMetadata (line 957) | pub(crate) safe fn LLVMSetMetadata<'a>(Val: &'a Value, KindID: MetadataK... function LLVMGlobalSetMetadata (line 958) | pub(crate) fn LLVMGlobalSetMetadata<'a>( function LLVMValueAsMetadata (line 963) | pub(crate) safe fn LLVMValueAsMetadata(Node: &Value) -> &Metadata; function LLVMConstNull (line 966) | pub(crate) fn LLVMConstNull(Ty: &Type) -> &Value; function LLVMGetUndef (line 967) | pub(crate) fn LLVMGetUndef(Ty: &Type) -> &Value; function LLVMGetPoison (line 968) | pub(crate) fn LLVMGetPoison(Ty: &Type) -> &Value; function LLVMMDStringInContext2 (line 971) | pub(crate) fn LLVMMDStringInContext2( function LLVMMDNodeInContext2 (line 976) | pub(crate) fn LLVMMDNodeInContext2<'a>( function LLVMAddNamedMetadataOperand (line 981) | pub(crate) fn LLVMAddNamedMetadataOperand<'a>( function LLVMConstInt (line 988) | pub(crate) fn LLVMConstInt(IntTy: &Type, N: c_ulonglong, SignExtend: Boo... function LLVMConstIntOfArbitraryPrecision (line 989) | pub(crate) fn LLVMConstIntOfArbitraryPrecision( function LLVMConstReal (line 994) | pub(crate) fn LLVMConstReal(RealTy: &Type, N: f64) -> &Value; function LLVMConstArray2 (line 997) | pub(crate) fn LLVMConstArray2<'a>( function LLVMArrayType2 (line 1002) | pub(crate) fn LLVMArrayType2(ElementType: &Type, ElementCount: u64) -> &... function LLVMConstStringInContext2 (line 1003) | pub(crate) fn LLVMConstStringInContext2( function LLVMConstStructInContext (line 1009) | pub(crate) fn LLVMConstStructInContext<'a>( function LLVMConstNamedStruct (line 1015) | pub(crate) fn LLVMConstNamedStruct<'a>( function LLVMConstVector (line 1020) | pub(crate) fn LLVMConstVector(ScalarConstantVals: *const &Value, Size: c... function LLVMConstInBoundsGEP2 (line 1023) | pub(crate) fn LLVMConstInBoundsGEP2<'a>( function LLVMConstPtrToInt (line 1029) | pub(crate) fn LLVMConstPtrToInt<'a>(ConstantVal: &'a Value, ToType: &'a ... function LLVMConstIntToPtr (line 1030) | pub(crate) fn LLVMConstIntToPtr<'a>(ConstantVal: &'a Value, ToType: &'a ... function LLVMConstBitCast (line 1031) | pub(crate) fn LLVMConstBitCast<'a>(ConstantVal: &'a Value, ToType: &'a T... function LLVMConstPointerCast (line 1032) | pub(crate) fn LLVMConstPointerCast<'a>(ConstantVal: &'a Value, ToType: &... function LLVMGetAggregateElement (line 1033) | pub(crate) fn LLVMGetAggregateElement(ConstantVal: &Value, Idx: c_uint) ... function LLVMGetConstOpcode (line 1034) | pub(crate) fn LLVMGetConstOpcode(ConstantVal: &Value) -> Opcode; function LLVMIsAConstantExpr (line 1035) | pub(crate) fn LLVMIsAConstantExpr(Val: &Value) -> Option<&Value>; function LLVMIsDeclaration (line 1038) | pub(crate) fn LLVMIsDeclaration(Global: &Value) -> Bool; function LLVMGetLinkage (line 1039) | pub(crate) fn LLVMGetLinkage(Global: &Value) -> RawEnum; function LLVMSetLinkage (line 1040) | pub(crate) fn LLVMSetLinkage(Global: &Value, RustLinkage: Linkage); function LLVMSetSection (line 1041) | pub(crate) fn LLVMSetSection(Global: &Value, Section: *const c_char); function LLVMGetVisibility (line 1042) | pub(crate) fn LLVMGetVisibility(Global: &Value) -> RawEnum; function LLVMSetVisibility (line 1043) | pub(crate) fn LLVMSetVisibility(Global: &Value, Viz: Visibility); function LLVMGetAlignment (line 1044) | pub(crate) fn LLVMGetAlignment(Global: &Value) -> c_uint; function LLVMSetAlignment (line 1045) | pub(crate) fn LLVMSetAlignment(Global: &Value, Bytes: c_uint); function LLVMSetDLLStorageClass (line 1046) | pub(crate) fn LLVMSetDLLStorageClass(V: &Value, C: DLLStorageClass); function LLVMGlobalGetValueType (line 1047) | pub(crate) fn LLVMGlobalGetValueType(Global: &Value) -> &Type; function LLVMIsAGlobalVariable (line 1050) | pub(crate) safe fn LLVMIsAGlobalVariable(GlobalVar: &Value) -> Option<&V... function LLVMAddGlobal (line 1051) | pub(crate) fn LLVMAddGlobal<'a>(M: &'a Module, Ty: &'a Type, Name: *cons... function LLVMGetNamedGlobal (line 1052) | pub(crate) fn LLVMGetNamedGlobal(M: &Module, Name: *const c_char) -> Opt... function LLVMGetFirstGlobal (line 1053) | pub(crate) fn LLVMGetFirstGlobal(M: &Module) -> Option<&Value>; function LLVMGetNextGlobal (line 1054) | pub(crate) fn LLVMGetNextGlobal(GlobalVar: &Value) -> Option<&Value>; function LLVMDeleteGlobal (line 1055) | pub(crate) fn LLVMDeleteGlobal(GlobalVar: &Value); function LLVMGetInitializer (line 1056) | pub(crate) safe fn LLVMGetInitializer(GlobalVar: &Value) -> Option<&Value>; function LLVMSetInitializer (line 1057) | pub(crate) fn LLVMSetInitializer<'a>(GlobalVar: &'a Value, ConstantVal: ... function LLVMIsThreadLocal (line 1058) | pub(crate) safe fn LLVMIsThreadLocal(GlobalVar: &Value) -> Bool; function LLVMSetThreadLocalMode (line 1059) | pub(crate) fn LLVMSetThreadLocalMode(GlobalVar: &Value, Mode: ThreadLoca... function LLVMIsGlobalConstant (line 1060) | pub(crate) safe fn LLVMIsGlobalConstant(GlobalVar: &Value) -> Bool; function LLVMSetGlobalConstant (line 1061) | pub(crate) safe fn LLVMSetGlobalConstant(GlobalVar: &Value, IsConstant: ... function LLVMSetTailCall (line 1062) | pub(crate) safe fn LLVMSetTailCall(CallInst: &Value, IsTailCall: Bool); function LLVMSetTailCallKind (line 1063) | pub(crate) safe fn LLVMSetTailCallKind(CallInst: &Value, kind: TailCallK... function LLVMSetExternallyInitialized (line 1064) | pub(crate) safe fn LLVMSetExternallyInitialized(GlobalVar: &Value, IsExt... function LLVMCreateStringAttribute (line 1067) | pub(crate) fn LLVMCreateStringAttribute( function LLVMSetFunctionCallConv (line 1076) | pub(crate) fn LLVMSetFunctionCallConv(Fn: &Value, CC: c_uint); function LLVMAddFunction (line 1077) | pub(crate) fn LLVMAddFunction<'a>( function LLVMDeleteFunction (line 1082) | pub(crate) fn LLVMDeleteFunction(Fn: &Value); function LLVMLookupIntrinsicID (line 1085) | pub(crate) fn LLVMLookupIntrinsicID(Name: *const c_char, NameLen: size_t... function LLVMGetIntrinsicDeclaration (line 1086) | pub(crate) fn LLVMGetIntrinsicDeclaration<'a>( function LLVMIsAArgument (line 1094) | pub(crate) fn LLVMIsAArgument(Val: &Value) -> Option<&Value>; function LLVMCountParams (line 1095) | pub(crate) safe fn LLVMCountParams(Fn: &Value) -> c_uint; function LLVMGetParam (line 1096) | pub(crate) fn LLVMGetParam(Fn: &Value, Index: c_uint) -> &Value; function LLVMGetBasicBlockParent (line 1099) | pub(crate) fn LLVMGetBasicBlockParent(BB: &BasicBlock) -> &Value; function LLVMAppendBasicBlockInContext (line 1100) | pub(crate) fn LLVMAppendBasicBlockInContext<'a>( function LLVMIsAInstruction (line 1107) | pub(crate) fn LLVMIsAInstruction(Val: &Value) -> Option<&Value>; function LLVMGetFirstBasicBlock (line 1108) | pub(crate) fn LLVMGetFirstBasicBlock(Fn: &Value) -> &BasicBlock; function LLVMGetOperand (line 1109) | pub(crate) fn LLVMGetOperand(Val: &Value, Index: c_uint) -> Option<&Value>; function LLVMSetInstructionCallConv (line 1112) | pub(crate) fn LLVMSetInstructionCallConv(Instr: &Value, CC: c_uint); function LLVMSetVolatile (line 1115) | pub(crate) fn LLVMSetVolatile(MemoryAccessInst: &Value, volatile: Bool); function LLVMSetOrdering (line 1116) | pub(crate) fn LLVMSetOrdering(MemoryAccessInst: &Value, Ordering: Atomic... function LLVMAddIncoming (line 1119) | pub(crate) fn LLVMAddIncoming<'a>( function LLVMCreateBuilderInContext (line 1127) | pub(crate) fn LLVMCreateBuilderInContext(C: &Context) -> &mut Builder<'_>; function LLVMPositionBuilderAtEnd (line 1128) | pub(crate) fn LLVMPositionBuilderAtEnd<'a>(Builder: &Builder<'a>, Block:... function LLVMGetInsertBlock (line 1129) | pub(crate) fn LLVMGetInsertBlock<'a>(Builder: &Builder<'a>) -> &'a Basic... function LLVMDisposeBuilder (line 1130) | pub(crate) fn LLVMDisposeBuilder<'a>(Builder: &'a mut Builder<'a>); function LLVMSetCurrentDebugLocation2 (line 1133) | pub(crate) fn LLVMSetCurrentDebugLocation2<'a>(Builder: &Builder<'a>, Lo... function LLVMGetCurrentDebugLocation2 (line 1134) | pub(crate) fn LLVMGetCurrentDebugLocation2<'a>(Builder: &Builder<'a>) ->... function LLVMBuildRetVoid (line 1137) | pub(crate) safe fn LLVMBuildRetVoid<'a>(B: &Builder<'a>) -> &'a Value; function LLVMBuildRet (line 1138) | pub(crate) fn LLVMBuildRet<'a>(B: &Builder<'a>, V: &'a Value) -> &'a Value; function LLVMBuildBr (line 1139) | pub(crate) fn LLVMBuildBr<'a>(B: &Builder<'a>, Dest: &'a BasicBlock) -> ... function LLVMBuildCondBr (line 1140) | pub(crate) fn LLVMBuildCondBr<'a>( function LLVMBuildSwitch (line 1146) | pub(crate) fn LLVMBuildSwitch<'a>( function LLVMBuildLandingPad (line 1152) | pub(crate) fn LLVMBuildLandingPad<'a>( function LLVMBuildResume (line 1159) | pub(crate) fn LLVMBuildResume<'a>(B: &Builder<'a>, Exn: &'a Value) -> &'... function LLVMBuildUnreachable (line 1160) | pub(crate) fn LLVMBuildUnreachable<'a>(B: &Builder<'a>) -> &'a Value; function LLVMBuildCleanupPad (line 1162) | pub(crate) fn LLVMBuildCleanupPad<'a>( function LLVMBuildCleanupRet (line 1169) | pub(crate) fn LLVMBuildCleanupRet<'a>( function LLVMBuildCatchPad (line 1174) | pub(crate) fn LLVMBuildCatchPad<'a>( function LLVMBuildCatchRet (line 1181) | pub(crate) fn LLVMBuildCatchRet<'a>( function LLVMBuildCatchSwitch (line 1186) | pub(crate) fn LLVMBuildCatchSwitch<'a>( function LLVMAddHandler (line 1193) | pub(crate) fn LLVMAddHandler<'a>(CatchSwitch: &'a Value, Dest: &'a Basic... function LLVMSetPersonalityFn (line 1194) | pub(crate) fn LLVMSetPersonalityFn<'a>(Func: &'a Value, Pers: &'a Value); function LLVMAddCase (line 1197) | pub(crate) fn LLVMAddCase<'a>(Switch: &'a Value, OnVal: &'a Value, Dest:... function LLVMAddClause (line 1200) | pub(crate) fn LLVMAddClause<'a>(LandingPad: &'a Value, ClauseVal: &'a Va... function LLVMSetCleanup (line 1203) | pub(crate) fn LLVMSetCleanup(LandingPad: &Value, Val: Bool); function LLVMBuildAdd (line 1206) | pub(crate) fn LLVMBuildAdd<'a>( function LLVMBuildFAdd (line 1212) | pub(crate) fn LLVMBuildFAdd<'a>( function LLVMBuildSub (line 1218) | pub(crate) fn LLVMBuildSub<'a>( function LLVMBuildFSub (line 1224) | pub(crate) fn LLVMBuildFSub<'a>( function LLVMBuildMul (line 1230) | pub(crate) fn LLVMBuildMul<'a>( function LLVMBuildFMul (line 1236) | pub(crate) fn LLVMBuildFMul<'a>( function LLVMBuildUDiv (line 1242) | pub(crate) fn LLVMBuildUDiv<'a>( function LLVMBuildExactUDiv (line 1248) | pub(crate) fn LLVMBuildExactUDiv<'a>( function LLVMBuildSDiv (line 1254) | pub(crate) fn LLVMBuildSDiv<'a>( function LLVMBuildExactSDiv (line 1260) | pub(crate) fn LLVMBuildExactSDiv<'a>( function LLVMBuildFDiv (line 1266) | pub(crate) fn LLVMBuildFDiv<'a>( function LLVMBuildURem (line 1272) | pub(crate) fn LLVMBuildURem<'a>( function LLVMBuildSRem (line 1278) | pub(crate) fn LLVMBuildSRem<'a>( function LLVMBuildFRem (line 1284) | pub(crate) fn LLVMBuildFRem<'a>( function LLVMBuildShl (line 1290) | pub(crate) fn LLVMBuildShl<'a>( function LLVMBuildLShr (line 1296) | pub(crate) fn LLVMBuildLShr<'a>( function LLVMBuildAShr (line 1302) | pub(crate) fn LLVMBuildAShr<'a>( function LLVMBuildNSWAdd (line 1308) | pub(crate) fn LLVMBuildNSWAdd<'a>( function LLVMBuildNUWAdd (line 1314) | pub(crate) fn LLVMBuildNUWAdd<'a>( function LLVMBuildNSWSub (line 1320) | pub(crate) fn LLVMBuildNSWSub<'a>( function LLVMBuildNUWSub (line 1326) | pub(crate) fn LLVMBuildNUWSub<'a>( function LLVMBuildNSWMul (line 1332) | pub(crate) fn LLVMBuildNSWMul<'a>( function LLVMBuildNUWMul (line 1338) | pub(crate) fn LLVMBuildNUWMul<'a>( function LLVMBuildAnd (line 1344) | pub(crate) fn LLVMBuildAnd<'a>( function LLVMBuildOr (line 1350) | pub(crate) fn LLVMBuildOr<'a>( function LLVMBuildXor (line 1356) | pub(crate) fn LLVMBuildXor<'a>( function LLVMBuildNeg (line 1362) | pub(crate) fn LLVMBuildNeg<'a>(B: &Builder<'a>, V: &'a Value, Name: *con... function LLVMBuildFNeg (line 1364) | pub(crate) fn LLVMBuildFNeg<'a>( function LLVMBuildNot (line 1369) | pub(crate) fn LLVMBuildNot<'a>(B: &Builder<'a>, V: &'a Value, Name: *con... function LLVMSetIsDisjoint (line 1373) | pub(crate) fn LLVMSetIsDisjoint(Instr: &Value, IsDisjoint: Bool); function LLVMSetNUW (line 1374) | pub(crate) fn LLVMSetNUW(ArithInst: &Value, HasNUW: Bool); function LLVMSetNSW (line 1375) | pub(crate) fn LLVMSetNSW(ArithInst: &Value, HasNSW: Bool); function LLVMBuildAlloca (line 1378) | pub(crate) fn LLVMBuildAlloca<'a>( function LLVMBuildLoad2 (line 1383) | pub(crate) fn LLVMBuildLoad2<'a>( function LLVMBuildStore (line 1390) | pub(crate) fn LLVMBuildStore<'a>(B: &Builder<'a>, Val: &'a Value, Ptr: &... function LLVMBuildGEPWithNoWrapFlags (line 1392) | pub(crate) fn LLVMBuildGEPWithNoWrapFlags<'a>( function LLVMBuildTrunc (line 1403) | pub(crate) fn LLVMBuildTrunc<'a>( function LLVMBuildZExt (line 1409) | pub(crate) fn LLVMBuildZExt<'a>( function LLVMBuildSExt (line 1415) | pub(crate) fn LLVMBuildSExt<'a>( function LLVMBuildFPToUI (line 1421) | pub(crate) fn LLVMBuildFPToUI<'a>( function LLVMBuildFPToSI (line 1427) | pub(crate) fn LLVMBuildFPToSI<'a>( function LLVMBuildUIToFP (line 1433) | pub(crate) fn LLVMBuildUIToFP<'a>( function LLVMBuildSIToFP (line 1439) | pub(crate) fn LLVMBuildSIToFP<'a>( function LLVMBuildFPTrunc (line 1445) | pub(crate) fn LLVMBuildFPTrunc<'a>( function LLVMBuildFPExt (line 1451) | pub(crate) fn LLVMBuildFPExt<'a>( function LLVMBuildPtrToInt (line 1457) | pub(crate) fn LLVMBuildPtrToInt<'a>( function LLVMBuildIntToPtr (line 1463) | pub(crate) fn LLVMBuildIntToPtr<'a>( function LLVMBuildBitCast (line 1469) | pub(crate) fn LLVMBuildBitCast<'a>( function LLVMBuildPointerCast (line 1475) | pub(crate) fn LLVMBuildPointerCast<'a>( function LLVMBuildIntCast2 (line 1481) | pub(crate) fn LLVMBuildIntCast2<'a>( function LLVMBuildICmp (line 1490) | pub(crate) fn LLVMBuildICmp<'a>( function LLVMBuildFCmp (line 1497) | pub(crate) fn LLVMBuildFCmp<'a>( function LLVMBuildPhi (line 1506) | pub(crate) fn LLVMBuildPhi<'a>(B: &Builder<'a>, Ty: &'a Type, Name: *con... function LLVMBuildSelect (line 1508) | pub(crate) fn LLVMBuildSelect<'a>( function LLVMBuildVAArg (line 1515) | pub(crate) fn LLVMBuildVAArg<'a>( function LLVMBuildExtractElement (line 1521) | pub(crate) fn LLVMBuildExtractElement<'a>( function LLVMBuildInsertElement (line 1527) | pub(crate) fn LLVMBuildInsertElement<'a>( function LLVMBuildShuffleVector (line 1534) | pub(crate) fn LLVMBuildShuffleVector<'a>( function LLVMBuildExtractValue (line 1541) | pub(crate) fn LLVMBuildExtractValue<'a>( function LLVMBuildInsertValue (line 1547) | pub(crate) fn LLVMBuildInsertValue<'a>( function LLVMBuildAtomicCmpXchg (line 1556) | pub(crate) fn LLVMBuildAtomicCmpXchg<'a>( function LLVMSetWeak (line 1566) | pub(crate) fn LLVMSetWeak(CmpXchgInst: &Value, IsWeak: Bool); function LLVMBuildAtomicRMW (line 1568) | pub(crate) fn LLVMBuildAtomicRMW<'a>( function LLVMBuildFence (line 1577) | pub(crate) fn LLVMBuildFence<'a>( function LLVMWriteBitcodeToFile (line 1585) | pub(crate) fn LLVMWriteBitcodeToFile(M: &Module, Path: *const c_char) ->... function LLVMCreatePassManager (line 1588) | pub(crate) fn LLVMCreatePassManager<'a>() -> &'a mut PassManager<'a>; function LLVMAddAnalysisPasses (line 1590) | pub(crate) fn LLVMAddAnalysisPasses<'a>(T: &'a TargetMachine, PM: &PassM... function LLVMGetHostCPUFeatures (line 1592) | pub(crate) fn LLVMGetHostCPUFeatures() -> *mut c_char; function LLVMDisposeMessage (line 1594) | pub(crate) fn LLVMDisposeMessage(message: *mut c_char); function LLVMIsMultithreaded (line 1596) | pub(crate) fn LLVMIsMultithreaded() -> Bool; function LLVMStructCreateNamed (line 1598) | pub(crate) fn LLVMStructCreateNamed(C: &Context, Name: *const c_char) ->... function LLVMStructSetBody (line 1600) | pub(crate) fn LLVMStructSetBody<'a>( function LLVMMetadataAsValue (line 1607) | pub(crate) safe fn LLVMMetadataAsValue<'a>(C: &'a Context, MD: &'a Metad... function LLVMSetUnnamedAddress (line 1609) | pub(crate) safe fn LLVMSetUnnamedAddress(Global: &Value, UnnamedAddr: Un... function LLVMIsAConstantInt (line 1611) | pub(crate) fn LLVMIsAConstantInt(value_ref: &Value) -> Option<&ConstantI... function LLVMGetOrInsertComdat (line 1613) | pub(crate) fn LLVMGetOrInsertComdat(M: &Module, Name: *const c_char) -> ... function LLVMSetComdat (line 1614) | pub(crate) fn LLVMSetComdat(V: &Value, C: &Comdat); function LLVMCreateOperandBundle (line 1616) | pub(crate) fn LLVMCreateOperandBundle( function LLVMDisposeOperandBundle (line 1622) | pub(crate) fn LLVMDisposeOperandBundle(Bundle: ptr::NonNull( function LLVMBuildInvokeWithOperandBundles (line 1634) | pub(crate) fn LLVMBuildInvokeWithOperandBundles<'a>( function LLVMBuildCallBr (line 1646) | pub(crate) fn LLVMBuildCallBr<'a>( function LLVMRustBundleImages (line 1669) | pub(crate) fn LLVMRustBundleImages<'a>( function LLVMRustOffloadEmbedBufferInModule (line 1674) | pub(crate) unsafe fn LLVMRustOffloadEmbedBufferInModule<'a>( function LLVMRustOffloadMapper (line 1678) | pub(crate) fn LLVMRustOffloadMapper<'a>( function LLVMRustBundleImages (line 1695) | pub(crate) unsafe fn LLVMRustBundleImages<'a>( function LLVMRustOffloadEmbedBufferInModule (line 1702) | pub(crate) unsafe fn LLVMRustOffloadEmbedBufferInModule<'a>( function LLVMRustOffloadMapper (line 1709) | pub(crate) unsafe fn LLVMRustOffloadMapper<'a>( function LLVMCreateDIBuilder (line 1725) | pub(crate) fn LLVMCreateDIBuilder<'ll>(M: &'ll Module) -> *mut DIBuilder... function LLVMDisposeDIBuilder (line 1726) | pub(crate) fn LLVMDisposeDIBuilder<'ll>(Builder: ptr::NonNull(Builder: &DIBuilder<'ll>); function LLVMDIBuilderCreateNameSpace (line 1730) | pub(crate) fn LLVMDIBuilderCreateNameSpace<'ll>( function LLVMDIBuilderCreateLexicalBlock (line 1738) | pub(crate) fn LLVMDIBuilderCreateLexicalBlock<'ll>( function LLVMDIBuilderCreateLexicalBlockFile (line 1746) | pub(crate) fn LLVMDIBuilderCreateLexicalBlockFile<'ll>( function LLVMDIBuilderCreateDebugLocation (line 1753) | pub(crate) fn LLVMDIBuilderCreateDebugLocation<'ll>( function LLVMDIBuilderCreateSubroutineType (line 1761) | pub(crate) fn LLVMDIBuilderCreateSubroutineType<'ll>( function LLVMDIBuilderCreateUnionType (line 1769) | pub(crate) fn LLVMDIBuilderCreateUnionType<'ll>( function LLVMDIBuilderCreateArrayType (line 1786) | pub(crate) fn LLVMDIBuilderCreateArrayType<'ll>( function LLVMDIBuilderCreateBasicType (line 1795) | pub(crate) fn LLVMDIBuilderCreateBasicType<'ll>( function LLVMDIBuilderCreatePointerType (line 1804) | pub(crate) fn LLVMDIBuilderCreatePointerType<'ll>( function LLVMDIBuilderCreateStructType (line 1814) | pub(crate) fn LLVMDIBuilderCreateStructType<'ll>( function LLVMDIBuilderCreateMemberType (line 1833) | pub(crate) fn LLVMDIBuilderCreateMemberType<'ll>( function LLVMDIBuilderCreateStaticMemberType (line 1847) | pub(crate) fn LLVMDIBuilderCreateStaticMemberType<'ll>( function LLVMDIBuilderCreateQualifiedType (line 1862) | pub(crate) fn LLVMDIBuilderCreateQualifiedType<'ll>( function LLVMDIBuilderCreateTypedef (line 1868) | pub(crate) fn LLVMDIBuilderCreateTypedef<'ll>( function LLVMDIBuilderGetOrCreateSubrange (line 1879) | pub(crate) fn LLVMDIBuilderGetOrCreateSubrange<'ll>( function LLVMDIBuilderGetOrCreateArray (line 1885) | pub(crate) fn LLVMDIBuilderGetOrCreateArray<'ll>( function LLVMDIBuilderCreateExpression (line 1891) | pub(crate) fn LLVMDIBuilderCreateExpression<'ll>( function LLVMDIBuilderCreateGlobalVariableExpression (line 1897) | pub(crate) fn LLVMDIBuilderCreateGlobalVariableExpression<'ll>( function LLVMDIBuilderInsertDeclareRecordAtEnd (line 1913) | pub(crate) fn LLVMDIBuilderInsertDeclareRecordAtEnd<'ll>( function LLVMDIBuilderInsertDbgValueRecordAtEnd (line 1922) | pub(crate) fn LLVMDIBuilderInsertDbgValueRecordAtEnd<'ll>( function LLVMDIBuilderCreateAutoVariable (line 1931) | pub(crate) fn LLVMDIBuilderCreateAutoVariable<'ll>( function LLVMDIBuilderCreateParameterVariable (line 1944) | pub(crate) fn LLVMDIBuilderCreateParameterVariable<'ll>( function LLVMRustInstallErrorHandlers (line 1960) | pub(crate) fn LLVMRustInstallErrorHandlers(); function LLVMRustDisableSystemDialogsOnCrash (line 1961) | pub(crate) fn LLVMRustDisableSystemDialogsOnCrash(); function LLVMRustGlobalAddMetadata (line 1964) | pub(crate) fn LLVMRustGlobalAddMetadata<'a>( function LLVMRustIsNonGVFunctionPointerTy (line 1969) | pub(crate) fn LLVMRustIsNonGVFunctionPointerTy(Val: &Value) -> bool; function LLVMRustStripPointerCasts (line 1970) | pub(crate) fn LLVMRustStripPointerCasts<'a>(Val: &'a Value) -> &'a Value; function LLVMRustConstIntGetZExtValue (line 1973) | pub(crate) fn LLVMRustConstIntGetZExtValue(ConstantVal: &ConstantInt, Va... function LLVMRustConstInt128Get (line 1974) | pub(crate) fn LLVMRustConstInt128Get( function LLVMRustSetDSOLocal (line 1982) | pub(crate) fn LLVMRustSetDSOLocal(Global: &Value, is_dso_local: bool); function LLVMRustGetOrInsertGlobal (line 1985) | pub(crate) fn LLVMRustGetOrInsertGlobal<'a>( function LLVMRustGetNamedValue (line 1991) | pub(crate) fn LLVMRustGetNamedValue( function LLVMRustCreateAttrNoValue (line 1998) | pub(crate) fn LLVMRustCreateAttrNoValue(C: &Context, attr: AttributeKind... function LLVMRustCreateAlignmentAttr (line 1999) | pub(crate) fn LLVMRustCreateAlignmentAttr(C: &Context, bytes: u64) -> &A... function LLVMRustCreateDereferenceableAttr (line 2000) | pub(crate) fn LLVMRustCreateDereferenceableAttr(C: &Context, bytes: u64)... function LLVMRustCreateDereferenceableOrNullAttr (line 2001) | pub(crate) fn LLVMRustCreateDereferenceableOrNullAttr(C: &Context, bytes... function LLVMRustCreateByValAttr (line 2002) | pub(crate) fn LLVMRustCreateByValAttr<'a>(C: &'a Context, ty: &'a Type) ... function LLVMRustCreateStructRetAttr (line 2003) | pub(crate) fn LLVMRustCreateStructRetAttr<'a>(C: &'a Context, ty: &'a Ty... function LLVMRustCreateElementTypeAttr (line 2004) | pub(crate) fn LLVMRustCreateElementTypeAttr<'a>(C: &'a Context, ty: &'a ... function LLVMRustCreateUWTableAttr (line 2005) | pub(crate) fn LLVMRustCreateUWTableAttr(C: &Context, async_: bool) -> &A... function LLVMRustCreateAllocSizeAttr (line 2006) | pub(crate) fn LLVMRustCreateAllocSizeAttr(C: &Context, size_arg: u32) ->... function LLVMRustCreateAllocKindAttr (line 2007) | pub(crate) fn LLVMRustCreateAllocKindAttr(C: &Context, size_arg: u64) ->... function LLVMRustCreateMemoryEffectsAttr (line 2008) | pub(crate) fn LLVMRustCreateMemoryEffectsAttr( function LLVMRustCreateRangeAttribute (line 2018) | pub(crate) fn LLVMRustCreateRangeAttribute( function LLVMRustGetOrInsertFunction (line 2026) | pub(crate) fn LLVMRustGetOrInsertFunction<'a>( function LLVMRustAddFunctionAttributes (line 2032) | pub(crate) fn LLVMRustAddFunctionAttributes<'a>( function LLVMRustAddCallSiteAttributes (line 2040) | pub(crate) fn LLVMRustAddCallSiteAttributes<'a>( function LLVMRustSetFastMath (line 2047) | pub(crate) fn LLVMRustSetFastMath(Instr: &Value); function LLVMRustSetAlgebraicMath (line 2048) | pub(crate) fn LLVMRustSetAlgebraicMath(Instr: &Value); function LLVMRustSetAllowReassoc (line 2049) | pub(crate) fn LLVMRustSetAllowReassoc(Instr: &Value); function LLVMRustSetNoSignedZeros (line 2050) | pub(crate) fn LLVMRustSetNoSignedZeros(Instr: &Value); function LLVMRustBuildMemCpy (line 2053) | pub(crate) fn LLVMRustBuildMemCpy<'a>( function LLVMRustBuildMemMove (line 2062) | pub(crate) fn LLVMRustBuildMemMove<'a>( function LLVMRustBuildMemSet (line 2071) | pub(crate) fn LLVMRustBuildMemSet<'a>( function LLVMRustTimeTraceProfilerInitialize (line 2080) | pub(crate) fn LLVMRustTimeTraceProfilerInitialize(); function LLVMRustTimeTraceProfilerFinishThread (line 2082) | pub(crate) fn LLVMRustTimeTraceProfilerFinishThread(); function LLVMRustTimeTraceProfilerFinish (line 2084) | pub(crate) fn LLVMRustTimeTraceProfilerFinish(FileName: *const c_char); function LLVMRustGetLastError (line 2087) | pub(crate) fn LLVMRustGetLastError() -> *const c_char; function LLVMRustPrintPassTimings (line 2090) | pub(crate) fn LLVMRustPrintPassTimings(OutStr: &RustString); function LLVMRustPrintStatistics (line 2093) | pub(crate) fn LLVMRustPrintStatistics(OutStr: &RustString); function LLVMRustInlineAsmVerify (line 2095) | pub(crate) fn LLVMRustInlineAsmVerify( function LLVMRustCoverageWriteFilenamesToBuffer (line 2104) | pub(crate) fn LLVMRustCoverageWriteFilenamesToBuffer( function LLVMRustCoverageWriteFunctionMappingsToBuffer (line 2112) | pub(crate) fn LLVMRustCoverageWriteFunctionMappingsToBuffer( function LLVMRustCoverageCreatePGOFuncNameVar (line 2126) | pub(crate) fn LLVMRustCoverageCreatePGOFuncNameVar( function LLVMRustCoverageHashBytes (line 2131) | pub(crate) fn LLVMRustCoverageHashBytes( function LLVMRustCoverageWriteCovmapSectionNameToString (line 2136) | pub(crate) safe fn LLVMRustCoverageWriteCovmapSectionNameToString( function LLVMRustCoverageWriteCovfunSectionNameToString (line 2140) | pub(crate) safe fn LLVMRustCoverageWriteCovfunSectionNameToString( function LLVMRustCoverageWriteCovmapVarNameToString (line 2144) | pub(crate) safe fn LLVMRustCoverageWriteCovmapVarNameToString(OutStr: &R... function LLVMRustCoverageMappingVersion (line 2146) | pub(crate) safe fn LLVMRustCoverageMappingVersion() -> u32; function LLVMRustDebugMetadataVersion (line 2147) | pub(crate) fn LLVMRustDebugMetadataVersion() -> u32; function LLVMRustVersionMajor (line 2148) | pub(crate) fn LLVMRustVersionMajor() -> u32; function LLVMRustVersionMinor (line 2149) | pub(crate) fn LLVMRustVersionMinor() -> u32; function LLVMRustVersionPatch (line 2150) | pub(crate) fn LLVMRustVersionPatch() -> u32; function LLVMRustAddModuleFlagU32 (line 2156) | pub(crate) fn LLVMRustAddModuleFlagU32( function LLVMRustAddModuleFlagString (line 2164) | pub(crate) fn LLVMRustAddModuleFlagString( function LLVMRustDIBuilderCreateCompileUnit (line 2173) | pub(crate) fn LLVMRustDIBuilderCreateCompileUnit<'a>( function LLVMRustDIBuilderCreateFile (line 2190) | pub(crate) fn LLVMRustDIBuilderCreateFile<'a>( function LLVMRustDIBuilderCreateFunction (line 2203) | pub(crate) fn LLVMRustDIBuilderCreateFunction<'a>( function LLVMRustDIBuilderCreateMethod (line 2221) | pub(crate) fn LLVMRustDIBuilderCreateMethod<'a>( function LLVMRustDIBuilderCreateVariantMemberType (line 2236) | pub(crate) fn LLVMRustDIBuilderCreateVariantMemberType<'a>( function LLVMRustDIBuilderCreateEnumerator (line 2251) | pub(crate) fn LLVMRustDIBuilderCreateEnumerator<'a>( function LLVMRustDIBuilderCreateEnumerationType (line 2260) | pub(crate) fn LLVMRustDIBuilderCreateEnumerationType<'a>( function LLVMRustDIBuilderCreateVariantPart (line 2274) | pub(crate) fn LLVMRustDIBuilderCreateVariantPart<'a>( function LLVMRustDIBuilderCreateTemplateTypeParameter (line 2290) | pub(crate) fn LLVMRustDIBuilderCreateTemplateTypeParameter<'a>( function LLVMRustDICompositeTypeReplaceArrays (line 2298) | pub(crate) fn LLVMRustDICompositeTypeReplaceArrays<'a>( function LLVMRustDILocationCloneWithBaseDiscriminator (line 2305) | pub(crate) fn LLVMRustDILocationCloneWithBaseDiscriminator<'a>( function LLVMRustWriteTypeToString (line 2310) | pub(crate) fn LLVMRustWriteTypeToString(Type: &Type, s: &RustString); function LLVMRustWriteValueToString (line 2311) | pub(crate) fn LLVMRustWriteValueToString(value_ref: &Value, s: &RustStri... function LLVMRustHasFeature (line 2313) | pub(crate) fn LLVMRustHasFeature(T: &TargetMachine, s: *const c_char) ->... function LLVMRustPrintTargetCPUs (line 2315) | pub(crate) fn LLVMRustPrintTargetCPUs(TM: &TargetMachine, OutStr: &RustS... function LLVMRustGetTargetFeaturesCount (line 2316) | pub(crate) fn LLVMRustGetTargetFeaturesCount(T: &TargetMachine) -> size_t; function LLVMRustGetTargetFeature (line 2317) | pub(crate) fn LLVMRustGetTargetFeature( function LLVMRustGetHostCPUName (line 2324) | pub(crate) fn LLVMRustGetHostCPUName(LenOut: &mut size_t) -> *const u8; function LLVMRustCreateTargetMachine (line 2328) | pub(crate) fn LLVMRustCreateTargetMachine( function LLVMRustAddLibraryInfo (line 2354) | pub(crate) fn LLVMRustAddLibraryInfo<'a>( function LLVMRustWriteOutputFile (line 2360) | pub(crate) fn LLVMRustWriteOutputFile<'a>( function LLVMRustOptimize (line 2369) | pub(crate) fn LLVMRustOptimize<'a>( function LLVMRustPrintModule (line 2405) | pub(crate) fn LLVMRustPrintModule( function LLVMRustSetLLVMOptions (line 2410) | pub(crate) fn LLVMRustSetLLVMOptions(Argc: c_int, Argv: *const *const c_... function LLVMRustPrintPasses (line 2411) | pub(crate) fn LLVMRustPrintPasses(); function LLVMRustSetNormalizedTarget (line 2412) | pub(crate) fn LLVMRustSetNormalizedTarget(M: &Module, triple: *const c_c... function LLVMRustRunRestrictionPass (line 2413) | pub(crate) fn LLVMRustRunRestrictionPass(M: &Module, syms: *const *const... function LLVMRustWriteTwineToString (line 2415) | pub(crate) fn LLVMRustWriteTwineToString(T: &Twine, s: &RustString); function LLVMRustUnpackOptimizationDiagnostic (line 2417) | pub(crate) fn LLVMRustUnpackOptimizationDiagnostic<'a>( function LLVMRustUnpackInlineAsmDiagnostic (line 2427) | pub(crate) fn LLVMRustUnpackInlineAsmDiagnostic<'a>( function LLVMRustWriteDiagnosticInfoToString (line 2434) | pub(crate) fn LLVMRustWriteDiagnosticInfoToString(DI: &DiagnosticInfo, s... function LLVMRustGetDiagInfoKind (line 2435) | pub(crate) fn LLVMRustGetDiagInfoKind(DI: &DiagnosticInfo) -> Diagnostic... function LLVMRustGetSMDiagnostic (line 2437) | pub(crate) fn LLVMRustGetSMDiagnostic<'a>( function LLVMRustUnpackSMDiagnostic (line 2442) | pub(crate) fn LLVMRustUnpackSMDiagnostic( function LLVMRustSetDataLayoutFromTargetMachine (line 2452) | pub(crate) fn LLVMRustSetDataLayoutFromTargetMachine<'a>(M: &'a Module, ... function LLVMRustPositionBuilderPastAllocas (line 2454) | pub(crate) fn LLVMRustPositionBuilderPastAllocas<'a>(B: &Builder<'a>, Fn... function LLVMRustPositionBuilderAtStart (line 2455) | pub(crate) fn LLVMRustPositionBuilderAtStart<'a>(B: &Builder<'a>, BB: &'... function LLVMRustSetModulePICLevel (line 2457) | pub(crate) fn LLVMRustSetModulePICLevel(M: &Module); function LLVMRustSetModulePIELevel (line 2458) | pub(crate) fn LLVMRustSetModulePIELevel(M: &Module); function LLVMRustSetModuleCodeModel (line 2459) | pub(crate) fn LLVMRustSetModuleCodeModel(M: &Module, Model: CodeModel); function LLVMRustBufferPtr (line 2460) | pub(crate) fn LLVMRustBufferPtr(p: &Buffer) -> *const u8; function LLVMRustBufferLen (line 2461) | pub(crate) fn LLVMRustBufferLen(p: &Buffer) -> usize; function LLVMRustBufferFree (line 2462) | pub(crate) fn LLVMRustBufferFree(p: &'static mut Buffer); function LLVMRustModuleCost (line 2463) | pub(crate) fn LLVMRustModuleCost(M: &Module) -> u64; function LLVMRustModuleInstructionStats (line 2464) | pub(crate) fn LLVMRustModuleInstructionStats(M: &Module) -> u64; function LLVMRustModuleSerialize (line 2466) | pub(crate) fn LLVMRustModuleSerialize(M: &Module, is_thin: bool) -> &'st... function LLVMRustCreateThinLTOData (line 2467) | pub(crate) fn LLVMRustCreateThinLTOData( function LLVMRustPrepareThinLTORename (line 2473) | pub(crate) fn LLVMRustPrepareThinLTORename( function LLVMRustPrepareThinLTOResolveWeak (line 2478) | pub(crate) fn LLVMRustPrepareThinLTOResolveWeak(Data: &ThinLTOData, Modu... function LLVMRustPrepareThinLTOInternalize (line 2479) | pub(crate) fn LLVMRustPrepareThinLTOInternalize(Data: &ThinLTOData, Modu... function LLVMRustPrepareThinLTOImport (line 2480) | pub(crate) fn LLVMRustPrepareThinLTOImport( function LLVMRustFreeThinLTOData (line 2485) | pub(crate) fn LLVMRustFreeThinLTOData(Data: &'static mut ThinLTOData); function LLVMRustParseBitcodeForLTO (line 2486) | pub(crate) fn LLVMRustParseBitcodeForLTO( function LLVMRustLinkerNew (line 2493) | pub(crate) fn LLVMRustLinkerNew(M: &Module) -> &mut Linker<'_>; function LLVMRustLinkerAdd (line 2494) | pub(crate) fn LLVMRustLinkerAdd( function LLVMRustLinkerFree (line 2499) | pub(crate) fn LLVMRustLinkerFree<'a>(linker: &'a mut Linker<'a>); function LLVMRustComputeLTOCacheKey (line 2500) | pub(crate) fn LLVMRustComputeLTOCacheKey( function LLVMRustContextGetDiagnosticHandler (line 2506) | pub(crate) fn LLVMRustContextGetDiagnosticHandler( function LLVMRustContextSetDiagnosticHandler (line 2509) | pub(crate) fn LLVMRustContextSetDiagnosticHandler( function LLVMRustContextConfigureDiagnosticHandler (line 2513) | pub(crate) fn LLVMRustContextConfigureDiagnosticHandler( function LLVMRustGetMangledName (line 2524) | pub(crate) fn LLVMRustGetMangledName(V: &Value, out: &RustString); function LLVMRustGetElementTypeArgIndex (line 2526) | pub(crate) fn LLVMRustGetElementTypeArgIndex(CallSite: &Value) -> i32; function LLVMRustLLVMHasZlibCompression (line 2528) | pub(crate) safe fn LLVMRustLLVMHasZlibCompression() -> bool; function LLVMRustLLVMHasZstdCompression (line 2529) | pub(crate) safe fn LLVMRustLLVMHasZstdCompression() -> bool; function LLVMRustGetSymbols (line 2531) | pub(crate) fn LLVMRustGetSymbols( function LLVMRustIs64BitSymbolicFile (line 2539) | pub(crate) fn LLVMRustIs64BitSymbolicFile(buf_ptr: *const u8, buf_len: u... function LLVMRustIsECObject (line 2541) | pub(crate) fn LLVMRustIsECObject(buf_ptr: *const u8, buf_len: usize) -> ... function LLVMRustIsAnyArm64Coff (line 2543) | pub(crate) fn LLVMRustIsAnyArm64Coff(buf_ptr: *const u8, buf_len: usize)... function LLVMRustSetNoSanitizeAddress (line 2545) | pub(crate) fn LLVMRustSetNoSanitizeAddress(Global: &Value); function LLVMRustSetNoSanitizeHWAddress (line 2546) | pub(crate) fn LLVMRustSetNoSanitizeHWAddress(Global: &Value); function LLVMAddAlias2 (line 2548) | pub(crate) fn LLVMAddAlias2<'ll>( FILE: compiler/rustc_codegen_llvm/src/llvm/metadata_kind.rs type MetadataKindId (line 7) | pub(crate) struct MetadataKindId(c_uint); FILE: compiler/rustc_codegen_llvm/src/llvm/mod.rs method into_result (line 28) | pub(crate) fn into_result(self) -> Result<(), ()> { function AddFunctionAttributes (line 36) | pub(crate) fn AddFunctionAttributes<'ll>( function HasStringAttribute (line 46) | pub(crate) fn HasStringAttribute<'ll>(llfn: &'ll Value, name: &str) -> b... function RemoveStringAttrFromFn (line 50) | pub(crate) fn RemoveStringAttrFromFn<'ll>(llfn: &'ll Value, name: &str) { function AddCallSiteAttributes (line 54) | pub(crate) fn AddCallSiteAttributes<'ll>( function CreateAttrStringValue (line 64) | pub(crate) fn CreateAttrStringValue<'ll>( function CreateAttrString (line 80) | pub(crate) fn CreateAttrString<'ll>(llcx: &'ll Context, attr: &str) -> &... function CreateAlignmentAttr (line 92) | pub(crate) fn CreateAlignmentAttr(llcx: &Context, bytes: u64) -> &Attrib... function CreateDereferenceableAttr (line 96) | pub(crate) fn CreateDereferenceableAttr(llcx: &Context, bytes: u64) -> &... function CreateDereferenceableOrNullAttr (line 100) | pub(crate) fn CreateDereferenceableOrNullAttr(llcx: &Context, bytes: u64... function CreateByValAttr (line 104) | pub(crate) fn CreateByValAttr<'ll>(llcx: &'ll Context, ty: &'ll Type) ->... function CreateStructRetAttr (line 108) | pub(crate) fn CreateStructRetAttr<'ll>(llcx: &'ll Context, ty: &'ll Type... function CreateUWTableAttr (line 112) | pub(crate) fn CreateUWTableAttr(llcx: &Context, async_: bool) -> &Attrib... function CreateAllocSizeAttr (line 116) | pub(crate) fn CreateAllocSizeAttr(llcx: &Context, size_arg: u32) -> &Att... function CreateAllocKindAttr (line 120) | pub(crate) fn CreateAllocKindAttr(llcx: &Context, kind_arg: AllocKindFla... function CreateRangeAttr (line 124) | pub(crate) fn CreateRangeAttr(llcx: &Context, size: Size, range: Wrappin... type AttributePlace (line 150) | pub(crate) enum AttributePlace { method as_uint (line 157) | pub(crate) fn as_uint(self) -> c_uint { type CodeGenOptSize (line 168) | pub(crate) enum CodeGenOptSize { function SetInstructionCallConv (line 174) | pub(crate) fn SetInstructionCallConv(instr: &Value, cc: CallConv) { function SetFunctionCallConv (line 179) | pub(crate) fn SetFunctionCallConv(fn_: &Value, cc: CallConv) { function SetUniqueComdat (line 191) | pub(crate) fn SetUniqueComdat(llmod: &Module, val: &Value) { function set_unnamed_address (line 198) | pub(crate) fn set_unnamed_address(global: &Value, unnamed: UnnamedAddr) { function set_thread_local_mode (line 202) | pub(crate) fn set_thread_local_mode(global: &Value, mode: ThreadLocalMod... method create_attr (line 210) | pub(crate) fn create_attr(self, llcx: &Context) -> &Attribute { method create_attr (line 217) | pub(crate) fn create_attr(self, llcx: &Context) -> &Attribute { function set_section (line 222) | pub(crate) fn set_section(llglobal: &Value, section_name: &CStr) { function add_global (line 228) | pub(crate) fn add_global<'a>(llmod: &'a Module, ty: &'a Type, name_cstr:... function set_initializer (line 232) | pub(crate) fn set_initializer(llglobal: &Value, constant_val: &Value) { function set_global_constant (line 238) | pub(crate) fn set_global_constant(llglobal: &Value, is_constant: bool) { function get_linkage (line 242) | pub(crate) fn get_linkage(llglobal: &Value) -> Linkage { function set_linkage (line 246) | pub(crate) fn set_linkage(llglobal: &Value, linkage: Linkage) { function is_declaration (line 252) | pub(crate) fn is_declaration(llglobal: &Value) -> bool { function get_visibility (line 256) | pub(crate) fn get_visibility(llglobal: &Value) -> Visibility { function set_visibility (line 260) | pub(crate) fn set_visibility(llglobal: &Value, visibility: Visibility) { function set_alignment (line 266) | pub(crate) fn set_alignment(llglobal: &Value, align: Align) { function set_externally_initialized (line 272) | pub(crate) fn set_externally_initialized(llglobal: &Value, is_ext_init: ... function set_comdat (line 280) | pub(crate) fn set_comdat(llmod: &Module, llglobal: &Value, name: &CStr) { function count_params (line 287) | pub(crate) fn count_params(llfn: &Value) -> c_uint { function get_param (line 292) | pub(crate) fn get_param(llfn: &Value, index: c_uint) -> &Value { function get_value_name (line 307) | pub(crate) fn get_value_name(value: &Value) -> Vec { type Intrinsic (line 316) | pub(crate) struct Intrinsic { method lookup (line 321) | pub(crate) fn lookup(name: &[u8]) -> Option { method get_declaration (line 326) | pub(crate) fn get_declaration<'ll>( function set_value_name (line 338) | pub(crate) fn set_value_name(value: &Value, name: &[u8]) { function build_string (line 345) | pub(crate) fn build_string(f: impl FnOnce(&RustString)) -> Result Vec { function twine_to_string (line 353) | pub(crate) fn twine_to_string(tr: &Twine) -> String { function last_error (line 359) | pub(crate) fn last_error() -> Option { type OperandBundleBox (line 375) | pub(crate) struct OperandBundleBox<'a> { function new (line 380) | pub(crate) fn new(name: &str, vals: &[&'a Value]) -> Self { function as_ref (line 396) | pub(crate) fn as_ref(&self) -> &OperandBundle<'a> { method drop (line 404) | fn drop(&mut self) { function add_module_flag_u32 (line 411) | pub(crate) fn add_module_flag_u32( function add_module_flag_str (line 422) | pub(crate) fn add_module_flag_str( function set_dllimport_storage_class (line 440) | pub(crate) fn set_dllimport_storage_class<'ll>(v: &'ll Value) { function set_dso_local (line 446) | pub(crate) fn set_dso_local<'ll>(v: &'ll Value) { function append_module_inline_asm (line 454) | pub(crate) fn append_module_inline_asm<'ll>(llmod: &'ll Module, asm: &[u... function add_alias (line 461) | pub(crate) fn add_alias<'ll>( FILE: compiler/rustc_codegen_llvm/src/llvm_util.rs function init (line 28) | pub(crate) fn init(sess: &Session) { function require_inited (line 40) | fn require_inited() { function configure_llvm (line 46) | unsafe fn configure_llvm(sess: &Session) { function time_trace_profiler_finish (line 153) | pub(crate) fn time_trace_profiler_finish(file_name: &Path) { type TargetFeatureFoldStrength (line 160) | enum TargetFeatureFoldStrength<'a> { function as_str (line 169) | fn as_str(&self) -> &'a str { type LLVMFeature (line 177) | pub(crate) struct LLVMFeature<'a> { function new (line 183) | fn new(llvm_feature_name: &'a str) -> Self { function with_dependencies (line 187) | fn with_dependencies( type Item (line 196) | type Item = &'a str; type IntoIter (line 197) | type IntoIter = impl Iterator; method into_iter (line 199) | fn into_iter(self) -> Self::IntoIter { function to_llvm_features (line 221) | pub(crate) fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> Option... function target_config (line 318) | pub(crate) fn target_config(sess: &Session) -> TargetConfig { function update_target_reliable_float_cfg (line 364) | fn update_target_reliable_float_cfg(sess: &Session, cfg: &mut TargetConf... function print_version (line 435) | pub(crate) fn print_version() { function get_version (line 440) | pub(crate) fn get_version() -> (u32, u32, u32) { function print_passes (line 447) | pub(crate) fn print_passes() { function llvm_target_features (line 454) | fn llvm_target_features(tm: &llvm::TargetMachine) -> Vec<(&str, &str)> { function print (line 477) | pub(crate) fn print(req: &PrintRequest, out: &mut String, sess: &Session) { function print_target_cpus (line 487) | fn print_target_cpus(sess: &Session, tm: &llvm::TargetMachine, out: &mut... function print_target_features (line 535) | fn print_target_features(sess: &Session, tm: &llvm::TargetMachine, out: ... function get_host_cpu_name (line 600) | fn get_host_cpu_name() -> &'static str { function handle_native (line 614) | fn handle_native(cpu_name: &str) -> &str { function target_cpu (line 621) | pub(crate) fn target_cpu(sess: &Session) -> &str { function llvm_features_by_flags (line 627) | fn llvm_features_by_flags(sess: &Session, features: &mut Vec) { function global_llvm_features (line 646) | pub(crate) fn global_llvm_features(sess: &Session, only_base_features: b... function tune_cpu (line 736) | pub(crate) fn tune_cpu(sess: &Session) -> Option<&str> { FILE: compiler/rustc_codegen_llvm/src/macros.rs type Error (line 12) | type Error = u32; function try_from (line 14) | fn try_from(value: u32) -> ::core::result::Result<$Type, Self::Error> { FILE: compiler/rustc_codegen_llvm/src/mono_item.rs function predefine_static (line 27) | fn predefine_static( function predefine_fn (line 59) | fn predefine_fn( function predefine_without_aliases (line 79) | fn predefine_without_aliases( function add_static_aliases (line 134) | fn add_static_aliases(&self, aliasee: &llvm::Value, aliases: &[(DefId, L... function add_function_aliases (line 155) | fn add_function_aliases( function assume_dso_local (line 212) | pub(crate) fn assume_dso_local(&self, llval: &llvm::Value, is_declaratio... function set_visibility (line 220) | fn set_visibility(&self, lldecl: &llvm::Value, linkage: Linkage, visibil... function should_assume_dso_local (line 232) | fn should_assume_dso_local(&self, llval: &llvm::Value, is_declaration: b... FILE: compiler/rustc_codegen_llvm/src/type_.rs method eq (line 22) | fn eq(&self, other: &Self) -> bool { method hash (line 30) | fn hash(&self, state: &mut H) { method fmt (line 36) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function type_named_struct (line 48) | pub(crate) fn type_named_struct(&self, name: &str) -> &'ll Type { function set_struct_body (line 53) | pub(crate) fn set_struct_body(&self, ty: &'ll Type, els: &[&'ll Type], p... function type_void (line 58) | pub(crate) fn type_void(&self) -> &'ll Type { function type_ix (line 63) | pub(crate) fn type_ix(&self, num_bits: u64) -> &'ll Type { function type_vector (line 67) | pub(crate) fn type_vector(&self, ty: &'ll Type, len: u64) -> &'ll Type { function type_scalable_vector (line 71) | pub(crate) fn type_scalable_vector(&self, ty: &'ll Type, count: u64) -> ... function add_func (line 75) | pub(crate) fn add_func(&self, name: &str, ty: &'ll Type) -> &'ll Value { function func_params_types (line 80) | pub(crate) fn func_params_types(&self, ty: &'ll Type) -> Vec<&'ll Type> { function type_bool (line 91) | pub(crate) fn type_bool(&self) -> &'ll Type { function type_int_from_ty (line 95) | pub(crate) fn type_int_from_ty(&self, t: ty::IntTy) -> &'ll Type { function type_uint_from_ty (line 106) | pub(crate) fn type_uint_from_ty(&self, t: ty::UintTy) -> &'ll Type { function type_float_from_ty (line 117) | pub(crate) fn type_float_from_ty(&self, t: ty::FloatTy) -> &'ll Type { function type_padding_filler (line 128) | pub(crate) fn type_padding_filler(&self, size: Size, align: Align) -> &'... function llcx (line 138) | pub(crate) fn llcx(&self) -> &'ll llvm::Context { function llmod (line 142) | pub(crate) fn llmod(&self) -> &'ll llvm::Module { function isize_ty (line 146) | pub(crate) fn isize_ty(&self) -> &'ll Type { function type_variadic_func (line 150) | pub(crate) fn type_variadic_func(&self, args: &[&'ll Type], ret: &'ll Ty... function type_i1 (line 154) | pub(crate) fn type_i1(&self) -> &'ll Type { function type_struct (line 158) | pub(crate) fn type_struct(&self, els: &[&'ll Type], packed: bool) -> &'l... method type_i8 (line 171) | fn type_i8(&self) -> &'ll Type { method type_i16 (line 175) | fn type_i16(&self) -> &'ll Type { method type_i32 (line 179) | fn type_i32(&self) -> &'ll Type { method type_i64 (line 183) | fn type_i64(&self) -> &'ll Type { method type_i128 (line 187) | fn type_i128(&self) -> &'ll Type { method type_isize (line 191) | fn type_isize(&self) -> &'ll Type { method type_f16 (line 195) | fn type_f16(&self) -> &'ll Type { method type_f32 (line 199) | fn type_f32(&self) -> &'ll Type { method type_f64 (line 203) | fn type_f64(&self) -> &'ll Type { method type_f128 (line 207) | fn type_f128(&self) -> &'ll Type { method type_func (line 211) | fn type_func(&self, args: &[&'ll Type], ret: &'ll Type) -> &'ll Type { method type_kind (line 215) | fn type_kind(&self, ty: &'ll Type) -> TypeKind { method type_ptr (line 219) | fn type_ptr(&self) -> &'ll Type { method type_ptr_ext (line 223) | fn type_ptr_ext(&self, address_space: AddressSpace) -> &'ll Type { method element_type (line 227) | fn element_type(&self, ty: &'ll Type) -> &'ll Type { method vector_length (line 235) | fn vector_length(&self, ty: &'ll Type) -> usize { method float_width (line 239) | fn float_width(&self, ty: &'ll Type) -> usize { method int_width (line 250) | fn int_width(&self, ty: &'ll Type) -> u64 { method val_ty (line 254) | fn val_ty(&self, v: &'ll Value) -> &'ll Type { method type_array (line 258) | fn type_array(&self, ty: &'ll Type, len: u64) -> &'ll Type { function llvm_type_ptr (line 263) | pub(crate) fn llvm_type_ptr(llcx: &llvm::Context) -> &Type { function llvm_type_ptr_in_address_space (line 267) | pub(crate) fn llvm_type_ptr_in_address_space<'ll>( function backend_type (line 275) | fn backend_type(&self, layout: TyAndLayout<'tcx>) -> &'ll Type { function immediate_backend_type (line 278) | fn immediate_backend_type(&self, layout: TyAndLayout<'tcx>) -> &'ll Type { function is_backend_immediate (line 281) | fn is_backend_immediate(&self, layout: TyAndLayout<'tcx>) -> bool { function is_backend_scalar_pair (line 284) | fn is_backend_scalar_pair(&self, layout: TyAndLayout<'tcx>) -> bool { function scalar_pair_element_backend_type (line 287) | fn scalar_pair_element_backend_type( function cast_backend_type (line 295) | fn cast_backend_type(&self, ty: &CastTarget) -> &'ll Type { function fn_decl_backend_type (line 298) | fn fn_decl_backend_type(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> &'ll T... function fn_ptr_backend_type (line 301) | fn fn_ptr_backend_type(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> &'ll Ty... function reg_backend_type (line 304) | fn reg_backend_type(&self, ty: &Reg) -> &'ll Type { function add_type_metadata (line 310) | fn add_type_metadata(&self, function: &'ll Value, typeid: &[u8]) { function set_type_metadata (line 316) | fn set_type_metadata(&self, function: &'ll Value, typeid: &[u8]) { function add_kcfi_type_metadata (line 322) | fn add_kcfi_type_metadata(&self, function: &'ll Value, kcfi_typeid: u32) { function set_kcfi_type_metadata (line 327) | fn set_kcfi_type_metadata(&self, function: &'ll Value, kcfi_typeid: u32) { FILE: compiler/rustc_codegen_llvm/src/type_of.rs function uncached_llvm_type (line 16) | fn uncached_llvm_type<'a, 'tcx>( function struct_llfields (line 93) | fn struct_llfields<'a, 'tcx>( function align_of (line 153) | pub(crate) fn align_of(&self, ty: Ty<'tcx>) -> Align { function size_of (line 157) | pub(crate) fn size_of(&self, ty: Ty<'tcx>) -> Size { function size_and_align_of (line 161) | pub(crate) fn size_and_align_of(&self, ty: Ty<'tcx>) -> (Size, Align) { function spanned_size_and_align_of (line 165) | pub(crate) fn spanned_size_and_align_of(&self, ty: Ty<'tcx>, span: Span)... type LayoutLlvmExt (line 171) | pub(crate) trait LayoutLlvmExt<'tcx> { method is_llvm_immediate (line 172) | fn is_llvm_immediate(&self) -> bool; method is_llvm_scalar_pair (line 173) | fn is_llvm_scalar_pair(&self) -> bool; method llvm_type (line 174) | fn llvm_type<'a>(&self, cx: &CodegenCx<'a, 'tcx>) -> &'a Type; method immediate_llvm_type (line 175) | fn immediate_llvm_type<'a>(&self, cx: &CodegenCx<'a, 'tcx>) -> &'a Type; method scalar_llvm_type_at (line 176) | fn scalar_llvm_type_at<'a>(&self, cx: &CodegenCx<'a, 'tcx>, scalar: Sc... method scalar_pair_element_llvm_type (line 177) | fn scalar_pair_element_llvm_type<'a>( function is_llvm_immediate (line 186) | fn is_llvm_immediate(&self) -> bool { function is_llvm_scalar_pair (line 195) | fn is_llvm_scalar_pair(&self) -> bool { function llvm_type (line 216) | fn llvm_type<'a>(&self, cx: &CodegenCx<'a, 'tcx>) -> &'a Type { function immediate_llvm_type (line 269) | fn immediate_llvm_type<'a>(&self, cx: &CodegenCx<'a, 'tcx>) -> &'a Type { function scalar_llvm_type_at (line 292) | fn scalar_llvm_type_at<'a>(&self, cx: &CodegenCx<'a, 'tcx>, scalar: Scal... function scalar_pair_element_llvm_type (line 300) | fn scalar_pair_element_llvm_type<'a>( FILE: compiler/rustc_codegen_llvm/src/typetree.rs function to_enzyme_typetree (line 8) | fn to_enzyme_typetree( function process_typetree_recursive (line 17) | fn process_typetree_recursive( function add_tt (line 55) | pub(crate) fn add_tt<'ll>( FILE: compiler/rustc_codegen_llvm/src/va_arg.rs function round_up_to_alignment (line 17) | fn round_up_to_alignment<'ll>( function round_pointer_up_to_alignment (line 26) | fn round_pointer_up_to_alignment<'ll>( function emit_direct_ptr_va_arg (line 40) | fn emit_direct_ptr_va_arg<'ll, 'tcx>( type PassMode (line 78) | enum PassMode { type SlotSize (line 83) | enum SlotSize { type AllowHigherAlign (line 89) | enum AllowHigherAlign { type ForceRightAdjust (line 94) | enum ForceRightAdjust { function emit_ptr_va_arg (line 99) | fn emit_ptr_va_arg<'ll, 'tcx>( function emit_aapcs_va_arg (line 140) | fn emit_aapcs_va_arg<'ll, 'tcx>( function emit_powerpc_va_arg (line 246) | fn emit_powerpc_va_arg<'ll, 'tcx>( function emit_s390x_va_arg (line 388) | fn emit_s390x_va_arg<'ll, 'tcx>( function emit_x86_64_sysv64_va_arg (line 476) | fn emit_x86_64_sysv64_va_arg<'ll, 'tcx>( function copy_to_temporary_if_more_aligned (line 730) | fn copy_to_temporary_if_more_aligned<'ll, 'tcx>( function x86_64_sysv64_va_arg_from_memory (line 753) | fn x86_64_sysv64_va_arg_from_memory<'ll, 'tcx>( function emit_hexagon_va_arg_musl (line 787) | fn emit_hexagon_va_arg_musl<'ll, 'tcx>( function emit_hexagon_va_arg_bare_metal (line 872) | fn emit_hexagon_va_arg_bare_metal<'ll, 'tcx>( function emit_xtensa_va_arg (line 910) | fn emit_xtensa_va_arg<'ll, 'tcx>( function emit_va_arg (line 1012) | pub(super) fn emit_va_arg<'ll, 'tcx>( FILE: compiler/rustc_codegen_llvm/src/value.rs method eq (line 7) | fn eq(&self, other: &Self) -> bool { method hash (line 15) | fn hash(&self, hasher: &mut H) { method fmt (line 21) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_codegen_ssa/src/assert_module_sources.rs function assert_module_sources (line 43) | pub fn assert_module_sources(tcx: TyCtxt<'_>, set_reuse: &dyn Fn(&mut Cg... type AssertModuleSource (line 83) | struct AssertModuleSource<'tcx> { function check_attrs (line 90) | fn check_attrs(&mut self, attrs: &[hir::Attribute]) { function check_config (line 173) | fn check_config(&self, value: Symbol) -> bool { type CguReuse (line 186) | pub enum CguReuse { method fmt (line 193) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method into_diag_arg (line 203) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... type ComparisonKind (line 209) | pub enum ComparisonKind { type TrackerData (line 214) | struct TrackerData { type CguReuseTracker (line 219) | pub struct CguReuseTracker { method new (line 224) | fn new() -> CguReuseTracker { method new_disabled (line 231) | fn new_disabled() -> CguReuseTracker { method set_actual_reuse (line 235) | pub fn set_actual_reuse(&mut self, cgu_name: &str, kind: CguReuse) { method set_expectation (line 244) | fn set_expectation( method check_expected_reuse (line 262) | fn check_expected_reuse(&self, sess: &Session) { FILE: compiler/rustc_codegen_ssa/src/back/apple.rs function sdk_name (line 19) | pub(super) fn sdk_name(target: &Target) -> &'static str { function macho_platform (line 36) | pub(super) fn macho_platform(target: &Target) -> u32 { function add_data_and_relocation (line 81) | pub(super) fn add_data_and_relocation( function add_version_to_llvm_target (line 135) | pub(super) fn add_version_to_llvm_target( function get_sdk_root (line 160) | pub(super) fn get_sdk_root(sess: &Session) -> Option { function xcrun_show_sdk_path (line 224) | fn xcrun_show_sdk_path( function xcode_select_developer_dir (line 284) | fn xcode_select_developer_dir() -> Option { function stdout_to_path (line 294) | fn stdout_to_path(mut stdout: Vec) -> PathBuf { FILE: compiler/rustc_codegen_ssa/src/back/apple/tests.rs function test_add_version_to_llvm_target (line 4) | fn test_add_version_to_llvm_target() { function lookup_developer_dir (line 17) | fn lookup_developer_dir() { function lookup_sdk (line 23) | fn lookup_sdk() { function lookup_sdk_verbose (line 40) | fn lookup_sdk_verbose() { function try_lookup_invalid_sdk (line 61) | fn try_lookup_invalid_sdk() { FILE: compiler/rustc_codegen_ssa/src/back/archive.rs type ImportLibraryItem (line 34) | pub struct ImportLibraryItem { method into_coff_short_export (line 46) | fn into_coff_short_export(self, sess: &Session) -> COFFShortExport { type ArchiveBuilderBuilder (line 63) | pub trait ArchiveBuilderBuilder { method new_archive_builder (line 64) | fn new_archive_builder<'a>(&self, sess: &'a Session) -> Box( method new_archive_builder (line 326) | fn new_archive_builder<'a>(&self, sess: &'a Session) -> Box OsString { type ArchiveBuilder (line 311) | pub trait ArchiveBuilder { method add_file (line 312) | fn add_file(&mut self, path: &Path); method add_archive (line 314) | fn add_archive( method build (line 320) | fn build(self: Box, output: &Path) -> bool; method add_archive (line 402) | fn add_archive( method add_file (line 445) | fn add_file(&mut self, file: &Path) { method build (line 454) | fn build(self: Box, output: &Path) -> bool { type ArArchiveBuilderBuilder (line 323) | pub struct ArArchiveBuilderBuilder; type ArArchiveBuilder (line 332) | pub struct ArArchiveBuilder<'a> { type ArchiveEntry (line 343) | enum ArchiveEntry { function new (line 349) | pub fn new(sess: &'a Session, object_reader: &'static ObjectReader) -> A... function try_filter_fat_archs (line 354) | fn try_filter_fat_archs( function try_extract_macho_fat_archive (line 378) | pub fn try_extract_macho_fat_archive( function build_inner (line 466) | fn build_inner(self, output: &Path) -> io::Result { function io_error_context (line 557) | fn io_error_context(context: &str, err: io::Error) -> io::Error { FILE: compiler/rustc_codegen_ssa/src/back/command.rs type Command (line 11) | pub(crate) struct Command { method new (line 27) | pub(crate) fn new>(program: P) -> Command { method bat_script (line 31) | pub(crate) fn bat_script>(program: P) -> Command { method lld (line 35) | pub(crate) fn lld>(program: P, flavor: LldFlavor) -> C... method _new (line 39) | fn _new(program: Program) -> Command { method arg (line 49) | pub(crate) fn arg>(&mut self, arg: P) -> &mut Command { method args (line 54) | pub(crate) fn args(&mut self, args: I) -> &mut Command method _arg (line 64) | fn _arg(&mut self, arg: &OsStr) { method env (line 68) | pub(crate) fn env(&mut self, key: K, value: V) -> &mut Command method _env (line 77) | fn _env(&mut self, key: &OsStr, value: &OsStr) { method env_remove (line 81) | pub(crate) fn env_remove(&mut self, key: K) -> &mut Command method env_clear (line 89) | pub(crate) fn env_clear(&mut self) -> &mut Command { method _env_remove (line 94) | fn _env_remove(&mut self, key: &OsStr) { method output (line 98) | pub(crate) fn output(&mut self) -> io::Result { method command (line 102) | pub(crate) fn command(&self) -> process::Command { method get_args (line 129) | pub(crate) fn get_args(&self) -> &[OsString] { method take_args (line 133) | pub(crate) fn take_args(&mut self) -> Vec { method very_likely_to_exceed_some_spawn_limit (line 139) | pub(crate) fn very_likely_to_exceed_some_spawn_limit(&self) -> bool { method fmt (line 210) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Program (line 20) | enum Program { FILE: compiler/rustc_codegen_ssa/src/back/link.rs function ensure_removed (line 68) | pub fn ensure_removed(dcx: DiagCtxtHandle<'_>, path: &Path) { function link_binary (line 78) | pub fn link_binary( function each_linked_rlib (line 249) | pub fn each_linked_rlib( function link_rlib (line 299) | fn link_rlib<'a>( function link_staticlib (line 459) | fn link_staticlib( function link_dwarf_object (line 564) | fn link_dwarf_object( type LinkerOutput (line 673) | struct LinkerOutput { function is_msvc_link_exe (line 677) | fn is_msvc_link_exe(sess: &Session) -> bool { function is_macos_ld (line 685) | fn is_macos_ld(sess: &Session) -> bool { function is_windows_gnu_ld (line 690) | fn is_windows_gnu_ld(sess: &Session) -> bool { function report_linker_output (line 697) | fn report_linker_output(sess: &Session, levels: CodegenLintLevels, stdou... function link_natively (line 822) | fn link_natively( function strip_with_external_utility (line 1189) | fn strip_with_external_utility(sess: &Session, util: &str, out_filename:... function escape_string (line 1216) | fn escape_string(s: &[u8]) -> String { function escape_linker_output (line 1224) | fn escape_linker_output(s: &[u8], _flavour: LinkerFlavor) -> String { function escape_linker_output (line 1231) | fn escape_linker_output(s: &[u8], flavour: LinkerFlavor) -> String { function oem_code_page (line 1256) | pub(super) fn oem_code_page() -> u32 { function locale_byte_str_to_string (line 1279) | pub(super) fn locale_byte_str_to_string(s: &[u8], code_page: u32) -> Opt... function add_sanitizer_libraries (line 1300) | fn add_sanitizer_libraries( function link_sanitizer_runtime (line 1364) | fn link_sanitizer_runtime( function ignored_for_lto (line 1416) | pub fn ignored_for_lto(sess: &Session, info: &CrateInfo, cnum: CrateNum)... function linker_and_flavor (line 1425) | pub fn linker_and_flavor(sess: &Session) -> (PathBuf, LinkerFlavor) { function preserve_objects_for_their_debuginfo (line 1537) | fn preserve_objects_for_their_debuginfo(sess: &Session) -> (bool, bool) { type RlibFlavor (line 1561) | enum RlibFlavor { function print_native_static_libs (line 1566) | fn print_native_static_libs( function get_object_file_path (line 1660) | fn get_object_file_path(sess: &Session, name: &str, self_contained: bool... function exec_linker (line 1681) | fn exec_linker( function link_output_kind (line 1840) | fn link_output_kind(sess: &Session, crate_type: CrateType) -> LinkOutput... function detect_self_contained_mingw (line 1869) | fn detect_self_contained_mingw(sess: &Session, linker: &Path) -> bool { function self_contained_components (line 1888) | fn self_contained_components( function add_pre_link_objects (line 1933) | fn add_pre_link_objects( function add_post_link_objects (line 1957) | fn add_post_link_objects( function add_pre_link_args (line 1975) | fn add_pre_link_args(cmd: &mut dyn Linker, sess: &Session, flavor: Linke... function add_link_script (line 1984) | fn add_link_script(cmd: &mut dyn Linker, sess: &Session, tmpdir: &Path, ... function add_user_defined_link_args (line 2006) | fn add_user_defined_link_args(cmd: &mut dyn Linker, sess: &Session) { function add_late_link_args (line 2012) | fn add_late_link_args( function add_post_link_args (line 2038) | fn add_post_link_args(cmd: &mut dyn Linker, sess: &Session, flavor: Link... function add_linked_symbol_object (line 2073) | fn add_linked_symbol_object( function add_local_crate_regular_objects (line 2183) | fn add_local_crate_regular_objects(cmd: &mut dyn Linker, compiled_module... function add_local_crate_allocator_objects (line 2190) | fn add_local_crate_allocator_objects( function add_local_crate_metadata_objects (line 2206) | fn add_local_crate_metadata_objects( function add_library_search_dirs (line 2231) | fn add_library_search_dirs( function add_relro_args (line 2254) | fn add_relro_args(cmd: &mut dyn Linker, sess: &Session) { function add_rpath_args (line 2264) | fn add_rpath_args( function add_c_staticlib_symbols (line 2293) | fn add_c_staticlib_symbols( function linker_with_args (line 2366) | fn linker_with_args( function add_order_independent_options (line 2648) | fn add_order_independent_options( function collect_natvis_visualizers (line 2787) | fn collect_natvis_visualizers( function add_native_libs_from_crate (line 2813) | fn add_native_libs_from_crate( function add_local_native_libraries (line 2914) | fn add_local_native_libraries( function add_upstream_rust_crates (line 2939) | fn add_upstream_rust_crates( function add_upstream_native_libraries (line 3032) | fn add_upstream_native_libraries( function rehome_sysroot_lib_dir (line 3079) | fn rehome_sysroot_lib_dir(sess: &Session, lib_dir: &Path) -> PathBuf { function rehome_lib_path (line 3093) | fn rehome_lib_path(sess: &Session, path: &Path) -> PathBuf { function add_static_crate (line 3120) | fn add_static_crate( function add_dynamic_crate (line 3195) | fn add_dynamic_crate(cmd: &mut dyn Linker, sess: &Session, cratepath: &P... function relevant_lib (line 3199) | fn relevant_lib(sess: &Session, lib: &NativeLib) -> bool { function are_upstream_rust_objects_already_included (line 3206) | pub(crate) fn are_upstream_rust_objects_already_included(sess: &Session)... function add_apple_link_args (line 3224) | fn add_apple_link_args(cmd: &mut dyn Linker, sess: &Session, flavor: Lin... function add_apple_sdk (line 3380) | fn add_apple_sdk(cmd: &mut dyn Linker, sess: &Session, flavor: LinkerFla... function get_apple_sdk_root (line 3437) | fn get_apple_sdk_root(sess: &Session) -> Option { function add_lld_args (line 3493) | fn add_lld_args( function warn_if_linked_with_gold (line 3579) | fn warn_if_linked_with_gold(sess: &Session, path: &Path) -> Result<(), B... FILE: compiler/rustc_codegen_ssa/src/back/link/raw_dylib.rs function collate_raw_dylibs_windows (line 27) | fn collate_raw_dylibs_windows<'a>( function create_raw_dylib_dll_import_libs (line 63) | pub(super) fn create_raw_dylib_dll_import_libs<'a>( function collate_raw_dylibs_elf (line 129) | fn collate_raw_dylibs_elf<'a>( function create_raw_dylib_elf_stub_shared_objects (line 163) | pub(super) fn create_raw_dylib_elf_stub_shared_objects<'a>( function create_elf_raw_dylib_stub (line 218) | fn create_elf_raw_dylib_stub(sess: &Session, soname: &str, symbols: &[Dl... FILE: compiler/rustc_codegen_ssa/src/back/linker.rs function disable_localization (line 38) | pub(crate) fn disable_localization(linker: &mut Command) { function get_linker (line 49) | pub(crate) fn get_linker<'a>( function verbatim_args (line 177) | fn verbatim_args( function convert_link_args_to_cc_args (line 188) | fn convert_link_args_to_cc_args(cmd: &mut Command, args: impl IntoIterat... function link_args (line 217) | fn link_args(l: &mut L, args: impl IntoIterator(l: &mut L, args: impl IntoIterator( type Linker (line 298) | pub(crate) trait Linker { method cmd (line 299) | fn cmd(&mut self) -> &mut Command; method is_cc (line 300) | fn is_cc(&self) -> bool { method set_output_kind (line 303) | fn set_output_kind( method link_dylib_by_name (line 309) | fn link_dylib_by_name(&mut self, _name: &str, _verbatim: bool, _as_nee... method link_dylib_by_path (line 312) | fn link_dylib_by_path(&mut self, _path: &Path, _as_needed: bool) { method link_framework_by_name (line 315) | fn link_framework_by_name(&mut self, _name: &str, _verbatim: bool, _as... method link_staticlib_by_name (line 318) | fn link_staticlib_by_name(&mut self, name: &str, verbatim: bool, whole... method link_staticlib_by_path (line 319) | fn link_staticlib_by_path(&mut self, path: &Path, whole_archive: bool); method include_path (line 320) | fn include_path(&mut self, path: &Path) { method framework_path (line 323) | fn framework_path(&mut self, _path: &Path) { method output_filename (line 326) | fn output_filename(&mut self, path: &Path) { method add_object (line 329) | fn add_object(&mut self, path: &Path) { method gc_sections (line 332) | fn gc_sections(&mut self, keep_metadata: bool); method full_relro (line 333) | fn full_relro(&mut self); method partial_relro (line 334) | fn partial_relro(&mut self); method no_relro (line 335) | fn no_relro(&mut self); method optimize (line 336) | fn optimize(&mut self); method pgo_gen (line 337) | fn pgo_gen(&mut self); method control_flow_guard (line 338) | fn control_flow_guard(&mut self); method ehcont_guard (line 339) | fn ehcont_guard(&mut self); method debuginfo (line 340) | fn debuginfo(&mut self, strip: Strip, natvis_debugger_visualizers: &[P... method no_crt_objects (line 341) | fn no_crt_objects(&mut self); method no_default_libraries (line 342) | fn no_default_libraries(&mut self); method export_symbols (line 343) | fn export_symbols( method windows_subsystem (line 349) | fn windows_subsystem(&mut self, subsystem: WindowsSubsystemKind); method linker_plugin_lto (line 350) | fn linker_plugin_lto(&mut self); method add_eh_frame_header (line 351) | fn add_eh_frame_header(&mut self) {} method add_no_exec (line 352) | fn add_no_exec(&mut self) {} method add_as_needed (line 353) | fn add_as_needed(&mut self) {} method reset_per_library_state (line 354) | fn reset_per_library_state(&mut self) {} method enable_profiling (line 355) | fn enable_profiling(&mut self) {} method cmd (line 515) | fn cmd(&mut self) -> &mut Command { method is_cc (line 519) | fn is_cc(&self) -> bool { method set_output_kind (line 523) | fn set_output_kind( method link_dylib_by_name (line 600) | fn link_dylib_by_name(&mut self, name: &str, verbatim: bool, as_needed... method link_dylib_by_path (line 616) | fn link_dylib_by_path(&mut self, path: &Path, as_needed: bool) { method link_framework_by_name (line 623) | fn link_framework_by_name(&mut self, name: &str, _verbatim: bool, as_n... method link_staticlib_by_name (line 634) | fn link_staticlib_by_name(&mut self, name: &str, verbatim: bool, whole... method link_staticlib_by_path (line 651) | fn link_staticlib_by_path(&mut self, path: &Path, whole_archive: bool) { method framework_path (line 662) | fn framework_path(&mut self, path: &Path) { method full_relro (line 665) | fn full_relro(&mut self) { method partial_relro (line 668) | fn partial_relro(&mut self) { method no_relro (line 671) | fn no_relro(&mut self) { method gc_sections (line 675) | fn gc_sections(&mut self, keep_metadata: bool) { method optimize (line 703) | fn optimize(&mut self) { method pgo_gen (line 717) | fn pgo_gen(&mut self) { method enable_profiling (line 736) | fn enable_profiling(&mut self) { method control_flow_guard (line 749) | fn control_flow_guard(&mut self) {} method ehcont_guard (line 751) | fn ehcont_guard(&mut self) {} method debuginfo (line 753) | fn debuginfo(&mut self, strip: Strip, _: &[PathBuf]) { method no_crt_objects (line 785) | fn no_crt_objects(&mut self) { method no_default_libraries (line 791) | fn no_default_libraries(&mut self) { method export_symbols (line 797) | fn export_symbols( method windows_subsystem (line 903) | fn windows_subsystem(&mut self, subsystem: WindowsSubsystemKind) { method reset_per_library_state (line 907) | fn reset_per_library_state(&mut self) { method linker_plugin_lto (line 911) | fn linker_plugin_lto(&mut self) { method add_eh_frame_header (line 928) | fn add_eh_frame_header(&mut self) { method add_no_exec (line 932) | fn add_no_exec(&mut self) { method add_as_needed (line 940) | fn add_as_needed(&mut self) { method cmd (line 956) | fn cmd(&mut self) -> &mut Command { method set_output_kind (line 960) | fn set_output_kind( method link_dylib_by_name (line 983) | fn link_dylib_by_name(&mut self, name: &str, verbatim: bool, _as_neede... method link_dylib_by_path (line 993) | fn link_dylib_by_path(&mut self, path: &Path, _as_needed: bool) { method link_staticlib_by_name (line 1002) | fn link_staticlib_by_name(&mut self, name: &str, verbatim: bool, whole... method link_staticlib_by_path (line 1014) | fn link_staticlib_by_path(&mut self, path: &Path, whole_archive: bool) { method gc_sections (line 1024) | fn gc_sections(&mut self, _keep_metadata: bool) { method full_relro (line 1037) | fn full_relro(&mut self) { method partial_relro (line 1041) | fn partial_relro(&mut self) { method no_relro (line 1045) | fn no_relro(&mut self) { method no_crt_objects (line 1049) | fn no_crt_objects(&mut self) { method no_default_libraries (line 1053) | fn no_default_libraries(&mut self) { method include_path (line 1057) | fn include_path(&mut self, path: &Path) { method output_filename (line 1063) | fn output_filename(&mut self, path: &Path) { method optimize (line 1069) | fn optimize(&mut self) { method pgo_gen (line 1073) | fn pgo_gen(&mut self) { method control_flow_guard (line 1077) | fn control_flow_guard(&mut self) { method ehcont_guard (line 1081) | fn ehcont_guard(&mut self) { method debuginfo (line 1087) | fn debuginfo(&mut self, _strip: Strip, natvis_debugger_visualizers: &[... method export_symbols (line 1141) | fn export_symbols( method windows_subsystem (line 1178) | fn windows_subsystem(&mut self, subsystem: WindowsSubsystemKind) { method linker_plugin_lto (line 1201) | fn linker_plugin_lto(&mut self) { method add_no_exec (line 1205) | fn add_no_exec(&mut self) { method cmd (line 1216) | fn cmd(&mut self) -> &mut Command { method is_cc (line 1220) | fn is_cc(&self) -> bool { method set_output_kind (line 1224) | fn set_output_kind( method link_dylib_by_name (line 1245) | fn link_dylib_by_name(&mut self, name: &str, _verbatim: bool, _as_need... method link_dylib_by_path (line 1250) | fn link_dylib_by_path(&mut self, path: &Path, _as_needed: bool) { method link_staticlib_by_name (line 1254) | fn link_staticlib_by_name(&mut self, name: &str, _verbatim: bool, _who... method link_staticlib_by_path (line 1258) | fn link_staticlib_by_path(&mut self, path: &Path, _whole_archive: bool) { method full_relro (line 1262) | fn full_relro(&mut self) { method partial_relro (line 1266) | fn partial_relro(&mut self) { method no_relro (line 1270) | fn no_relro(&mut self) { method gc_sections (line 1274) | fn gc_sections(&mut self, _keep_metadata: bool) { method optimize (line 1278) | fn optimize(&mut self) { method pgo_gen (line 1290) | fn pgo_gen(&mut self) { method control_flow_guard (line 1294) | fn control_flow_guard(&mut self) {} method ehcont_guard (line 1296) | fn ehcont_guard(&mut self) {} method debuginfo (line 1298) | fn debuginfo(&mut self, _strip: Strip, _: &[PathBuf]) { method no_crt_objects (line 1310) | fn no_crt_objects(&mut self) {} method no_default_libraries (line 1312) | fn no_default_libraries(&mut self) { method export_symbols (line 1316) | fn export_symbols( method windows_subsystem (line 1338) | fn windows_subsystem(&mut self, _subsystem: WindowsSubsystemKind) { method linker_plugin_lto (line 1342) | fn linker_plugin_lto(&mut self) { method cmd (line 1359) | fn cmd(&mut self) -> &mut Command { method set_output_kind (line 1363) | fn set_output_kind( method link_dylib_by_name (line 1383) | fn link_dylib_by_name(&mut self, name: &str, _verbatim: bool, _as_need... method link_dylib_by_path (line 1387) | fn link_dylib_by_path(&mut self, path: &Path, _as_needed: bool) { method link_staticlib_by_name (line 1391) | fn link_staticlib_by_name(&mut self, name: &str, _verbatim: bool, whol... method link_staticlib_by_path (line 1401) | fn link_staticlib_by_path(&mut self, path: &Path, whole_archive: bool) { method full_relro (line 1409) | fn full_relro(&mut self) {} method partial_relro (line 1411) | fn partial_relro(&mut self) {} method no_relro (line 1413) | fn no_relro(&mut self) {} method gc_sections (line 1415) | fn gc_sections(&mut self, _keep_metadata: bool) { method optimize (line 1419) | fn optimize(&mut self) { method pgo_gen (line 1434) | fn pgo_gen(&mut self) {} method debuginfo (line 1436) | fn debuginfo(&mut self, strip: Strip, _: &[PathBuf]) { method control_flow_guard (line 1448) | fn control_flow_guard(&mut self) {} method ehcont_guard (line 1450) | fn ehcont_guard(&mut self) {} method no_crt_objects (line 1452) | fn no_crt_objects(&mut self) {} method no_default_libraries (line 1454) | fn no_default_libraries(&mut self) {} method export_symbols (line 1456) | fn export_symbols( method windows_subsystem (line 1475) | fn windows_subsystem(&mut self, _subsystem: WindowsSubsystemKind) {} method linker_plugin_lto (line 1477) | fn linker_plugin_lto(&mut self) { method cmd (line 1514) | fn cmd(&mut self) -> &mut Command { method set_output_kind (line 1518) | fn set_output_kind( method link_staticlib_by_name (line 1526) | fn link_staticlib_by_name(&mut self, name: &str, _verbatim: bool, whol... method link_staticlib_by_path (line 1537) | fn link_staticlib_by_path(&mut self, path: &Path, whole_archive: bool) { method full_relro (line 1546) | fn full_relro(&mut self) { method partial_relro (line 1550) | fn partial_relro(&mut self) { method no_relro (line 1554) | fn no_relro(&mut self) { method gc_sections (line 1558) | fn gc_sections(&mut self, keep_metadata: bool) { method optimize (line 1564) | fn optimize(&mut self) { method pgo_gen (line 1574) | fn pgo_gen(&mut self) {} method debuginfo (line 1576) | fn debuginfo(&mut self, strip: Strip, _: &[PathBuf]) { method no_default_libraries (line 1588) | fn no_default_libraries(&mut self) { method export_symbols (line 1592) | fn export_symbols(&mut self, _: &Path, _: CrateType, _: &[(String, Sym... method windows_subsystem (line 1597) | fn windows_subsystem(&mut self, subsystem: WindowsSubsystemKind) { method reset_per_library_state (line 1602) | fn reset_per_library_state(&mut self) { method linker_plugin_lto (line 1606) | fn linker_plugin_lto(&mut self) {} method control_flow_guard (line 1608) | fn control_flow_guard(&mut self) {} method ehcont_guard (line 1610) | fn ehcont_guard(&mut self) {} method no_crt_objects (line 1612) | fn no_crt_objects(&mut self) {} method cmd (line 1663) | fn cmd(&mut self) -> &mut Command { method set_output_kind (line 1667) | fn set_output_kind( method link_dylib_by_name (line 1686) | fn link_dylib_by_name(&mut self, name: &str, verbatim: bool, _as_neede... method link_dylib_by_path (line 1691) | fn link_dylib_by_path(&mut self, path: &Path, _as_needed: bool) { method link_staticlib_by_name (line 1696) | fn link_staticlib_by_name(&mut self, name: &str, verbatim: bool, whole... method link_staticlib_by_path (line 1707) | fn link_staticlib_by_path(&mut self, path: &Path, whole_archive: bool) { method full_relro (line 1718) | fn full_relro(&mut self) {} method partial_relro (line 1720) | fn partial_relro(&mut self) {} method no_relro (line 1722) | fn no_relro(&mut self) {} method gc_sections (line 1724) | fn gc_sections(&mut self, _keep_metadata: bool) { method optimize (line 1728) | fn optimize(&mut self) {} method pgo_gen (line 1730) | fn pgo_gen(&mut self) { method control_flow_guard (line 1736) | fn control_flow_guard(&mut self) {} method ehcont_guard (line 1738) | fn ehcont_guard(&mut self) {} method debuginfo (line 1740) | fn debuginfo(&mut self, _: Strip, _: &[PathBuf]) {} method no_crt_objects (line 1742) | fn no_crt_objects(&mut self) {} method no_default_libraries (line 1744) | fn no_default_libraries(&mut self) {} method export_symbols (line 1746) | fn export_symbols( method windows_subsystem (line 1767) | fn windows_subsystem(&mut self, _subsystem: WindowsSubsystemKind) {} method reset_per_library_state (line 1769) | fn reset_per_library_state(&mut self) { method linker_plugin_lto (line 1773) | fn linker_plugin_lto(&mut self) {} method add_eh_frame_header (line 1775) | fn add_eh_frame_header(&mut self) {} method add_no_exec (line 1777) | fn add_no_exec(&mut self) {} method add_as_needed (line 1779) | fn add_as_needed(&mut self) {} method cmd (line 1937) | fn cmd(&mut self) -> &mut Command { method set_output_kind (line 1941) | fn set_output_kind( method link_staticlib_by_name (line 1949) | fn link_staticlib_by_name(&mut self, _name: &str, _verbatim: bool, _wh... method link_staticlib_by_path (line 1953) | fn link_staticlib_by_path(&mut self, path: &Path, _whole_archive: bool) { method debuginfo (line 1957) | fn debuginfo(&mut self, _strip: Strip, _: &[PathBuf]) { method add_object (line 1961) | fn add_object(&mut self, path: &Path) { method optimize (line 1965) | fn optimize(&mut self) { method full_relro (line 1975) | fn full_relro(&mut self) {} method partial_relro (line 1977) | fn partial_relro(&mut self) {} method no_relro (line 1979) | fn no_relro(&mut self) {} method gc_sections (line 1981) | fn gc_sections(&mut self, _keep_metadata: bool) {} method pgo_gen (line 1983) | fn pgo_gen(&mut self) {} method no_crt_objects (line 1985) | fn no_crt_objects(&mut self) {} method no_default_libraries (line 1987) | fn no_default_libraries(&mut self) {} method control_flow_guard (line 1989) | fn control_flow_guard(&mut self) {} method ehcont_guard (line 1991) | fn ehcont_guard(&mut self) {} method export_symbols (line 1993) | fn export_symbols( method windows_subsystem (line 2001) | fn windows_subsystem(&mut self, _subsystem: WindowsSubsystemKind) {} method linker_plugin_lto (line 2003) | fn linker_plugin_lto(&mut self) {} method cmd (line 2013) | fn cmd(&mut self) -> &mut Command { method set_output_kind (line 2017) | fn set_output_kind( method link_staticlib_by_name (line 2025) | fn link_staticlib_by_name(&mut self, _name: &str, _verbatim: bool, _wh... method link_staticlib_by_path (line 2029) | fn link_staticlib_by_path(&mut self, path: &Path, _whole_archive: bool) { method debuginfo (line 2033) | fn debuginfo(&mut self, _strip: Strip, _: &[PathBuf]) { method optimize (line 2037) | fn optimize(&mut self) { method full_relro (line 2048) | fn full_relro(&mut self) {} method partial_relro (line 2050) | fn partial_relro(&mut self) {} method no_relro (line 2052) | fn no_relro(&mut self) {} method gc_sections (line 2054) | fn gc_sections(&mut self, _keep_metadata: bool) {} method pgo_gen (line 2056) | fn pgo_gen(&mut self) {} method no_crt_objects (line 2058) | fn no_crt_objects(&mut self) {} method no_default_libraries (line 2060) | fn no_default_libraries(&mut self) {} method control_flow_guard (line 2062) | fn control_flow_guard(&mut self) {} method ehcont_guard (line 2064) | fn ehcont_guard(&mut self) {} method export_symbols (line 2066) | fn export_symbols( method windows_subsystem (line 2082) | fn windows_subsystem(&mut self, _subsystem: WindowsSubsystemKind) {} method linker_plugin_lto (line 2084) | fn linker_plugin_lto(&mut self) {} method cmd (line 2093) | fn cmd(&mut self) -> &mut Command { method set_output_kind (line 2097) | fn set_output_kind( method link_staticlib_by_name (line 2105) | fn link_staticlib_by_name(&mut self, _name: &str, _verbatim: bool, _wh... method link_staticlib_by_path (line 2109) | fn link_staticlib_by_path(&mut self, path: &Path, _whole_archive: bool) { method debuginfo (line 2113) | fn debuginfo(&mut self, _strip: Strip, _: &[PathBuf]) { method optimize (line 2117) | fn optimize(&mut self) { method full_relro (line 2128) | fn full_relro(&mut self) {} method partial_relro (line 2130) | fn partial_relro(&mut self) {} method no_relro (line 2132) | fn no_relro(&mut self) {} method gc_sections (line 2134) | fn gc_sections(&mut self, _keep_metadata: bool) {} method pgo_gen (line 2136) | fn pgo_gen(&mut self) {} method no_crt_objects (line 2138) | fn no_crt_objects(&mut self) {} method no_default_libraries (line 2140) | fn no_default_libraries(&mut self) {} method control_flow_guard (line 2142) | fn control_flow_guard(&mut self) {} method ehcont_guard (line 2144) | fn ehcont_guard(&mut self) {} method export_symbols (line 2146) | fn export_symbols( method windows_subsystem (line 2166) | fn windows_subsystem(&mut self, _subsystem: WindowsSubsystemKind) {} method linker_plugin_lto (line 2168) | fn linker_plugin_lto(&mut self) {} function take_cmd (line 359) | pub(crate) fn take_cmd(&mut self) -> Command { type GccLinker (line 364) | struct GccLinker<'a> { function takes_hints (line 377) | fn takes_hints(&self) -> bool { function hint_static (line 393) | fn hint_static(&mut self) { function hint_dynamic (line 403) | fn hint_dynamic(&mut self) { function push_linker_plugin_lto_args (line 413) | fn push_linker_plugin_lto_args(&mut self, plugin_path: Option<&OsStr>) { function build_dylib (line 442) | fn build_dylib(&mut self, crate_type: CrateType, out_filename: &Path) { function with_as_needed (line 488) | fn with_as_needed(&mut self, as_needed: bool, f: impl FnOnce(&mut Self)) { type MsvcLinker (line 950) | struct MsvcLinker<'a> { type EmLinker (line 1210) | struct EmLinker<'a> { type WasmLd (line 1347) | struct WasmLd<'a> { function new (line 1353) | fn new(cmd: Command, sess: &'a Session) -> WasmLd<'a> { function push_linker_plugin_lto_args (line 1493) | fn push_linker_plugin_lto_args(&mut self) { type L4Bender (line 1507) | struct L4Bender<'a> { function new (line 1616) | fn new(cmd: Command, sess: &'a Session) -> L4Bender<'a> { function hint_static (line 1620) | fn hint_static(&mut self) { type AixLinker (line 1629) | struct AixLinker<'a> { function new (line 1636) | fn new(cmd: Command, sess: &'a Session) -> AixLinker<'a> { function hint_static (line 1640) | fn hint_static(&mut self) { function hint_dynamic (line 1647) | fn hint_dynamic(&mut self) { function build_dylib (line 1654) | fn build_dylib(&mut self, _out_filename: &Path) { function for_each_exported_symbols_include_dep (line 1782) | fn for_each_exported_symbols_include_dep<'tcx>( function exported_symbols (line 1803) | pub(crate) fn exported_symbols( function exported_symbols_for_non_proc_macro (line 1836) | fn exported_symbols_for_non_proc_macro( function exported_symbols_for_proc_macro_crate (line 1866) | fn exported_symbols_for_proc_macro_crate(tcx: TyCtxt<'_>) -> Vec<(String... function linked_symbols (line 1878) | pub(crate) fn linked_symbols( type PtxLinker (line 1931) | struct PtxLinker<'a> { type LlbcLinker (line 2007) | struct LlbcLinker<'a> { type BpfLinker (line 2087) | struct BpfLinker<'a> { FILE: compiler/rustc_codegen_ssa/src/back/linker/tests.rs function test_rpaths_to_args (line 4) | fn test_rpaths_to_args() { function test_xlinker (line 11) | fn test_xlinker() { FILE: compiler/rustc_codegen_ssa/src/back/lto.rs type ThinModule (line 18) | pub struct ThinModule { function name (line 24) | pub fn name(&self) -> &str { function cost (line 28) | pub fn cost(&self) -> u64 { function data (line 34) | pub fn data(&self) -> &[u8] { type ThinShared (line 43) | pub struct ThinShared { type SerializedModule (line 50) | pub enum SerializedModule { function data (line 57) | pub fn data(&self) -> &[u8] { function crate_type_allows_lto (line 66) | fn crate_type_allows_lto(crate_type: CrateType) -> bool { function exported_symbols_for_lto (line 78) | pub(super) fn exported_symbols_for_lto( function check_lto_allowed (line 130) | pub(super) fn check_lto_allowed(cgcx: &CodegenContext, dcx: DiagCtxtHand... FILE: compiler/rustc_codegen_ssa/src/back/metadata.rs type DefaultMetadataLoader (line 39) | pub(crate) struct DefaultMetadataLoader; function load_metadata_with (line 43) | fn load_metadata_with( method get_rlib_metadata (line 56) | fn get_rlib_metadata(&self, target: &Target, path: &Path) -> Result Result( function add_gnu_property_note (line 128) | fn add_gnu_property_note( function get_metadata_xcoff (line 176) | pub(super) fn get_metadata_xcoff<'a>(path: &Path, data: &'a [u8]) -> Res... function create_object_file (line 203) | pub(crate) fn create_object_file(sess: &Session) -> Option u8 { function elf_e_flags (line 271) | pub(super) fn elf_e_flags(architecture: Architecture, sess: &Session) ->... function macho_object_build_version_for_target (line 421) | fn macho_object_build_version_for_target(sess: &Session) -> object::writ... function macho_is_arm64e (line 446) | fn macho_is_arm64e(target: &Target) -> bool { type MetadataPosition (line 450) | pub(crate) enum MetadataPosition { function create_wrapper_file (line 486) | pub(crate) fn create_wrapper_file( function create_compressed_metadata_file (line 570) | pub fn create_compressed_metadata_file( function create_compressed_metadata_file_for_xcoff (line 631) | pub fn create_compressed_metadata_file_for_xcoff( function create_metadata_file_for_wasm (line 696) | pub fn create_metadata_file_for_wasm(sess: &Session, data: &[u8], sectio... FILE: compiler/rustc_codegen_ssa/src/back/mod.rs function versioned_llvm_target (line 21) | pub fn versioned_llvm_target(sess: &Session) -> Cow<'_, str> { FILE: compiler/rustc_codegen_ssa/src/back/rpath.rs type RPathConfig (line 9) | pub(super) struct RPathConfig<'a> { function get_rpath_linker_args (line 16) | pub(super) fn get_rpath_linker_args(config: &RPathConfig<'_>) -> Vec) -> Vec { function get_rpaths_relative_to_output (line 60) | fn get_rpaths_relative_to_output(config: &RPathConfig<'_>) -> Vec, lib: &Path) ->... function path_relative_from (line 91) | fn path_relative_from(path: &Path, base: &Path) -> Option { function minimize_rpaths (line 95) | fn minimize_rpaths(rpaths: &[OsString]) -> Vec { FILE: compiler/rustc_codegen_ssa/src/back/rpath/tests.rs function test_minimize1 (line 4) | fn test_minimize1() { function test_minimize2 (line 10) | fn test_minimize2() { function test_rpath_relative (line 27) | fn test_rpath_relative() { function test_rpath_relative_issue_119571 (line 50) | fn test_rpath_relative_issue_119571() { FILE: compiler/rustc_codegen_ssa/src/back/symbol_export.rs function threshold (line 25) | fn threshold(tcx: TyCtxt<'_>) -> SymbolExportLevel { function crate_export_threshold (line 29) | fn crate_export_threshold(crate_type: CrateType) -> SymbolExportLevel { function crates_export_threshold (line 38) | pub fn crates_export_threshold(crate_types: &[CrateType]) -> SymbolExpor... function reachable_non_generics_provider (line 49) | fn reachable_non_generics_provider(tcx: TyCtxt<'_>, _: LocalCrate) -> De... function is_reachable_non_generic_provider_local (line 154) | fn is_reachable_non_generic_provider_local(tcx: TyCtxt<'_>, def_id: Loca... function is_reachable_non_generic_provider_extern (line 164) | fn is_reachable_non_generic_provider_extern(tcx: TyCtxt<'_>, def_id: Def... function exported_non_generic_symbols_provider_local (line 168) | fn exported_non_generic_symbols_provider_local<'tcx>( function exported_generic_symbols_provider_local (line 231) | fn exported_generic_symbols_provider_local<'tcx>( function upstream_monomorphizations_provider (line 398) | fn upstream_monomorphizations_provider( function upstream_monomorphizations_for_provider (line 456) | fn upstream_monomorphizations_for_provider( function upstream_drop_glue_for_provider (line 464) | fn upstream_drop_glue_for_provider<'tcx>( function upstream_async_drop_glue_for_provider (line 472) | fn upstream_async_drop_glue_for_provider<'tcx>( function is_unreachable_local_definition_provider (line 480) | fn is_unreachable_local_definition_provider(tcx: TyCtxt<'_>, def_id: Loc... function provide (line 484) | pub(crate) fn provide(providers: &mut Providers) { function allocator_shim_symbols (line 499) | pub(crate) fn allocator_shim_symbols( function symbol_export_level (line 521) | fn symbol_export_level(tcx: TyCtxt<'_>, sym_def_id: DefId) -> SymbolExpo... function symbol_name_for_instance_in_crate (line 550) | pub(crate) fn symbol_name_for_instance_in_crate<'tcx>( function calling_convention_for_symbol (line 611) | fn calling_convention_for_symbol<'tcx>( function linking_symbol_name_for_instance_in_crate (line 651) | pub(crate) fn linking_symbol_name_for_instance_in_crate<'tcx>( function exporting_symbol_name_for_instance_in_crate (line 704) | pub(crate) fn exporting_symbol_name_for_instance_in_crate<'tcx>( function extend_exported_symbols (line 716) | pub(crate) fn extend_exported_symbols<'tcx>( function maybe_emutls_symbol_name (line 736) | fn maybe_emutls_symbol_name<'tcx>( function wasm_import_module_map (line 753) | fn wasm_import_module_map(tcx: TyCtxt<'_>, cnum: CrateNum) -> DefIdMap, symbol: &str, span: Span) -> ... FILE: compiler/rustc_codegen_ssa/src/back/write.rs constant PRE_LTO_BC_EXT (line 48) | const PRE_LTO_BC_EXT: &str = "pre-lto.bc"; type EmitObj (line 52) | pub enum EmitObj { type BitcodeSection (line 66) | pub enum BitcodeSection { type ModuleConfig (line 76) | pub struct ModuleConfig { method new (line 118) | fn new(kind: ModuleKind, tcx: TyCtxt<'_>, no_builtins: bool) -> Module... method bitcode_needed (line 259) | pub fn bitcode_needed(&self) -> bool { method embed_bitcode (line 266) | pub fn embed_bitcode(&self) -> bool { type TargetMachineFactoryConfig (line 272) | pub struct TargetMachineFactoryConfig { method new (line 284) | pub fn new(cgcx: &CodegenContext, module_name: &str) -> TargetMachineF... type TargetMachineFactoryFn (line 305) | pub type TargetMachineFactoryFn = Arc< type CodegenContext (line 316) | pub struct CodegenContext { function generate_thin_lto_work (line 356) | fn generate_thin_lto_work( type MaybeLtoModules (line 394) | enum MaybeLtoModules { function need_bitcode_in_object (line 414) | fn need_bitcode_in_object(tcx: TyCtxt<'_>) -> bool { function need_pre_lto_bitcode_for_incr_comp (line 421) | fn need_pre_lto_bitcode_for_incr_comp(sess: &Session) -> bool { function start_async_codegen (line 432) | pub(crate) fn start_async_codegen( function copy_all_cgu_workproducts_to_incr_comp_cache_dir (line 475) | fn copy_all_cgu_workproducts_to_incr_comp_cache_dir( function produce_final_output_artifacts (line 517) | pub fn produce_final_output_artifacts( type WorkItem (line 694) | pub(crate) enum WorkItem { type ThinLtoWorkItem (line 702) | enum ThinLtoWorkItem { function desc (line 714) | fn desc(short: &str, _long: &str, name: &str) -> String { function desc (line 745) | fn desc(_short: &str, long: &str, name: &str) -> String { function short_description (line 751) | fn short_description(&self) -> String { function short_description (line 761) | fn short_description(&self) -> String { type WorkItemResult (line 772) | pub(crate) enum WorkItemResult { type FatLtoInput (line 785) | pub enum FatLtoInput { type ComputedLtoType (line 791) | pub(crate) enum ComputedLtoType { function compute_per_cgu_lto_type (line 797) | pub(crate) fn compute_per_cgu_lto_type( function execute_optimize_work_item (line 824) | fn execute_optimize_work_item( function execute_copy_from_cache_work_item (line 881) | fn execute_copy_from_cache_work_item( function do_fat_lto (line 969) | fn do_fat_lto( function do_thin_lto (line 1001) | fn do_thin_lto( function execute_thin_lto_work_item (line 1154) | fn execute_thin_lto_work_item( type Message (line 1167) | pub(crate) enum Message { type ThinLtoMessage (line 1198) | pub(crate) enum ThinLtoMessage { type CguMessage (line 1210) | pub struct CguMessage; type Diagnostic (line 1221) | struct Diagnostic { type Subdiagnostic (line 1233) | struct Subdiagnostic { type MainThreadState (line 1239) | enum MainThreadState { function start_executing_work (line 1250) | fn start_executing_work( type WorkerFatalError (line 1879) | pub(crate) struct WorkerFatalError; function spawn_work (line 1881) | fn spawn_work<'a, B: WriteBackendMethods>( function spawn_thin_lto_work (line 1924) | fn spawn_thin_lto_work( type SharedEmitterMessage (line 1965) | enum SharedEmitterMessage { type InlineAsmError (line 1971) | pub struct InlineAsmError { type SharedEmitter (line 1979) | pub struct SharedEmitter { method new (line 1988) | fn new() -> (SharedEmitter, SharedEmitterMain) { method inline_asm_error (line 1994) | pub fn inline_asm_error(&self, err: InlineAsmError) { method fatal (line 1998) | fn fatal(&self, msg: &str) { type SharedEmitterMain (line 1983) | pub struct SharedEmitterMain { method check (line 2036) | fn check(&self, sess: &Session, blocking: bool) { method emit_diagnostic (line 2004) | fn emit_diagnostic(&mut self, mut diag: rustc_errors::DiagInner) { method source_map (line 2030) | fn source_map(&self) -> Option<&SourceMap> { type Coordinator (line 2111) | pub struct Coordinator { function join (line 2119) | fn join(mut self) -> std::thread::Result, ()>> { method drop (line 2125) | fn drop(&mut self) { type OngoingCodegen (line 2135) | pub struct OngoingCodegen { function join (line 2147) | pub fn join(self, sess: &Session) -> (CompiledModules, FxIndexMap) { function check_for_errors (line 2252) | pub(crate) fn check_for_errors(&self, sess: &Session) { function wait_for_signal_to_codegen_item (line 2256) | pub(crate) fn wait_for_signal_to_codegen_item(&self) { function submit_codegened_module_to_llvm (line 2269) | pub(crate) fn submit_codegened_module_to_llvm( function submit_post_lto_module_to_llvm (line 2278) | pub(crate) fn submit_post_lto_module_to_llvm( function submit_pre_lto_module_to_llvm (line 2286) | pub(crate) fn submit_pre_lto_module_to_llvm( function pre_lto_bitcode_filename (line 2308) | fn pre_lto_bitcode_filename(module_name: &str) -> String { function msvc_imps_needed (line 2312) | fn msvc_imps_needed(tcx: TyCtxt<'_>) -> bool { FILE: compiler/rustc_codegen_ssa/src/base.rs function bin_op_to_icmp_predicate (line 54) | pub(crate) fn bin_op_to_icmp_predicate(op: BinOp, signed: bool) -> IntPr... function bin_op_to_fcmp_predicate (line 70) | pub(crate) fn bin_op_to_fcmp_predicate(op: BinOp) -> RealPredicate { function compare_simd_types (line 82) | pub fn compare_simd_types<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function validate_trivial_unsize (line 118) | pub fn validate_trivial_unsize<'tcx>( function unsized_info (line 159) | fn unsized_info<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function unsize_ptr (line 221) | pub(crate) fn unsize_ptr<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function coerce_unsized_into (line 268) | pub(crate) fn coerce_unsized_into<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function build_shift_expr_rhs (line 323) | pub(crate) fn build_shift_expr_rhs<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function wants_wasm_eh (line 365) | pub fn wants_wasm_eh(sess: &Session) -> bool { function wants_msvc_seh (line 375) | pub fn wants_msvc_seh(sess: &Session) -> bool { function wants_new_eh_instructions (line 382) | pub(crate) fn wants_new_eh_instructions(sess: &Session) -> bool { function codegen_instance (line 386) | pub(crate) fn codegen_instance<'a, 'tcx: 'a, Bx: BuilderMethods<'a, 'tcx>>( function codegen_global_asm (line 398) | pub fn codegen_global_asm<'tcx, Cx>(cx: &mut Cx, item_id: ItemId) function maybe_create_entry_wrapper (line 469) | pub fn maybe_create_entry_wrapper<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function get_argc_argv (line 576) | fn get_argc_argv<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(bx: &mut Bx) ->... function collect_debugger_visualizers_transitive (line 607) | pub fn collect_debugger_visualizers_transitive( function allocator_kind_for_codegen (line 630) | pub fn allocator_kind_for_codegen(tcx: TyCtxt<'_>) -> Option, kind: AllocatorKind) -> ... function codegen_crate (line 681) | pub fn codegen_crate( function is_call_from_compiler_builtins_to_upstream_monomorphization (line 868) | pub fn is_call_from_compiler_builtins_to_upstream_monomorphization<'tcx>( method new (line 888) | pub fn new(tcx: TyCtxt<'_>, target_cpu: String) -> CrateInfo { function provide (line 1060) | pub(crate) fn provide(providers: &mut Providers) { function determine_cgu_reuse (line 1095) | pub fn determine_cgu_reuse<'tcx>(tcx: TyCtxt<'tcx>, cgu: &CodegenUnit<'t... FILE: compiler/rustc_codegen_ssa/src/codegen_attrs.rs function try_fn_sig (line 30) | fn try_fn_sig<'tcx>( type InterestingAttributeDiagnosticSpans (line 49) | struct InterestingAttributeDiagnosticSpans { function process_builtin_attrs (line 58) | fn process_builtin_attrs( function apply_overrides (line 305) | fn apply_overrides(tcx: TyCtxt<'_>, did: LocalDefId, codegen_fn_attrs: &... type SanitizeOnInline (line 392) | struct SanitizeOnInline { type AsyncBlocking (line 399) | struct AsyncBlocking; function check_result (line 401) | fn check_result( function handle_lang_items (line 504) | fn handle_lang_items( function codegen_fn_attrs (line 559) | fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: LocalDefId) -> CodegenFnAttrs { function sanitizer_settings_for (line 579) | fn sanitizer_settings_for(tcx: TyCtxt<'_>, did: LocalDefId) -> Sanitizer... function should_inherit_track_caller (line 613) | fn should_inherit_track_caller(tcx: TyCtxt<'_>, def_id: DefId) -> bool { function inherited_align (line 621) | fn inherited_align<'tcx>(tcx: TyCtxt<'tcx>, def_id: DefId) -> Option>( function shift_mask_val (line 123) | pub(crate) fn shift_mask_val<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function asm_const_to_str (line 149) | pub fn asm_const_to_str<'tcx>( function is_mingw_gnu_toolchain (line 173) | pub fn is_mingw_gnu_toolchain(target: &Target) -> bool { function i686_decorated_name (line 177) | pub fn i686_decorated_name( FILE: compiler/rustc_codegen_ssa/src/debuginfo/mod.rs function wants_c_like_enum_debuginfo (line 15) | pub fn wants_c_like_enum_debuginfo<'tcx>( function tag_base_type (line 51) | pub fn tag_base_type<'tcx>(tcx: TyCtxt<'tcx>, enum_type_and_layout: TyAn... function tag_base_type_opt (line 57) | fn tag_base_type_opt<'tcx>( FILE: compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs function compute_debuginfo_type_name (line 34) | pub fn compute_debuginfo_type_name<'tcx>( function push_debuginfo_type_name (line 49) | fn push_debuginfo_type_name<'tcx>( type VTableNameKind (line 497) | pub enum VTableNameKind { function compute_debuginfo_vtable_name (line 517) | pub fn compute_debuginfo_vtable_name<'tcx>( function push_item_name (line 567) | pub fn push_item_name(tcx: TyCtxt<'_>, def_id: DefId, qualified: bool, o... function coroutine_kind_label (line 577) | fn coroutine_kind_label(coroutine_kind: Option) -> &'stat... function push_disambiguated_special_name (line 596) | fn push_disambiguated_special_name( function push_unqualified_item_name (line 609) | fn push_unqualified_item_name( function push_generic_args (line 645) | pub fn push_generic_args<'tcx>(tcx: TyCtxt<'tcx>, args: GenericArgsRef<'... function push_generic_args_internal (line 651) | fn push_generic_args_internal<'tcx>( function push_debuginfo_term_name (line 681) | fn push_debuginfo_term_name<'tcx>( function push_debuginfo_const_name (line 694) | fn push_debuginfo_const_name<'tcx>(tcx: TyCtxt<'tcx>, ct: ty::Const<'tcx... function push_closure_or_coroutine_name (line 744) | fn push_closure_or_coroutine_name<'tcx>( function push_close_angle_bracket (line 789) | fn push_close_angle_bracket(cpp_like_debuginfo: bool, output: &mut Strin... function pop_close_angle_bracket (line 799) | fn pop_close_angle_bracket(output: &mut String) { function push_arg_separator (line 807) | fn push_arg_separator(cpp_like_debuginfo: bool, output: &mut String) { function pop_arg_separator (line 818) | fn pop_arg_separator(output: &mut String) { function cpp_like_debuginfo (line 829) | pub fn cpp_like_debuginfo(tcx: TyCtxt<'_>) -> bool { FILE: compiler/rustc_codegen_ssa/src/errors.rs type IncorrectCguReuseType (line 29) | pub(crate) struct IncorrectCguReuseType<'a> { type CguNotRecorded (line 40) | pub(crate) struct CguNotRecorded<'a> { type MissingQueryDepGraph (line 47) | pub(crate) struct MissingQueryDepGraph { type MalformedCguName (line 56) | pub(crate) struct MalformedCguName<'a> { type NoModuleNamed (line 65) | pub(crate) struct NoModuleNamed<'a> { type LibDefWriteFailure (line 75) | pub(crate) struct LibDefWriteFailure { type VersionScriptWriteFailure (line 81) | pub(crate) struct VersionScriptWriteFailure { type SymbolFileWriteFailure (line 87) | pub(crate) struct SymbolFileWriteFailure { type Ld64UnimplementedModifier (line 93) | pub(crate) struct Ld64UnimplementedModifier; type LinkerUnsupportedModifier (line 97) | pub(crate) struct LinkerUnsupportedModifier; type L4BenderExportingSymbolsUnimplemented (line 101) | pub(crate) struct L4BenderExportingSymbolsUnimplemented; type NoNatvisDirectory (line 105) | pub(crate) struct NoNatvisDirectory { type NoSavedObjectFile (line 111) | pub(crate) struct NoSavedObjectFile<'a> { type CopyPathBuf (line 117) | pub(crate) struct CopyPathBuf { type CopyPath (line 126) | pub(crate) struct CopyPath<'a> { function new (line 133) | pub(crate) fn new(from: &'a Path, to: &'a Path, error: Error) -> CopyPat... type DebugArgPath (line 138) | struct DebugArgPath<'a>(pub &'a Path); method into_diag_arg (line 141) | fn into_diag_arg(self, _: &mut Option) -> rustc_erro... type BinaryOutputToTty (line 150) | pub(crate) struct BinaryOutputToTty { type IgnoringEmitPath (line 156) | pub(crate) struct IgnoringEmitPath { type IgnoringOutput (line 162) | pub(crate) struct IgnoringOutput { type CreateTempDir (line 168) | pub(crate) struct CreateTempDir { type AddNativeLibrary (line 174) | pub(crate) struct AddNativeLibrary { type MultipleExternalFuncDecl (line 183) | pub(crate) struct MultipleExternalFuncDecl<'a> { type LinkRlibError (line 191) | pub enum LinkRlibError { type ThorinErrorWrapper (line 207) | pub(crate) struct ThorinErrorWrapper(pub thorin::Error); method into_diag (line 210) | fn into_diag(self, dcx: DiagCtxtHandle<'_>, level: Level) -> Diag<'_, ... type LinkingFailed (line 335) | pub(crate) struct LinkingFailed<'a> { function into_diag (line 345) | fn into_diag(mut self, dcx: DiagCtxtHandle<'_>, level: Level) -> Diag<'_... type LinkExeUnexpectedError (line 469) | pub(crate) struct LinkExeUnexpectedError; type LinkExeStatusStackBufferOverrun (line 471) | pub(crate) struct LinkExeStatusStackBufferOverrun; method into_diag (line 474) | fn into_diag(self, dcx: rustc_errors::DiagCtxtHandle<'a>, level: Level... type RepairVSBuildTools (line 486) | pub(crate) struct RepairVSBuildTools; type MissingCppBuildToolComponent (line 490) | pub(crate) struct MissingCppBuildToolComponent; type SelectCppBuildToolWorkload (line 494) | pub(crate) struct SelectCppBuildToolWorkload; type VisualStudioNotInstalled (line 498) | pub(crate) struct VisualStudioNotInstalled; type LinkerNotFound (line 503) | pub(crate) struct LinkerNotFound { type UnableToExeLinker (line 512) | pub(crate) struct UnableToExeLinker { type MsvcMissingLinker (line 520) | pub(crate) struct MsvcMissingLinker; type SelfContainedLinkerMissing (line 526) | pub(crate) struct SelfContainedLinkerMissing; type CheckInstalledVisualStudio (line 532) | pub(crate) struct CheckInstalledVisualStudio; type InsufficientVSCodeProduct (line 536) | pub(crate) struct InsufficientVSCodeProduct; type CpuRequired (line 540) | pub(crate) struct CpuRequired; type ProcessingDymutilFailed (line 545) | pub(crate) struct ProcessingDymutilFailed { type UnableToRunDsymutil (line 552) | pub(crate) struct UnableToRunDsymutil { type StrippingDebugInfoFailed (line 559) | pub(crate) struct StrippingDebugInfoFailed<'a> { type UnableToRun (line 567) | pub(crate) struct UnableToRun<'a> { type LinkerFileStem (line 574) | pub(crate) struct LinkerFileStem; type StaticLibraryNativeArtifacts (line 580) | pub(crate) struct StaticLibraryNativeArtifacts; type StaticLibraryNativeArtifactsToFile (line 586) | pub(crate) struct StaticLibraryNativeArtifactsToFile<'a> { type LinkScriptUnavailable (line 592) | pub(crate) struct LinkScriptUnavailable; type LinkScriptWriteFailure (line 596) | pub(crate) struct LinkScriptWriteFailure { type FailedToWrite (line 603) | pub(crate) struct FailedToWrite { type UnableToWriteDebuggerVisualizer (line 610) | pub(crate) struct UnableToWriteDebuggerVisualizer { type RlibArchiveBuildFailure (line 617) | pub(crate) struct RlibArchiveBuildFailure { type ExtractBundledLibsError (line 624) | pub enum ExtractBundledLibsError<'a> { type ReadFileError (line 652) | pub(crate) struct ReadFileError { type UnsupportedLinkSelfContained (line 658) | pub(crate) struct UnsupportedLinkSelfContained; type ArchiveBuildFailure (line 662) | pub(crate) struct ArchiveBuildFailure { type UnknownArchiveKind (line 669) | pub(crate) struct UnknownArchiveKind<'a> { type BpfStaticlibNotSupported (line 675) | pub(crate) struct BpfStaticlibNotSupported; type MultipleMainFunctions (line 682) | pub(crate) struct MultipleMainFunctions { type ShuffleIndicesEvaluation (line 689) | pub(crate) struct ShuffleIndicesEvaluation { type InvalidMonomorphization (line 695) | pub enum InvalidMonomorphization<'tcx> { type ExpectedPointerMutability (line 1034) | pub enum ExpectedPointerMutability { method into_diag_arg (line 1040) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... type TargetFeatureSafeTrait (line 1050) | pub(crate) struct TargetFeatureSafeTrait { type ForbiddenTargetFeatureAttr (line 1060) | pub struct ForbiddenTargetFeatureAttr<'a> { type FailedToGetLayout (line 1069) | pub struct FailedToGetLayout<'tcx> { type DlltoolFailImportLibrary (line 1082) | pub(crate) struct DlltoolFailImportLibrary<'a> { type ErrorWritingDEFFile (line 1091) | pub(crate) struct ErrorWritingDEFFile { type ErrorCallingDllTool (line 1097) | pub(crate) struct ErrorCallingDllTool<'a> { type ErrorCreatingRemarkDir (line 1104) | pub(crate) struct ErrorCreatingRemarkDir { type CompilerBuiltinsCannotCall (line 1112) | pub struct CompilerBuiltinsCannotCall { type ErrorCreatingImportLibrary (line 1121) | pub(crate) struct ErrorCreatingImportLibrary<'a> { type AixStripNotUsed (line 1128) | pub(crate) struct AixStripNotUsed; type XcrunError (line 1131) | pub(crate) enum XcrunError { type XcrunSdkPathWarning (line 1148) | pub(crate) struct XcrunSdkPathWarning { type Aarch64SoftfloatNeon (line 1155) | pub(crate) struct Aarch64SoftfloatNeon; type UnknownCTargetFeaturePrefix (line 1160) | pub(crate) struct UnknownCTargetFeaturePrefix<'a> { type PossibleFeature (line 1165) | pub(crate) enum PossibleFeature<'a> { type UnknownCTargetFeature (line 1177) | pub(crate) struct UnknownCTargetFeature<'a> { type UnstableCTargetFeature (line 1186) | pub(crate) struct UnstableCTargetFeature<'a> { type ForbiddenCTargetFeature (line 1196) | pub(crate) struct ForbiddenCTargetFeature<'a> { type TargetFeatureDisableOrEnable (line 1202) | pub struct TargetFeatureDisableOrEnable<'a> { type MissingFeatures (line 1210) | pub struct MissingFeatures; function into_diag (line 1213) | fn into_diag(self, dcx: DiagCtxtHandle<'_>, level: Level) -> Diag<'_, G> { type FeatureNotValid (line 1232) | pub(crate) struct FeatureNotValid<'a> { type FeatureNotValidHint (line 1242) | pub(crate) enum FeatureNotValidHint<'a> { type LtoDisallowed (line 1265) | pub(crate) struct LtoDisallowed; type LtoDylib (line 1269) | pub(crate) struct LtoDylib; type LtoProcMacro (line 1273) | pub(crate) struct LtoProcMacro; type DynamicLinkingWithLTO (line 1278) | pub(crate) struct DynamicLinkingWithLTO; FILE: compiler/rustc_codegen_ssa/src/lib.rs type ModuleCodegen (line 57) | pub struct ModuleCodegen { function new_regular (line 72) | pub fn new_regular(name: impl Into, module: M) -> Self { function new_allocator (line 81) | pub fn new_allocator(name: impl Into, module: M) -> Self { function into_compiled_module (line 90) | pub fn into_compiled_module( type CompiledModule (line 126) | pub struct CompiledModule { method for_each_output (line 139) | pub fn for_each_output(&self, mut emit: impl FnMut(&Path, OutputType)) { type CachedModuleCodegen (line 155) | pub(crate) struct CachedModuleCodegen { type ModuleKind (line 161) | pub enum ModuleKind { type NativeLib (line 181) | pub struct NativeLib { method from (line 191) | fn from(lib: &cstore::NativeLib) -> Self { type CrateInfo (line 213) | pub struct CrateInfo { type TargetConfig (line 238) | pub struct TargetConfig { type CompiledModules (line 254) | pub struct CompiledModules { method serialize_rlink (line 296) | pub fn serialize_rlink( method deserialize_rlink (line 317) | pub fn deserialize_rlink( type CodegenErrors (line 259) | pub enum CodegenErrors { function provide (line 267) | pub fn provide(providers: &mut Providers) { function looks_like_rust_object_file (line 277) | pub fn looks_like_rust_object_file(filename: &str) -> bool { constant RLINK_VERSION (line 292) | const RLINK_VERSION: u32 = 1; constant RLINK_MAGIC (line 293) | const RLINK_MAGIC: &[u8] = b"rustlink"; type CodegenLintLevels (line 364) | pub struct CodegenLintLevels { method from_tcx (line 370) | pub fn from_tcx(tcx: TyCtxt<'_>) -> Self { FILE: compiler/rustc_codegen_ssa/src/meth.rs type VirtualIndex (line 11) | pub(crate) struct VirtualIndex(u64); method from_index (line 14) | pub(crate) fn from_index(index: usize) -> Self { method get_fn_inner (line 18) | fn get_fn_inner>( method get_optional_fn (line 36) | pub(crate) fn get_optional_fn>( method get_fn (line 46) | pub(crate) fn get_fn>( method get_usize (line 56) | pub(crate) fn get_usize>( function dyn_trait_in_self (line 75) | fn dyn_trait_in_self<'tcx>( function get_vtable (line 103) | pub(crate) fn get_vtable<'tcx, Cx: CodegenMethods<'tcx>>( function load_vtable (line 126) | pub(crate) fn load_vtable<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( FILE: compiler/rustc_codegen_ssa/src/mir/analyze.rs function non_ssa_locals (line 17) | pub(crate) fn non_ssa_locals<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( type LocalKind (line 59) | enum LocalKind { type LocalAnalyzer (line 69) | struct LocalAnalyzer<'a, 'b, 'tcx, Bx: BuilderMethods<'b, 'tcx>> { function define (line 76) | fn define(&mut self, local: mir::Local, location: DefLocation) { function process_place (line 97) | fn process_place( function visit_assign (line 172) | fn visit_assign( function visit_place (line 189) | fn visit_place(&mut self, place: &mir::Place<'tcx>, context: PlaceContex... function visit_local (line 194) | fn visit_local(&mut self, local: mir::Local, context: PlaceContext, loca... function visit_statement_debuginfo (line 263) | fn visit_statement_debuginfo(&mut self, _: &mir::StmtDebugInfo<'tcx>, _:... type CleanupKind (line 269) | pub(crate) enum CleanupKind { method funclet_bb (line 276) | pub(crate) fn funclet_bb(self, for_bb: mir::BasicBlock) -> Option) -> IndexVec { function funclet (line 56) | fn funclet<'b, Bx: BuilderMethods<'a, 'tcx>>( function llbb_with_cleanup (line 82) | fn llbb_with_cleanup>( function llbb_characteristics (line 106) | fn llbb_characteristics>( function funclet_br (line 131) | fn funclet_br>( function do_call (line 160) | fn do_call>( function do_inlineasm (line 296) | fn do_inlineasm>( function codegen_resume_terminator (line 367) | fn codegen_resume_terminator(&mut self, helper: TerminatorCodegenHelper<... function codegen_switchint_terminator (line 382) | fn codegen_switchint_terminator( function codegen_return_terminator (line 520) | fn codegen_return_terminator(&mut self, bx: &mut Bx) { function codegen_drop_terminator (line 594) | fn codegen_drop_terminator( function codegen_assert_terminator (line 693) | fn codegen_assert_terminator( function codegen_terminate_terminator (line 794) | fn codegen_terminate_terminator( function codegen_panic_intrinsic (line 825) | fn codegen_panic_intrinsic( function codegen_call_terminator (line 892) | fn codegen_call_terminator( function codegen_asm_terminator (line 1360) | fn codegen_asm_terminator( function codegen_block (line 1442) | pub(crate) fn codegen_block(&mut self, mut bb: mir::BasicBlock) { function codegen_block_as_unreachable (line 1483) | pub(crate) fn codegen_block_as_unreachable(&mut self, bb: mir::BasicBloc... function codegen_terminator (line 1493) | fn codegen_terminator( function codegen_argument (line 1647) | fn codegen_argument( function codegen_arguments_untupled (line 1793) | fn codegen_arguments_untupled( function get_caller_location (line 1824) | pub(super) fn get_caller_location( function get_personality_slot (line 1835) | fn get_personality_slot(&mut self, bx: &mut Bx) -> PlaceRef<'tcx, Bx::Va... function landing_pad_for (line 1852) | fn landing_pad_for(&mut self, bb: mir::BasicBlock) -> Bx::BasicBlock { function landing_pad_for_uncached (line 1863) | fn landing_pad_for_uncached(&mut self, bb: mir::BasicBlock) -> Bx::Basic... function unreachable_block (line 1888) | fn unreachable_block(&mut self) -> Bx::BasicBlock { function terminate_block (line 1898) | fn terminate_block( function llbb (line 2062) | pub fn llbb(&mut self, bb: mir::BasicBlock) -> Bx::BasicBlock { function try_llbb (line 2067) | pub(crate) fn try_llbb(&mut self, bb: mir::BasicBlock) -> Option { function load_cast (line 2181) | fn load_cast<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function store_cast (line 2204) | pub fn store_cast<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( FILE: compiler/rustc_codegen_ssa/src/mir/constant.rs function eval_mir_constant_to_operand (line 13) | pub(crate) fn eval_mir_constant_to_operand( function eval_mir_constant (line 23) | pub fn eval_mir_constant(&self, constant: &mir::ConstOperand<'tcx>) -> m... function eval_unevaluated_mir_constant_to_valtree (line 37) | fn eval_unevaluated_mir_constant_to_valtree( function immediate_const_vector (line 64) | pub fn immediate_const_vector( FILE: compiler/rustc_codegen_ssa/src/mir/coverageinfo.rs function codegen_coverage (line 8) | pub(crate) fn codegen_coverage(&self, bx: &mut Bx, kind: &CoverageKind, ... FILE: compiler/rustc_codegen_ssa/src/mir/debuginfo.rs type FunctionDebugContext (line 20) | pub struct FunctionDebugContext<'tcx, S, L> { type VariableKind (line 29) | pub enum VariableKind { type PerLocalVarDebugInfo (line 36) | pub struct PerLocalVarDebugInfo<'tcx, D> { type ConstDebugInfo (line 52) | pub struct ConstDebugInfo<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> { type DebugScope (line 63) | pub struct DebugScope { function adjust_dbg_scope_for_span (line 80) | pub fn adjust_dbg_scope_for_span { method deref (line 96) | fn deref(&self, bx: &mut Bx) -> Self; method layout (line 97) | fn layout(&self) -> TyAndLayout<'tcx>; method project_field (line 98) | fn project_field(&self, bx: &mut Bx, field: FieldIdx) -> Self; method project_constant_index (line 99) | fn project_constant_index(&self, bx: &mut Bx, offset: u64) -> Self; method downcast (line 100) | fn downcast(&self, bx: &mut Bx, variant: VariantIdx) -> Self; function deref (line 106) | fn deref(&self, bx: &mut Bx) -> Self { function layout (line 110) | fn layout(&self) -> TyAndLayout<'tcx> { function project_field (line 114) | fn project_field(&self, bx: &mut Bx, field: FieldIdx) -> Self { function project_constant_index (line 118) | fn project_constant_index(&self, bx: &mut Bx, offset: u64) -> Self { function downcast (line 123) | fn downcast(&self, bx: &mut Bx, variant: VariantIdx) -> Self { function deref (line 131) | fn deref(&self, bx: &mut Bx) -> Self { function layout (line 137) | fn layout(&self) -> TyAndLayout<'tcx> { function project_field (line 141) | fn project_field(&self, bx: &mut Bx, field: FieldIdx) -> Self { function project_constant_index (line 145) | fn project_constant_index(&self, bx: &mut Bx, index: u64) -> Self { function downcast (line 149) | fn downcast(&self, bx: &mut Bx, variant: VariantIdx) -> Self { type DebugInfoOffset (line 154) | struct DebugInfoOffset { function calculate_debuginfo_offset (line 164) | fn calculate_debuginfo_offset< function set_debug_loc (line 217) | pub fn set_debug_loc(&self, bx: &mut Bx, source_info: mir::SourceInfo) { function dbg_loc (line 224) | fn dbg_loc(&self, source_info: mir::SourceInfo) -> Option { function adjusted_span_and_dbg_scope (line 229) | fn adjusted_span_and_dbg_scope( function spill_operand_to_stack (line 238) | fn spill_operand_to_stack( function debug_new_val_to_local (line 258) | pub(crate) fn debug_new_val_to_local( function debug_poison_to_local (line 295) | pub(crate) fn debug_poison_to_local(&self, bx: &mut Bx, local: mir::Loca... function debug_introduce_local (line 305) | pub(crate) fn debug_introduce_local(&self, bx: &mut Bx, local: mir::Loca... function debug_introduce_local_as_var (line 465) | fn debug_introduce_local_as_var( function debug_introduce_locals (line 526) | pub(crate) fn debug_introduce_locals( function compute_per_local_var_debug_info (line 549) | pub(crate) fn compute_per_local_var_debug_info( FILE: compiler/rustc_codegen_ssa/src/mir/intrinsic.rs function copy_intrinsic (line 17) | fn copy_intrinsic<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function memset_intrinsic (line 38) | fn memset_intrinsic<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function codegen_intrinsic_call (line 56) | pub fn codegen_intrinsic_call( function int_type_width_signed (line 607) | fn int_type_width_signed(ty: Ty<'_>, tcx: TyCtxt<'_>) -> Option<(u64, bo... function float_type_width (line 621) | fn float_type_width(ty: Ty<'_>) -> Option { FILE: compiler/rustc_codegen_ssa/src/mir/locals.rs type Locals (line 15) | pub(super) struct Locals<'tcx, V> { type Output (line 20) | type Output = LocalRef<'tcx, V>; function index (line 22) | fn index(&self, index: mir::Local) -> &LocalRef<'tcx, V> { function empty (line 31) | pub(super) fn empty() -> Locals<'tcx, V> { function indices (line 35) | pub(super) fn indices(&self) -> impl DoubleEndedIterator { type PerLocalVarDebugInfoIndexVec (line 46) | type PerLocalVarDebugInfoIndexVec<'tcx, V> = type FunctionCx (line 50) | pub struct FunctionCx<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> { function monomorphize (line 129) | pub fn monomorphize(&self, value: T) -> T type LocalRef (line 142) | enum LocalRef<'tcx, V> { function new_operand (line 161) | fn new_operand(layout: TyAndLayout<'tcx>) -> LocalRef<'tcx, V> { function codegen_mir (line 176) | pub fn codegen_mir<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function optimize_use_clone (line 328) | fn optimize_use_clone<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function arg_local_refs (line 385) | fn arg_local_refs<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function find_cold_blocks (line 566) | fn find_cold_blocks<'tcx>( FILE: compiler/rustc_codegen_ssa/src/mir/naked_asm.rs function codegen_naked_asm (line 17) | pub fn codegen_naked_asm< function inline_to_global_operand (line 59) | fn inline_to_global_operand<'a, 'tcx, Cx: LayoutOf<'tcx, LayoutOfResult ... function prefix_and_suffix (line 118) | fn prefix_and_suffix<'tcx>( function wasm_functype (line 343) | fn wasm_functype<'tcx>(tcx: TyCtxt<'tcx>, fn_abi: &FnAbi<'tcx, Ty<'tcx>>... function wasm_type (line 382) | fn wasm_type<'tcx>(signature: &mut String, arg_abi: &ArgAbi<'_, Ty<'tcx>... function wasm_primitive (line 428) | fn wasm_primitive(primitive: Primitive, ptr_type: &'static str) -> &'sta... FILE: compiler/rustc_codegen_ssa/src/mir/operand.rs type OperandValue (line 28) | pub enum OperandValue { function try_pointer_parts (line 77) | pub(crate) fn try_pointer_parts(self) -> Option<(V, Option)> { function pointer_parts (line 89) | pub(crate) fn pointer_parts(self) -> (V, Option) { function deref (line 101) | pub(crate) fn deref(self, align: Align) -> PlaceValue { function is_expected_variant_for_type (line 106) | pub(crate) fn is_expected_variant_for_type<'tcx, Cx: LayoutTypeCodegenMe... type OperandRef (line 129) | pub struct OperandRef<'tcx, V> { function fmt (line 142) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function zero_sized (line 148) | pub fn zero_sized(layout: TyAndLayout<'tcx>) -> OperandRef<'tcx, V> { function from_const (line 153) | pub(crate) fn from_const>( function from_const_alloc (line 191) | fn from_const_alloc>( function immediate (line 258) | pub fn immediate(self) -> V { function deref (line 274) | pub fn deref>(self, cx: &Cx) -> PlaceRef<'tcx, ... function store_with_annotation (line 294) | pub fn store_with_annotation>( function immediate_or_packed_pair (line 308) | pub fn immediate_or_packed_pair>( function from_immediate_or_packed_pair (line 326) | pub fn from_immediate_or_packed_pair>( function codegen_get_discr (line 416) | pub fn codegen_get_discr>( type OperandValueBuilder (line 663) | enum OperandValueBuilder { type OperandRefBuilder (line 676) | pub(super) struct OperandRefBuilder<'tcx, V> { function new (line 687) | pub(super) fn new(layout: TyAndLayout<'tcx>) -> Self { function insert_field (line 704) | pub(super) fn insert_field>( function insert_imm (line 798) | pub(super) fn insert_imm(&mut self, f: FieldIdx, imm: V) { function build (line 819) | pub(super) fn build(&self, cx: &impl CodegenMethods<'tcx, Value = V>) ->... constant MOVE_ANNOTATION_DEFAULT_LIMIT (line 860) | const MOVE_ANNOTATION_DEFAULT_LIMIT: u64 = 65; function poison (line 869) | pub fn poison>( function store (line 889) | pub fn store>( function volatile_store (line 897) | pub fn volatile_store>( function unaligned_volatile_store (line 905) | pub fn unaligned_volatile_store>( function nontemporal_store (line 913) | pub fn nontemporal_store>( function store_with_flags (line 921) | pub(crate) fn store_with_flags>( function maybe_codegen_consume_direct (line 964) | fn maybe_codegen_consume_direct( function codegen_consume (line 1010) | pub fn codegen_consume( function codegen_operand (line 1035) | pub fn codegen_operand( function move_copy_annotation_instance (line 1105) | fn move_copy_annotation_instance( FILE: compiler/rustc_codegen_ssa/src/mir/place.rs type PlaceValue (line 24) | pub struct PlaceValue { function new_sized (line 39) | pub fn new_sized(llval: V, align: Align) -> PlaceValue { function alloca (line 47) | pub fn alloca<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx, Value = V>>( function with_type (line 57) | pub fn with_type<'tcx>(self, layout: TyAndLayout<'tcx>) -> PlaceRef<'tcx... function address (line 70) | pub fn address(self) -> OperandValue { type PlaceRef (line 80) | pub struct PlaceRef<'tcx, V> { function new_sized (line 93) | pub fn new_sized(llval: V, layout: TyAndLayout<'tcx>) -> PlaceRef<'tcx, ... function new_sized_aligned (line 97) | pub fn new_sized_aligned( function alloca (line 108) | pub fn alloca>( function alloca_size (line 119) | pub fn alloca_size>( function alloca_unsized_indirect (line 131) | pub fn alloca_unsized_indirect>( function len (line 141) | pub fn len>(&self, cx: &Cx) -> V { function alloca_runtime_sized (line 154) | fn alloca_runtime_sized>( function project_field (line 169) | pub fn project_field>( function codegen_set_discr (line 255) | pub fn codegen_set_discr>( function project_index (line 274) | pub fn project_index>( function project_downcast (line 293) | pub fn project_downcast>( function project_type (line 303) | pub fn project_type>( function storage_live (line 313) | pub fn storage_live>(&self, bx: ... function storage_dead (line 317) | pub fn storage_dead>(&self, bx: ... function codegen_place (line 324) | pub fn codegen_place( function monomorphized_place_ty (line 407) | pub fn monomorphized_place_ty(&self, place_ref: mir::PlaceRef<'tcx>) -> ... function round_up_const_value_to_alignment (line 414) | fn round_up_const_value_to_alignment<'a, 'tcx, Bx: BuilderMethods<'a, 't... function codegen_tag_value (line 465) | pub(super) fn codegen_tag_value<'tcx, V>( type UninhabitedVariantError (line 524) | pub(super) struct UninhabitedVariantError; FILE: compiler/rustc_codegen_ssa/src/mir/rvalue.rs function codegen_rvalue (line 19) | pub(crate) fn codegen_rvalue( function codegen_transmute (line 209) | fn codegen_transmute( function codegen_transmute_operand (line 238) | pub(crate) fn codegen_transmute_operand( function cast_immediate (line 341) | fn cast_immediate( function codegen_rvalue_operand (line 389) | pub(crate) fn codegen_rvalue_operand( function codegen_place_to_pointer (line 717) | fn codegen_place_to_pointer( function codegen_scalar_binop (line 743) | fn codegen_scalar_binop( function codegen_wide_ptr_binop (line 868) | fn codegen_wide_ptr_binop( function codegen_scalar_checked_binop (line 910) | fn codegen_scalar_checked_binop( function transmute_scalar (line 943) | pub(super) fn transmute_scalar<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( function assume_scalar_range (line 1018) | fn assume_scalar_range<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( FILE: compiler/rustc_codegen_ssa/src/mir/statement.rs function codegen_statement (line 10) | pub(crate) fn codegen_statement(&mut self, bx: &mut Bx, statement: &mir:... function codegen_stmt_debuginfo (line 107) | pub(crate) fn codegen_stmt_debuginfo(&mut self, bx: &mut Bx, debuginfo: ... function codegen_stmt_debuginfos (line 142) | pub(crate) fn codegen_stmt_debuginfos( FILE: compiler/rustc_codegen_ssa/src/mono_item.rs type MonoItemExt (line 11) | pub trait MonoItemExt<'a, 'tcx> { method define (line 12) | fn define>( method predefine (line 18) | fn predefine>( method to_raw_string (line 25) | fn to_raw_string(&self) -> String; function define (line 29) | fn define>( function predefine (line 57) | fn predefine>( function to_raw_string (line 89) | fn to_raw_string(&self) -> String { FILE: compiler/rustc_codegen_ssa/src/size_of_val.rs function size_and_align_of_dst (line 15) | pub fn size_and_align_of_dst<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( FILE: compiler/rustc_codegen_ssa/src/target_features.rs function from_target_feature_attr (line 22) | pub(crate) fn from_target_feature_attr( function asm_target_features (line 119) | fn asm_target_features(tcx: TyCtxt<'_>, did: DefId) -> &FxIndexSet, id: Loc... function parse_rust_feature_list (line 156) | fn parse_rust_feature_list<'a>( function cfg_target_feature (line 231) | pub fn cfg_target_feature<'a, const N: usize>( function check_tied_features (line 365) | pub fn check_tied_features( function target_spec_to_backend_features (line 386) | pub fn target_spec_to_backend_features<'a>( function flag_to_backend_features (line 417) | pub fn flag_to_backend_features<'a>( function retpoline_features_by_flags (line 445) | pub fn retpoline_features_by_flags(sess: &Session, features: &mut Vec Self::Value; FILE: compiler/rustc_codegen_ssa/src/traits/asm.rs type InlineAsmOperandRef (line 12) | pub enum InlineAsmOperandRef<'tcx, B: BackendTypes + ?Sized> { type GlobalAsmOperandRef (line 43) | pub enum GlobalAsmOperandRef<'tcx> { type AsmBuilderMethods (line 49) | pub trait AsmBuilderMethods<'tcx>: BackendTypes { method codegen_inline_asm (line 51) | fn codegen_inline_asm( type AsmCodegenMethods (line 63) | pub trait AsmCodegenMethods<'tcx> { method codegen_global_asm (line 64) | fn codegen_global_asm( method mangled_name (line 77) | fn mangled_name(&self, instance: Instance<'tcx>) -> String; FILE: compiler/rustc_codegen_ssa/src/traits/backend.rs type BackendTypes (line 22) | pub trait BackendTypes { type CodegenBackend (line 38) | pub trait CodegenBackend { method name (line 39) | fn name(&self) -> &'static str; method init (line 41) | fn init(&self, _sess: &Session) {} method print (line 43) | fn print(&self, _req: &PrintRequest, _out: &mut String, _sess: &Sessio... method target_config (line 47) | fn target_config(&self, _sess: &Session) -> TargetConfig { method supported_crate_types (line 60) | fn supported_crate_types(&self, _sess: &Session) -> Vec { method print_passes (line 72) | fn print_passes(&self) {} method print_version (line 74) | fn print_version(&self) {} method replaced_intrinsics (line 78) | fn replaced_intrinsics(&self) -> Vec { method thin_lto_supported (line 83) | fn thin_lto_supported(&self) -> bool { method has_zstd (line 91) | fn has_zstd(&self) -> bool { method metadata_loader (line 99) | fn metadata_loader(&self) -> Box { method provide (line 103) | fn provide(&self, _providers: &mut Providers) {} method target_cpu (line 105) | fn target_cpu(&self, sess: &Session) -> String; method codegen_crate (line 107) | fn codegen_crate<'tcx>(&self, tcx: TyCtxt<'tcx>, crate_info: &CrateInf... method join_codegen (line 114) | fn join_codegen( method print_pass_timings (line 121) | fn print_pass_timings(&self) {} method print_statistics (line 123) | fn print_statistics(&self) {} method link (line 126) | fn link( type ExtraBackendMethods (line 146) | pub trait ExtraBackendMethods: method codegen_allocator (line 149) | fn codegen_allocator<'tcx>( method compile_codegen_unit (line 158) | fn compile_codegen_unit( method supports_parallel (line 167) | fn supports_parallel(&self) -> bool { FILE: compiler/rustc_codegen_ssa/src/traits/builder.rs type OverflowOp (line 28) | pub enum OverflowOp { type BuilderMethods (line 34) | pub trait BuilderMethods<'a, 'tcx>: method build (line 63) | fn build(cx: &'a Self::CodegenCx, llbb: Self::BasicBlock) -> Self; method cx (line 65) | fn cx(&self) -> &Self::CodegenCx; method llbb (line 66) | fn llbb(&self) -> Self::BasicBlock; method set_span (line 68) | fn set_span(&mut self, span: Span); method append_block (line 71) | fn append_block(cx: &'a Self::CodegenCx, llfn: Self::Function, name: &... method append_sibling_block (line 73) | fn append_sibling_block(&mut self, name: &str) -> Self::BasicBlock; method switch_to_block (line 75) | fn switch_to_block(&mut self, llbb: Self::BasicBlock); method ret_void (line 77) | fn ret_void(&mut self); method ret (line 78) | fn ret(&mut self, v: Self::Value); method br (line 79) | fn br(&mut self, dest: Self::BasicBlock); method cond_br (line 80) | fn cond_br( method cond_br_with_expect (line 93) | fn cond_br_with_expect( method switch (line 106) | fn switch( method switch_with_weights (line 116) | fn switch_with_weights( method invoke (line 126) | fn invoke( method unreachable (line 138) | fn unreachable(&mut self); method unreachable_nonterminator (line 141) | fn unreachable_nonterminator(&mut self) { method add (line 150) | fn add(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method fadd (line 151) | fn fadd(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method fadd_fast (line 152) | fn fadd_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::V... method fadd_algebraic (line 153) | fn fadd_algebraic(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method sub (line 154) | fn sub(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method fsub (line 155) | fn fsub(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method fsub_fast (line 156) | fn fsub_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::V... method fsub_algebraic (line 157) | fn fsub_algebraic(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method mul (line 158) | fn mul(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method fmul (line 159) | fn fmul(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method fmul_fast (line 160) | fn fmul_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::V... method fmul_algebraic (line 161) | fn fmul_algebraic(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method udiv (line 162) | fn udiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method exactudiv (line 163) | fn exactudiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::V... method sdiv (line 164) | fn sdiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method exactsdiv (line 165) | fn exactsdiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::V... method fdiv (line 166) | fn fdiv(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method fdiv_fast (line 167) | fn fdiv_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::V... method fdiv_algebraic (line 168) | fn fdiv_algebraic(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method urem (line 169) | fn urem(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method srem (line 170) | fn srem(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method frem (line 171) | fn frem(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method frem_fast (line 172) | fn frem_fast(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::V... method frem_algebraic (line 173) | fn frem_algebraic(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method shl (line 176) | fn shl(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method lshr (line 180) | fn lshr(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method ashr (line 184) | fn ashr(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method unchecked_sadd (line 185) | fn unchecked_sadd(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method unchecked_uadd (line 188) | fn unchecked_uadd(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method unchecked_suadd (line 191) | fn unchecked_suadd(&mut self, lhs: Self::Value, rhs: Self::Value) -> S... method unchecked_ssub (line 194) | fn unchecked_ssub(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method unchecked_usub (line 197) | fn unchecked_usub(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method unchecked_susub (line 200) | fn unchecked_susub(&mut self, lhs: Self::Value, rhs: Self::Value) -> S... method unchecked_smul (line 203) | fn unchecked_smul(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method unchecked_umul (line 206) | fn unchecked_umul(&mut self, lhs: Self::Value, rhs: Self::Value) -> Se... method unchecked_sumul (line 209) | fn unchecked_sumul(&mut self, lhs: Self::Value, rhs: Self::Value) -> S... method and (line 214) | fn and(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method or (line 215) | fn or(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method or_disjoint (line 218) | fn or_disjoint(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self:... method xor (line 221) | fn xor(&mut self, lhs: Self::Value, rhs: Self::Value) -> Self::Value; method neg (line 222) | fn neg(&mut self, v: Self::Value) -> Self::Value; method fneg (line 223) | fn fneg(&mut self, v: Self::Value) -> Self::Value; method not (line 224) | fn not(&mut self, v: Self::Value) -> Self::Value; method checked_binop (line 226) | fn checked_binop( method from_immediate (line 234) | fn from_immediate(&mut self, val: Self::Value) -> Self::Value; method to_immediate_scalar (line 235) | fn to_immediate_scalar(&mut self, val: Self::Value, scalar: Scalar) ->... method alloca (line 237) | fn alloca(&mut self, size: Size, align: Align) -> Self::Value; method scalable_alloca (line 238) | fn scalable_alloca(&mut self, elt: u64, align: Align, element_ty: Ty<'... method load (line 240) | fn load(&mut self, ty: Self::Type, ptr: Self::Value, align: Align) -> ... method volatile_load (line 241) | fn volatile_load(&mut self, ty: Self::Type, ptr: Self::Value) -> Self:... method atomic_load (line 242) | fn atomic_load( method load_from_place (line 249) | fn load_from_place(&mut self, ty: Self::Type, place: PlaceValue) method write_operand_repeatedly (line 257) | fn write_operand_repeatedly( method assume_integer_range (line 268) | fn assume_integer_range(&mut self, imm: Self::Value, ty: Self::Type, r... method assume_nonnull (line 288) | fn assume_nonnull(&mut self, val: Self::Value) { method range_metadata (line 298) | fn range_metadata(&mut self, load: Self::Value, range: WrappingRange); method nonnull_metadata (line 299) | fn nonnull_metadata(&mut self, load: Self::Value); method store (line 301) | fn store(&mut self, val: Self::Value, ptr: Self::Value, align: Align) ... method store_to_place (line 302) | fn store_to_place(&mut self, val: Self::Value, place: PlaceValue Self::V... method inbounds_ptradd (line 348) | fn inbounds_ptradd(&mut self, ptr: Self::Value, offset: Self::Value) -... method trunc (line 352) | fn trunc(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Va... method unchecked_utrunc (line 355) | fn unchecked_utrunc(&mut self, val: Self::Value, dest_ty: Self::Type) ... method unchecked_strunc (line 360) | fn unchecked_strunc(&mut self, val: Self::Value, dest_ty: Self::Type) ... method sext (line 364) | fn sext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value; method fptoui_sat (line 365) | fn fptoui_sat(&mut self, val: Self::Value, dest_ty: Self::Type) -> Sel... method fptosi_sat (line 366) | fn fptosi_sat(&mut self, val: Self::Value, dest_ty: Self::Type) -> Sel... method fptoui (line 367) | fn fptoui(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::V... method fptosi (line 368) | fn fptosi(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::V... method uitofp (line 369) | fn uitofp(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::V... method sitofp (line 370) | fn sitofp(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::V... method fptrunc (line 371) | fn fptrunc(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::... method fpext (line 372) | fn fpext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Va... method ptrtoint (line 373) | fn ptrtoint(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self:... method inttoptr (line 374) | fn inttoptr(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self:... method bitcast (line 375) | fn bitcast(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::... method intcast (line 376) | fn intcast(&mut self, val: Self::Value, dest_ty: Self::Type, is_signed... method pointercast (line 377) | fn pointercast(&mut self, val: Self::Value, dest_ty: Self::Type) -> Se... method cast_float_to_int (line 379) | fn cast_float_to_int( method icmp (line 406) | fn icmp(&mut self, op: IntPredicate, lhs: Self::Value, rhs: Self::Valu... method fcmp (line 407) | fn fcmp(&mut self, op: RealPredicate, lhs: Self::Value, rhs: Self::Val... method three_way_compare (line 410) | fn three_way_compare( method memcpy (line 447) | fn memcpy( method memmove (line 457) | fn memmove( method memset (line 466) | fn memset( method typed_place_copy (line 481) | fn typed_place_copy( method typed_place_copy_with_flags (line 490) | fn typed_place_copy_with_flags( method typed_place_swap (line 523) | fn typed_place_swap( method select (line 540) | fn select( method va_arg (line 547) | fn va_arg(&mut self, list: Self::Value, ty: Self::Type) -> Self::Value; method extract_element (line 548) | fn extract_element(&mut self, vec: Self::Value, idx: Self::Value) -> S... method vector_splat (line 549) | fn vector_splat(&mut self, num_elts: usize, elt: Self::Value) -> Self:... method extract_value (line 550) | fn extract_value(&mut self, agg_val: Self::Value, idx: u64) -> Self::V... method insert_value (line 551) | fn insert_value(&mut self, agg_val: Self::Value, elt: Self::Value, idx... method set_personality_fn (line 553) | fn set_personality_fn(&mut self, personality: Self::Function); method cleanup_landing_pad (line 556) | fn cleanup_landing_pad(&mut self, pers_fn: Self::Function) -> (Self::V... method filter_landing_pad (line 557) | fn filter_landing_pad(&mut self, pers_fn: Self::Function); method resume (line 558) | fn resume(&mut self, exn0: Self::Value, exn1: Self::Value); method cleanup_pad (line 561) | fn cleanup_pad(&mut self, parent: Option, args: &[Self::V... method cleanup_ret (line 562) | fn cleanup_ret(&mut self, funclet: &Self::Funclet, unwind: Option ... method catch_switch (line 564) | fn catch_switch( method get_funclet_cleanuppad (line 570) | fn get_funclet_cleanuppad(&self, funclet: &Self::Funclet) -> Self::Value; method atomic_cmpxchg (line 572) | fn atomic_cmpxchg( method atomic_rmw (line 583) | fn atomic_rmw( method atomic_fence (line 591) | fn atomic_fence(&mut self, order: AtomicOrdering, scope: Synchronizati... method set_invariant_load (line 592) | fn set_invariant_load(&mut self, load: Self::Value); method lifetime_start (line 595) | fn lifetime_start(&mut self, ptr: Self::Value, size: Size); method lifetime_end (line 598) | fn lifetime_end(&mut self, ptr: Self::Value, size: Size); method call (line 624) | fn call( method tail_call (line 635) | fn tail_call( method zext (line 646) | fn zext(&mut self, val: Self::Value, dest_ty: Self::Type) -> Self::Value; method apply_attrs_to_cleanup_callsite (line 648) | fn apply_attrs_to_cleanup_callsite(&mut self, llret: Self::Value); FILE: compiler/rustc_codegen_ssa/src/traits/consts.rs type ConstCodegenMethods (line 6) | pub trait ConstCodegenMethods: BackendTypes { method const_null (line 8) | fn const_null(&self, t: Self::Type) -> Self::Value; method const_undef (line 11) | fn const_undef(&self, t: Self::Type) -> Self::Value; method const_poison (line 16) | fn const_poison(&self, t: Self::Type) -> Self::Value; method const_bool (line 18) | fn const_bool(&self, val: bool) -> Self::Value; method const_i8 (line 20) | fn const_i8(&self, i: i8) -> Self::Value; method const_i16 (line 21) | fn const_i16(&self, i: i16) -> Self::Value; method const_i32 (line 22) | fn const_i32(&self, i: i32) -> Self::Value; method const_int (line 23) | fn const_int(&self, t: Self::Type, i: i64) -> Self::Value; method const_u8 (line 24) | fn const_u8(&self, i: u8) -> Self::Value; method const_u32 (line 25) | fn const_u32(&self, i: u32) -> Self::Value; method const_u64 (line 26) | fn const_u64(&self, i: u64) -> Self::Value; method const_u128 (line 27) | fn const_u128(&self, i: u128) -> Self::Value; method const_usize (line 28) | fn const_usize(&self, i: u64) -> Self::Value; method const_uint (line 29) | fn const_uint(&self, t: Self::Type, i: u64) -> Self::Value; method const_uint_big (line 30) | fn const_uint_big(&self, t: Self::Type, u: u128) -> Self::Value; method const_real (line 31) | fn const_real(&self, t: Self::Type, val: f64) -> Self::Value; method const_str (line 33) | fn const_str(&self, s: &str) -> (Self::Value, Self::Value); method const_struct (line 34) | fn const_struct(&self, elts: &[Self::Value], packed: bool) -> Self::Va... method const_vector (line 35) | fn const_vector(&self, elts: &[Self::Value]) -> Self::Value; method const_to_opt_uint (line 37) | fn const_to_opt_uint(&self, v: Self::Value) -> Option; method const_to_opt_u128 (line 38) | fn const_to_opt_u128(&self, v: Self::Value, sign_ext: bool) -> Option<... method scalar_to_backend (line 40) | fn scalar_to_backend(&self, cv: Scalar, layout: abi::Scalar, llty: Sel... method const_ptr_byte_offset (line 42) | fn const_ptr_byte_offset(&self, val: Self::Value, offset: abi::Size) -... FILE: compiler/rustc_codegen_ssa/src/traits/coverageinfo.rs type CoverageInfoBuilderMethods (line 4) | pub trait CoverageInfoBuilderMethods<'tcx> { method add_coverage (line 9) | fn add_coverage(&mut self, instance: Instance<'tcx>, kind: &CoverageKi... FILE: compiler/rustc_codegen_ssa/src/traits/debuginfo.rs type DebugInfoCodegenMethods (line 12) | pub trait DebugInfoCodegenMethods<'tcx>: BackendTypes { method create_vtable_debuginfo (line 13) | fn create_vtable_debuginfo( method create_function_debug_context (line 24) | fn create_function_debug_context( method dbg_scope_fn (line 34) | fn dbg_scope_fn( method dbg_loc (line 41) | fn dbg_loc( method extend_scope_to_file (line 48) | fn extend_scope_to_file( method debuginfo_finalize (line 53) | fn debuginfo_finalize(&self); method create_dbg_var (line 57) | fn create_dbg_var( type DebugInfoBuilderMethods (line 67) | pub trait DebugInfoBuilderMethods<'tcx>: BackendTypes { method dbg_var_addr (line 70) | fn dbg_var_addr( method dbg_var_value (line 82) | fn dbg_var_value( method set_dbg_loc (line 94) | fn set_dbg_loc(&mut self, dbg_loc: Self::DILocation); method clear_dbg_loc (line 95) | fn clear_dbg_loc(&mut self); method insert_reference_to_gdb_debug_scripts_section_global (line 96) | fn insert_reference_to_gdb_debug_scripts_section_global(&mut self); method set_var_name (line 97) | fn set_var_name(&mut self, value: Self::Value, name: &str); method with_move_annotation (line 105) | fn with_move_annotation( FILE: compiler/rustc_codegen_ssa/src/traits/declare.rs type PreDefineCodegenMethods (line 6) | pub trait PreDefineCodegenMethods<'tcx> { method predefine_static (line 7) | fn predefine_static( method predefine_fn (line 14) | fn predefine_fn( FILE: compiler/rustc_codegen_ssa/src/traits/intrinsic.rs type IntrinsicCallBuilderMethods (line 8) | pub trait IntrinsicCallBuilderMethods<'tcx>: BackendTypes { method codegen_intrinsic_call (line 20) | fn codegen_intrinsic_call( method codegen_llvm_intrinsic_call (line 28) | fn codegen_llvm_intrinsic_call( method abort (line 35) | fn abort(&mut self); method assume (line 36) | fn assume(&mut self, val: Self::Value); method expect (line 37) | fn expect(&mut self, cond: Self::Value, expected: bool) -> Self::Value; method type_checked_load (line 40) | fn type_checked_load( method va_start (line 48) | fn va_start(&mut self, val: Self::Value) -> Self::Value; method va_end (line 51) | fn va_end(&mut self, val: Self::Value) -> Self::Value; FILE: compiler/rustc_codegen_ssa/src/traits/misc.rs type MiscCodegenMethods (line 9) | pub trait MiscCodegenMethods<'tcx>: BackendTypes { method vtables (line 10) | fn vtables( method apply_vcall_visibility_metadata (line 13) | fn apply_vcall_visibility_metadata( method get_fn (line 20) | fn get_fn(&self, instance: Instance<'tcx>) -> Self::Function; method get_fn_addr (line 21) | fn get_fn_addr(&self, instance: Instance<'tcx>) -> Self::Value; method eh_personality (line 22) | fn eh_personality(&self) -> Self::Function; method sess (line 23) | fn sess(&self) -> &Session; method set_frame_pointer_type (line 24) | fn set_frame_pointer_type(&self, llfn: Self::Function); method apply_target_cpu_attr (line 25) | fn apply_target_cpu_attr(&self, llfn: Self::Function); method declare_c_main (line 28) | fn declare_c_main(&self, fn_type: Self::FunctionSignature) -> Option, kind: Option<&str... method codegen_static (line 8) | fn codegen_static(&mut self, def_id: DefId); type StaticBuilderMethods (line 11) | pub trait StaticBuilderMethods: BackendTypes { method get_static (line 12) | fn get_static(&mut self, def_id: DefId) -> Self::Value; FILE: compiler/rustc_codegen_ssa/src/traits/type_.rs type BaseTypeCodegenMethods (line 12) | pub trait BaseTypeCodegenMethods: BackendTypes { method type_i8 (line 13) | fn type_i8(&self) -> Self::Type; method type_i16 (line 14) | fn type_i16(&self) -> Self::Type; method type_i32 (line 15) | fn type_i32(&self) -> Self::Type; method type_i64 (line 16) | fn type_i64(&self) -> Self::Type; method type_i128 (line 17) | fn type_i128(&self) -> Self::Type; method type_isize (line 18) | fn type_isize(&self) -> Self::Type; method type_f16 (line 20) | fn type_f16(&self) -> Self::Type; method type_f32 (line 21) | fn type_f32(&self) -> Self::Type; method type_f64 (line 22) | fn type_f64(&self) -> Self::Type; method type_f128 (line 23) | fn type_f128(&self) -> Self::Type; method type_array (line 25) | fn type_array(&self, ty: Self::Type, len: u64) -> Self::Type; method type_func (line 26) | fn type_func(&self, args: &[Self::Type], ret: Self::Type) -> Self::Fun... method type_kind (line 27) | fn type_kind(&self, ty: Self::Type) -> TypeKind; method type_ptr (line 28) | fn type_ptr(&self) -> Self::Type; method type_ptr_ext (line 29) | fn type_ptr_ext(&self, address_space: AddressSpace) -> Self::Type; method element_type (line 30) | fn element_type(&self, ty: Self::Type) -> Self::Type; method vector_length (line 33) | fn vector_length(&self, ty: Self::Type) -> usize; method float_width (line 35) | fn float_width(&self, ty: Self::Type) -> usize; method int_width (line 38) | fn int_width(&self, ty: Self::Type) -> u64; method val_ty (line 40) | fn val_ty(&self, v: Self::Value) -> Self::Type; type DerivedTypeCodegenMethods (line 43) | pub trait DerivedTypeCodegenMethods<'tcx>: method type_int (line 46) | fn type_int(&self) -> Self::Type { method type_from_integer (line 55) | fn type_from_integer(&self, i: Integer) -> Self::Type { method type_from_float (line 66) | fn type_from_float(&self, f: Float) -> Self::Type { method type_needs_drop (line 76) | fn type_needs_drop(&self, ty: Ty<'tcx>) -> bool { method type_is_sized (line 80) | fn type_is_sized(&self, ty: Ty<'tcx>) -> bool { method type_is_freeze (line 84) | fn type_is_freeze(&self, ty: Ty<'tcx>) -> bool { method type_from_primitive (line 88) | fn type_from_primitive(&self, p: Primitive) -> Self::Type { method type_from_scalar (line 97) | fn type_from_scalar(&self, s: Scalar) -> Self::Type { type LayoutTypeCodegenMethods (line 112) | pub trait LayoutTypeCodegenMethods<'tcx>: BackendTypes { method backend_type (line 115) | fn backend_type(&self, layout: TyAndLayout<'tcx>) -> Self::Type; method cast_backend_type (line 116) | fn cast_backend_type(&self, ty: &CastTarget) -> Self::Type; method fn_decl_backend_type (line 117) | fn fn_decl_backend_type(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> Self... method fn_ptr_backend_type (line 118) | fn fn_ptr_backend_type(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> Self:... method reg_backend_type (line 119) | fn reg_backend_type(&self, ty: &Reg) -> Self::Type; method immediate_backend_type (line 129) | fn immediate_backend_type(&self, layout: TyAndLayout<'tcx>) -> Self::T... method is_backend_immediate (line 130) | fn is_backend_immediate(&self, layout: TyAndLayout<'tcx>) -> bool; method is_backend_scalar_pair (line 131) | fn is_backend_scalar_pair(&self, layout: TyAndLayout<'tcx>) -> bool; method scalar_pair_element_backend_type (line 132) | fn scalar_pair_element_backend_type( method is_backend_ref (line 147) | fn is_backend_ref(&self, layout: TyAndLayout<'tcx>) -> bool { type TypeMembershipCodegenMethods (line 156) | pub trait TypeMembershipCodegenMethods<'tcx>: BackendTypes { method add_type_metadata (line 157) | fn add_type_metadata(&self, _function: Self::Function, _typeid: &[u8]) {} method set_type_metadata (line 158) | fn set_type_metadata(&self, _function: Self::Function, _typeid: &[u8]) {} method add_kcfi_type_metadata (line 159) | fn add_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u... method set_kcfi_type_metadata (line 160) | fn set_kcfi_type_metadata(&self, _function: Self::Function, _typeid: u... type ArgAbiBuilderMethods (line 163) | pub trait ArgAbiBuilderMethods<'tcx>: BackendTypes { method store_fn_arg (line 164) | fn store_fn_arg( method store_arg (line 170) | fn store_arg( FILE: compiler/rustc_codegen_ssa/src/traits/write.rs type WriteBackendMethods (line 15) | pub trait WriteBackendMethods: Clone + 'static { method thread_profiler (line 21) | fn thread_profiler() -> Box { method target_machine_factory (line 24) | fn target_machine_factory( method optimize_and_codegen_fat_lto (line 32) | fn optimize_and_codegen_fat_lto( method run_thin_lto (line 44) | fn run_thin_lto( method optimize (line 53) | fn optimize( method optimize_and_codegen_thin (line 60) | fn optimize_and_codegen_thin( method codegen (line 67) | fn codegen( method serialize_module (line 74) | fn serialize_module(module: Self::Module, is_thin: bool) -> Self::Modu... type ModuleBufferMethods (line 77) | pub trait ModuleBufferMethods: Send + Sync { method data (line 78) | fn data(&self) -> &[u8]; FILE: compiler/rustc_const_eval/src/check_consts/check.rs type QualifResults (line 34) | type QualifResults<'mir, 'tcx, Q> = type ConstConditionsHold (line 38) | enum ConstConditionsHold { type Qualifs (line 44) | pub(crate) struct Qualifs<'mir, 'tcx> { function needs_drop (line 54) | pub(crate) fn needs_drop( function needs_non_const_drop (line 83) | pub(crate) fn needs_non_const_drop( function has_mut_interior (line 112) | fn has_mut_interior( function in_return_place (line 138) | fn in_return_place( type Checker (line 171) | pub struct Checker<'mir, 'tcx> { type Target (line 187) | type Target = ConstCx<'mir, 'tcx>; method deref (line 189) | fn deref(&self) -> &Self::Target { function new (line 195) | pub fn new(ccx: &'mir ConstCx<'mir, 'tcx>) -> Self { function check_body (line 206) | pub fn check_body(&mut self) { function local_is_transient (line 236) | fn local_is_transient(&mut self, local: Local) -> bool { function qualifs_in_return_place (line 266) | pub fn qualifs_in_return_place(&mut self) -> ConstQualifs { function check_op (line 271) | pub fn check_op(&mut self, op: impl NonConstOp<'tcx>) { function check_op_spanned (line 277) | pub fn check_op_spanned>(&mut self, op: O, span: Spa... function check_static (line 331) | fn check_static(&mut self, def_id: DefId, span: Span) { function place_may_escape (line 345) | fn place_may_escape(&mut self, place: &Place<'_>) -> bool { function revalidate_conditional_constness (line 376) | fn revalidate_conditional_constness( function check_drop_terminator (line 427) | pub fn check_drop_terminator( function check_callee_stability (line 465) | fn check_callee_stability(&mut self, def_id: DefId) { function visit_basic_block_data (line 547) | fn visit_basic_block_data(&mut self, bb: BasicBlock, block: &BasicBlockD... function visit_rvalue (line 564) | fn visit_rvalue(&mut self, rvalue: &Rvalue<'tcx>, location: Location) { function visit_operand (line 702) | fn visit_operand(&mut self, op: &Operand<'tcx>, location: Location) { function visit_source_info (line 711) | fn visit_source_info(&mut self, source_info: &SourceInfo) { function visit_statement (line 716) | fn visit_statement(&mut self, statement: &Statement<'tcx>, location: Loc... function visit_terminator (line 739) | fn visit_terminator(&mut self, terminator: &Terminator<'tcx>, location: ... function is_int_bool_float_or_char (line 974) | fn is_int_bool_float_or_char(ty: Ty<'_>) -> bool { function emit_unstable_in_stable_exposed_error (line 978) | fn emit_unstable_in_stable_exposed_error( FILE: compiler/rustc_const_eval/src/check_consts/mod.rs type ConstCx (line 24) | pub struct ConstCx<'mir, 'tcx> { function new (line 32) | pub fn new(tcx: TyCtxt<'tcx>, body: &'mir mir::Body<'tcx>) -> Self { function dcx (line 38) | pub(crate) fn dcx(&self) -> DiagCtxtHandle<'tcx> { function def_id (line 42) | pub fn def_id(&self) -> LocalDefId { function const_kind (line 49) | pub fn const_kind(&self) -> hir::ConstContext { function enforce_recursive_const_stability (line 53) | pub fn enforce_recursive_const_stability(&self) -> bool { function is_async (line 62) | fn is_async(&self) -> bool { function fn_sig (line 66) | pub fn fn_sig(&self) -> PolyFnSig<'tcx> { function rustc_allow_const_fn_unstable (line 78) | pub fn rustc_allow_const_fn_unstable( function is_fn_or_trait_safe_to_expose_on_stable (line 93) | pub fn is_fn_or_trait_safe_to_expose_on_stable(tcx: TyCtxt<'_>, def_id: ... FILE: compiler/rustc_const_eval/src/check_consts/ops.rs type Status (line 29) | pub enum Status { type DiagImportance (line 47) | pub enum DiagImportance { type NonConstOp (line 56) | pub trait NonConstOp<'tcx>: std::fmt::Debug { method status_in_item (line 58) | fn status_in_item(&self, _ccx: &ConstCx<'_, 'tcx>) -> Status { method importance (line 62) | fn importance(&self) -> DiagImportance { method build_error (line 66) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tcx>; type FnCallIndirect (line 71) | pub(crate) struct FnCallIndirect; method build_error (line 73) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type FnCallCVariadic (line 80) | pub(crate) struct FnCallCVariadic; method status_in_item (line 82) | fn status_in_item(&self, _ccx: &ConstCx<'_, 'tcx>) -> Status { method build_error (line 91) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type ConditionallyConstCall (line 101) | pub(crate) struct ConditionallyConstCall<'tcx> { function status_in_item (line 109) | fn status_in_item(&self, _ccx: &ConstCx<'_, 'tcx>) -> Status { function build_error (line 120) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, _: Span) -> Diag<'tcx> { type FnCallNonConst (line 141) | pub(crate) struct FnCallNonConst<'tcx> { function build_error (line 149) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, _: Span) -> Diag<'tcx> { function build_error_for_const_call (line 218) | fn build_error_for_const_call<'tcx>( type CallUnstable (line 449) | pub(crate) struct CallUnstable { method status_in_item (line 461) | fn status_in_item(&self, _ccx: &ConstCx<'_, 'tcx>) -> Status { method build_error (line 470) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type IntrinsicNonConst (line 490) | pub(crate) struct IntrinsicNonConst { method build_error (line 495) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type IntrinsicUnstable (line 506) | pub(crate) struct IntrinsicUnstable { method status_in_item (line 513) | fn status_in_item(&self, _ccx: &ConstCx<'_, 'tcx>) -> Status { method build_error (line 524) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type Coroutine (line 535) | pub(crate) struct Coroutine(pub hir::CoroutineKind); method status_in_item (line 537) | fn status_in_item(&self, _: &ConstCx<'_, 'tcx>) -> Status { method build_error (line 555) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type InlineAsm (line 566) | pub(crate) struct InlineAsm; method build_error (line 568) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type LiveDrop (line 574) | pub(crate) struct LiveDrop<'tcx> { function status_in_item (line 580) | fn status_in_item(&self, _ccx: &ConstCx<'_, 'tcx>) -> Status { function build_error (line 593) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tcx> { type EscapingCellBorrow (line 619) | pub(crate) struct EscapingCellBorrow; method importance (line 621) | fn importance(&self) -> DiagImportance { method build_error (line 626) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type EscapingMutBorrow (line 635) | pub(crate) struct EscapingMutBorrow; method status_in_item (line 638) | fn status_in_item(&self, _ccx: &ConstCx<'_, 'tcx>) -> Status { method importance (line 642) | fn importance(&self) -> DiagImportance { method build_error (line 648) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type PanicNonStr (line 655) | pub(crate) struct PanicNonStr; method build_error (line 657) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type RawPtrComparison (line 666) | pub(crate) struct RawPtrComparison; method build_error (line 668) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type RawPtrToIntCast (line 678) | pub(crate) struct RawPtrToIntCast; method build_error (line 680) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... type ThreadLocalAccess (line 687) | pub(crate) struct ThreadLocalAccess; method build_error (line 689) | fn build_error(&self, ccx: &ConstCx<'_, 'tcx>, span: Span) -> Diag<'tc... FILE: compiler/rustc_const_eval/src/check_consts/post_drop_elaboration.rs function checking_enabled (line 14) | pub fn checking_enabled(ccx: &ConstCx<'_, '_>) -> bool { function check_live_drops (line 32) | pub fn check_live_drops<'tcx>(tcx: TyCtxt<'tcx>, body: &mir::Body<'tcx>) { type CheckLiveDrops (line 54) | struct CheckLiveDrops<'mir, 'tcx> { function visit_basic_block_data (line 59) | fn visit_basic_block_data(&mut self, bb: BasicBlock, block: &mir::BasicB... function visit_terminator (line 70) | fn visit_terminator(&mut self, terminator: &mir::Terminator<'tcx>, locat... FILE: compiler/rustc_const_eval/src/check_consts/qualifs.rs function in_any_value_of_ty (line 19) | pub fn in_any_value_of_ty<'tcx>( type Qualif (line 43) | pub trait Qualif { constant ANALYSIS_NAME (line 45) | const ANALYSIS_NAME: &'static str; constant IS_CLEARED_ON_MOVE (line 48) | const IS_CLEARED_ON_MOVE: bool = false; constant ALLOW_PROMOTED (line 51) | const ALLOW_PROMOTED: bool = false; method in_qualifs (line 54) | fn in_qualifs(qualifs: &ConstQualifs) -> bool; method in_any_value_of_ty (line 63) | fn in_any_value_of_ty<'tcx>(cx: &ConstCx<'_, 'tcx>, ty: Ty<'tcx>) -> b... method is_structural_in_adt_value (line 70) | fn is_structural_in_adt_value<'tcx>(cx: &ConstCx<'_, 'tcx>, adt: AdtDe... constant ANALYSIS_NAME (line 81) | const ANALYSIS_NAME: &'static str = "flow_has_mut_interior"; method in_qualifs (line 83) | fn in_qualifs(qualifs: &ConstQualifs) -> bool { method in_any_value_of_ty (line 87) | fn in_any_value_of_ty<'tcx>(cx: &ConstCx<'_, 'tcx>, ty: Ty<'tcx>) -> b... method is_structural_in_adt_value (line 126) | fn is_structural_in_adt_value<'tcx>(_cx: &ConstCx<'_, 'tcx>, adt: AdtD... constant ANALYSIS_NAME (line 141) | const ANALYSIS_NAME: &'static str = "flow_needs_drop"; constant IS_CLEARED_ON_MOVE (line 142) | const IS_CLEARED_ON_MOVE: bool = true; constant ALLOW_PROMOTED (line 143) | const ALLOW_PROMOTED: bool = true; method in_qualifs (line 145) | fn in_qualifs(qualifs: &ConstQualifs) -> bool { method in_any_value_of_ty (line 149) | fn in_any_value_of_ty<'tcx>(cx: &ConstCx<'_, 'tcx>, ty: Ty<'tcx>) -> b... method is_structural_in_adt_value (line 153) | fn is_structural_in_adt_value<'tcx>(cx: &ConstCx<'_, 'tcx>, adt: AdtDe... constant ANALYSIS_NAME (line 163) | const ANALYSIS_NAME: &'static str = "flow_needs_nonconst_drop"; constant IS_CLEARED_ON_MOVE (line 164) | const IS_CLEARED_ON_MOVE: bool = true; constant ALLOW_PROMOTED (line 165) | const ALLOW_PROMOTED: bool = true; method in_qualifs (line 167) | fn in_qualifs(qualifs: &ConstQualifs) -> bool { method in_any_value_of_ty (line 172) | fn in_any_value_of_ty<'tcx>(cx: &ConstCx<'_, 'tcx>, ty: Ty<'tcx>) -> b... method is_structural_in_adt_value (line 203) | fn is_structural_in_adt_value<'tcx>(cx: &ConstCx<'_, 'tcx>, adt: AdtDe... type HasMutInterior (line 78) | pub struct HasMutInterior; type NeedsDrop (line 138) | pub struct NeedsDrop; type NeedsNonConstDrop (line 160) | pub struct NeedsNonConstDrop; function in_rvalue (line 221) | pub fn in_rvalue<'tcx, Q, F>( function in_place (line 282) | pub fn in_place<'tcx, Q, F>(cx: &ConstCx<'_, 'tcx>, in_local: &mut F, pl... function in_operand (line 325) | pub fn in_operand<'tcx, Q, F>( FILE: compiler/rustc_const_eval/src/check_consts/resolver.rs type TransferFunction (line 25) | struct TransferFunction<'mir, 'tcx, Q> { function new (line 35) | fn new(ccx: &'mir ConstCx<'mir, 'tcx>, state: &'mir mut State) -> Self { function initialize_state (line 39) | fn initialize_state(&mut self) { function assign_qualif_direct (line 51) | fn assign_qualif_direct(&mut self, place: &mir::Place<'tcx>, mut value: ... function apply_call_return_effect (line 81) | fn apply_call_return_effect( function address_of_allows_mutation (line 98) | fn address_of_allows_mutation(&self) -> bool { function ref_allows_mutation (line 104) | fn ref_allows_mutation(&self, kind: mir::BorrowKind, place: mir::Place<'... function shared_borrow_allows_mutation (line 122) | fn shared_borrow_allows_mutation(&self, place: mir::Place<'tcx>) -> bool { function visit_operand (line 131) | fn visit_operand(&mut self, operand: &mir::Operand<'tcx>, location: Loca... function visit_assign (line 152) | fn visit_assign( function visit_rvalue (line 169) | fn visit_rvalue(&mut self, rvalue: &mir::Rvalue<'tcx>, location: Locatio... function visit_statement (line 207) | fn visit_statement(&mut self, statement: &Statement<'tcx>, location: Loc... function visit_terminator (line 217) | fn visit_terminator(&mut self, terminator: &mir::Terminator<'tcx>, locat... type FlowSensitiveAnalysis (line 228) | pub(super) struct FlowSensitiveAnalysis<'mir, 'tcx, Q> { function new (line 237) | pub(super) fn new(_: Q, ccx: &'mir ConstCx<'mir, 'tcx>) -> Self { function transfer_function (line 241) | fn transfer_function(&self, state: &'mir mut State) -> TransferFunction<... type State (line 249) | pub(super) struct State { method contains (line 272) | pub(super) fn contains(&self, local: Local) -> bool { method fmt_with (line 278) | fn fmt_with(&self, ctxt: &C, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt_diff_with (line 286) | fn fmt_diff_with(&self, old: &Self, ctxt: &C, f: &mut fmt::Formatter<'... method clone (line 258) | fn clone(&self) -> Self { method clone_from (line 264) | fn clone_from(&mut self, other: &Self) { method join (line 308) | fn join(&mut self, other: &Self) -> bool { type Domain (line 317) | type Domain = State; constant NAME (line 319) | const NAME: &'static str = Q::ANALYSIS_NAME; function bottom_value (line 321) | fn bottom_value(&self, body: &mir::Body<'tcx>) -> Self::Domain { function initialize_start_block (line 328) | fn initialize_start_block(&self, _body: &mir::Body<'tcx>, state: &mut Se... function apply_primary_statement_effect (line 332) | fn apply_primary_statement_effect( function apply_primary_terminator_effect (line 341) | fn apply_primary_terminator_effect<'mir>( function apply_call_return_effect (line 351) | fn apply_call_return_effect( FILE: compiler/rustc_const_eval/src/const_eval/dummy_machine.rs type Zst (line 21) | struct Zst; method fmt (line 24) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type DummyMachine (line 33) | pub struct DummyMachine; constant PANIC_ON_ALLOC_FAIL (line 43) | const PANIC_ON_ALLOC_FAIL: bool = true; constant ALL_CONSTS_ARE_PRECHECKED (line 46) | const ALL_CONSTS_ARE_PRECHECKED: bool = false; method enforce_alignment (line 49) | fn enforce_alignment(_ecx: &InterpCx<'tcx, Self>) -> bool { method enforce_validity (line 53) | fn enforce_validity(_ecx: &InterpCx<'tcx, Self>, _layout: TyAndLayout<... method before_access_global (line 57) | fn before_access_global( method find_mir_or_eval_fn (line 78) | fn find_mir_or_eval_fn( method panic_nounwind (line 90) | fn panic_nounwind( method call_intrinsic (line 97) | fn call_intrinsic( method assert_panic (line 108) | fn assert_panic( method runtime_checks (line 117) | fn runtime_checks(_ecx: &InterpCx<'tcx, Self>, r: RuntimeChecks) -> In... method binary_ptr_op (line 123) | fn binary_ptr_op( method expose_provenance (line 170) | fn expose_provenance( method init_frame (line 177) | fn init_frame( method stack (line 185) | fn stack<'a>( method stack_mut (line 192) | fn stack_mut<'a>( method get_default_alloc_params (line 198) | fn get_default_alloc_params( method static_def_id (line 36) | fn static_def_id(&self) -> Option { FILE: compiler/rustc_const_eval/src/const_eval/dyn_trait.rs function write_dyn_trait_type_info (line 10) | pub(crate) fn write_dyn_trait_type_info( function mk_dyn_principal_auto_trait_ty (line 64) | fn mk_dyn_principal_auto_trait_ty( function write_dyn_trait_predicates_slice (line 79) | fn write_dyn_trait_predicates_slice( function write_dyn_trait_predicate (line 121) | fn write_dyn_trait_predicate( function write_trait (line 153) | fn write_trait( FILE: compiler/rustc_const_eval/src/const_eval/error.rs type ConstEvalErrKind (line 22) | pub enum ConstEvalErrKind { method fmt (line 46) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method into (line 90) | fn into(self) -> InterpErrorInfo<'tcx> { function get_span_and_frames (line 95) | pub fn get_span_and_frames<'tcx>( function report (line 167) | pub(super) fn report<'tcx>( function lint (line 240) | pub(super) fn lint<'tcx, L>( FILE: compiler/rustc_const_eval/src/const_eval/eval_queries.rs function setup_for_eval (line 26) | fn setup_for_eval<'tcx>( function eval_body_using_ecx (line 67) | fn eval_body_using_ecx<'tcx, R: InterpretationResult<'tcx>>( function eval_trivial_const_using_ecx (line 103) | fn eval_trivial_const_using_ecx<'tcx, R: InterpretationResult<'tcx>>( function intern_and_validate (line 118) | fn intern_and_validate<'tcx, R: InterpretationResult<'tcx>>( function mk_eval_cx_to_read_const_val (line 176) | pub(crate) fn mk_eval_cx_to_read_const_val<'tcx>( function mk_eval_cx_for_const_val (line 193) | pub fn mk_eval_cx_for_const_val<'tcx>( function op_to_const (line 212) | pub(super) fn op_to_const<'tcx>( function turn_into_const_value (line 295) | pub(crate) fn turn_into_const_value<'tcx>( function eval_to_const_value_raw_provider (line 325) | pub fn eval_to_const_value_raw_provider<'tcx>( function eval_static_initializer_provider (line 336) | pub fn eval_static_initializer_provider<'tcx>( type InterpretationResult (line 347) | pub trait InterpretationResult<'tcx> { method make_result (line 351) | fn make_result( function make_result (line 358) | fn make_result( function eval_to_allocation_raw_provider (line 367) | pub fn eval_to_allocation_raw_provider<'tcx>( function eval_in_interpreter (line 390) | fn eval_in_interpreter<'tcx, R: InterpretationResult<'tcx>>( function const_validate_mplace (line 421) | fn const_validate_mplace<'tcx>( function report_eval_error (line 452) | fn report_eval_error<'tcx>( function report_validation_error (line 477) | fn report_validation_error<'tcx>( FILE: compiler/rustc_const_eval/src/const_eval/fn_queries.rs function constness (line 10) | fn constness(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Constness { function is_promotable_const_fn (line 55) | fn is_promotable_const_fn(tcx: TyCtxt<'_>, def_id: DefId) -> bool { function provide (line 73) | pub fn provide(providers: &mut Providers) { FILE: compiler/rustc_const_eval/src/const_eval/machine.rs constant LINT_TERMINATOR_LIMIT (line 33) | const LINT_TERMINATOR_LIMIT: usize = 2_000_000; constant TINY_LINT_TERMINATOR_LIMIT (line 36) | const TINY_LINT_TERMINATOR_LIMIT: usize = 20; constant PROGRESS_INDICATOR_START (line 39) | const PROGRESS_INDICATOR_START: usize = 4_000_000; type CompileTimeMachine (line 45) | pub struct CompileTimeMachine<'tcx> { type CheckAlignment (line 73) | pub enum CheckAlignment { type CanAccessMutGlobal (line 82) | pub(crate) enum CanAccessMutGlobal { method from (line 88) | fn from(value: bool) -> Self { function new (line 94) | pub(crate) fn new( function contains_key (line 111) | fn contains_key(&mut self, k: &Q) -> bool function contains_key_ref (line 119) | fn contains_key_ref(&self, k: &Q) -> bool function insert (line 127) | fn insert(&mut self, k: K, v: V) -> Option { function remove (line 132) | fn remove(&mut self, k: &Q) -> Option function filter_map_collect (line 141) | fn filter_map_collect(&self, mut f: impl FnMut(&K, &V) -> Option) ... function get_or (line 146) | fn get_or(&self, k: K, vacant: impl FnOnce() -> Result) -> Resu... function get_mut_or (line 157) | fn get_mut_or(&mut self, k: K, vacant: impl FnOnce() -> Result)... type CompileTimeInterpCx (line 168) | pub type CompileTimeInterpCx<'tcx> = InterpCx<'tcx, CompileTimeMachine<'... type MemoryKind (line 171) | pub enum MemoryKind { method fmt (line 180) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method may_leak (line 191) | fn may_leak(self) -> bool { function may_leak (line 200) | fn may_leak(self) -> bool { function location_triple_for_span (line 207) | fn location_triple_for_span(&self, span: Span) -> (Symbol, u32, u32) { function hook_special_const_fn (line 226) | fn hook_special_const_fn( function guaranteed_cmp (line 274) | fn guaranteed_cmp(&mut self, a: Scalar, b: Scalar) -> InterpResult<'tcx,... function best_lint_scope (line 390) | pub fn best_lint_scope(&self, tcx: TyCtxt<'tcx>) -> hir::HirId { constant PANIC_ON_ALLOC_FAIL (line 398) | const PANIC_ON_ALLOC_FAIL: bool = false; function enforce_alignment (line 401) | fn enforce_alignment(ecx: &InterpCx<'tcx, Self>) -> bool { function enforce_validity (line 406) | fn enforce_validity(ecx: &InterpCx<'tcx, Self>, layout: TyAndLayout<'tcx... function load_mir (line 410) | fn load_mir( function find_mir_or_eval_fn (line 420) | fn find_mir_or_eval_fn( function panic_nounwind (line 456) | fn panic_nounwind(ecx: &mut InterpCx<'tcx, Self>, msg: &str) -> InterpRe... function call_intrinsic (line 463) | fn call_intrinsic( function assert_panic (line 644) | fn assert_panic( function runtime_checks (line 677) | fn runtime_checks( function binary_ptr_op (line 686) | fn binary_ptr_op( function increment_const_eval_counter (line 695) | fn increment_const_eval_counter(ecx: &mut InterpCx<'tcx, Self>) -> Inter... function expose_provenance (line 758) | fn expose_provenance( function init_frame (line 767) | fn init_frame( function stack (line 780) | fn stack<'a>( function stack_mut (line 787) | fn stack_mut<'a>( function before_access_global (line 793) | fn before_access_global( function retag_ptr_value (line 825) | fn retag_ptr_value( function before_memory_write (line 859) | fn before_memory_write( function before_alloc_access (line 879) | fn before_alloc_access( function cached_union_data_range (line 905) | fn cached_union_data_range<'e>( function get_default_alloc_params (line 918) | fn get_default_alloc_params(&self) -> ( function tag_for_variant_provider (line 69) | pub fn tag_for_variant_provider<'tcx>( FILE: compiler/rustc_const_eval/src/const_eval/type_info.rs function downcast (line 21) | fn downcast<'a>( function allocate_fill_and_write_slice_ptr (line 37) | fn allocate_fill_and_write_slice_ptr( function write_type_info (line 68) | pub(crate) fn write_type_info( function write_field (line 245) | fn write_field( function write_tuple_type_info (line 286) | pub(crate) fn write_tuple_type_info( function write_array_type_info (line 304) | pub(crate) fn write_array_type_info( function write_slice_type_info (line 328) | pub(crate) fn write_slice_type_info( function write_int_type_info (line 349) | fn write_int_type_info( function write_float_type_info (line 371) | fn write_float_type_info( function write_reference_type_info (line 391) | pub(crate) fn write_reference_type_info( function write_fn_ptr_type_info (line 416) | pub(crate) fn write_fn_ptr_type_info( function write_pointer_type_info (line 475) | pub(crate) fn write_pointer_type_info( FILE: compiler/rustc_const_eval/src/const_eval/type_info/adt.rs function write_adt_type_info (line 16) | pub(crate) fn write_adt_type_info( function write_struct_type_info (line 54) | pub(crate) fn write_struct_type_info( function write_union_type_info (line 84) | pub(crate) fn write_union_type_info( function write_enum_type_info (line 114) | pub(crate) fn write_enum_type_info( function write_enum_variant (line 153) | fn write_enum_variant( function write_variant_fields (line 185) | fn write_variant_fields( function write_generics (line 203) | fn write_generics( function write_generic_lifetime (line 217) | fn write_generic_lifetime( function write_generic_type (line 227) | fn write_generic_type(&mut self, ty: Ty<'tcx>, place: MPlaceTy<'tcx>) ->... function write_generic_const (line 251) | fn write_generic_const(&mut self, c: Const<'tcx>, place: MPlaceTy<'tcx>)... FILE: compiler/rustc_const_eval/src/const_eval/valtrees.rs function branches (line 21) | fn branches<'tcx>( function slice_branches (line 61) | fn slice_branches<'tcx>( function const_to_valtree_inner (line 79) | fn const_to_valtree_inner<'tcx>( function reconstruct_place_meta (line 191) | fn reconstruct_place_meta<'tcx>( function create_valtree_place (line 224) | fn create_valtree_place<'tcx>( function eval_to_valtree (line 234) | pub(crate) fn eval_to_valtree<'tcx>( function valtree_to_const_value (line 264) | pub fn valtree_to_const_value<'tcx>( function valtree_to_ref (line 358) | fn valtree_to_ref<'tcx>( function valtree_into_mplace (line 374) | fn valtree_into_mplace<'tcx>( function dump_place (line 452) | fn dump_place<'tcx>(ecx: &CompileTimeInterpCx<'tcx>, place: &MPlaceTy<'t... FILE: compiler/rustc_const_eval/src/errors.rs type DanglingPtrInFinal (line 23) | pub(crate) struct DanglingPtrInFinal { type NestedStaticInThreadLocal (line 33) | pub(crate) struct NestedStaticInThreadLocal { type MutablePtrInFinal (line 48) | pub(crate) struct MutablePtrInFinal { type ConstHeapPtrInFinal (line 59) | pub(crate) struct ConstHeapPtrInFinal { type PartialPtrInFinal (line 77) | pub(crate) struct PartialPtrInFinal { type UnstableInStableExposed (line 87) | pub(crate) struct UnstableInStableExposed { type ThreadLocalAccessErr (line 110) | pub(crate) struct ThreadLocalAccessErr { type RawPtrToIntErr (line 121) | pub(crate) struct RawPtrToIntErr { type RawPtrComparisonErr (line 129) | pub(crate) struct RawPtrComparisonErr { type PanicNonStrErr (line 136) | pub(crate) struct PanicNonStrErr { type UnallowedFnPointerCall (line 150) | pub(crate) struct UnallowedFnPointerCall { type UnstableConstFn (line 158) | pub(crate) struct UnstableConstFn { type UnstableConstTrait (line 166) | pub(crate) struct UnstableConstTrait { type UnstableIntrinsic (line 174) | pub(crate) struct UnstableIntrinsic { type UnmarkedConstItemExposed (line 192) | pub(crate) struct UnmarkedConstItemExposed { type UnmarkedIntrinsicExposed (line 203) | pub(crate) struct UnmarkedIntrinsicExposed { type MutableBorrowEscaping (line 218) | pub(crate) struct MutableBorrowEscaping { type NonConstFmtMacroCall (line 235) | pub(crate) struct NonConstFmtMacroCall { type NonConstFnCall (line 249) | pub(crate) struct NonConstFnCall { type NonConstIntrinsic (line 267) | pub(crate) struct NonConstIntrinsic { type UnallowedOpInConstContext (line 276) | pub(crate) struct UnallowedOpInConstContext { type UnallowedInlineAsm (line 289) | pub(crate) struct UnallowedInlineAsm { type InteriorMutableBorrowEscaping (line 304) | pub(crate) struct InteriorMutableBorrowEscaping { type LongRunning (line 317) | pub struct LongRunning { type LongRunningWarn (line 324) | pub struct LongRunningWarn { type NonConstImplNote (line 336) | pub(crate) struct NonConstImplNote { type FrameNote (line 342) | pub struct FrameNote { method add_to_diag (line 351) | fn add_to_diag(self, diag: &mut Diag<'_, G>) { type RawBytesNote (line 380) | pub struct RawBytesNote { type NonConstMatchEq (line 396) | pub struct NonConstMatchEq<'tcx> { type NonConstForLoopIntoIter (line 411) | pub struct NonConstForLoopIntoIter<'tcx> { type NonConstQuestionBranch (line 426) | pub struct NonConstQuestionBranch<'tcx> { type NonConstQuestionFromResidual (line 441) | pub struct NonConstQuestionFromResidual<'tcx> { type NonConstTryBlockFromOutput (line 456) | pub struct NonConstTryBlockFromOutput<'tcx> { type NonConstAwait (line 471) | pub struct NonConstAwait<'tcx> { type NonConstClosure (line 486) | pub struct NonConstClosure { type NonConstCVariadicCall (line 502) | pub struct NonConstCVariadicCall { type NonConstClosureNote (line 509) | pub enum NonConstClosureNote { type ConsiderDereferencing (line 537) | pub struct ConsiderDereferencing { type NonConstOperator (line 552) | pub struct NonConstOperator { type NonConstDerefCoercion (line 569) | pub struct NonConstDerefCoercion<'tcx> { type LiveDrop (line 582) | pub struct LiveDrop<'tcx> { method into_diag_arg (line 600) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... FILE: compiler/rustc_const_eval/src/interpret/call.rs type FnArg (line 28) | pub enum FnArg<'tcx, Prov: Provenance = CtfeProvenance> { function layout (line 38) | pub fn layout(&self) -> &TyAndLayout<'tcx> { function copy_fn_arg (line 47) | pub fn copy_fn_arg(&self) -> OpTy<'tcx, Prov> { function copy_fn_args (line 58) | pub fn copy_fn_args(args: &[FnArg<'tcx, M::Provenance>]) -> Vec) -> InterpResult<'tcx, Ty... function layout_compat (line 169) | fn layout_compat( function check_argument_compat (line 248) | pub fn check_argument_compat( function pass_argument (line 270) | fn pass_argument<'x, 'y>( function init_stack_frame (line 340) | pub fn init_stack_frame( function init_fn_call (line 569) | pub(super) fn init_fn_call( function assert_virtual_instance_matches_concrete (line 779) | fn assert_virtual_instance_matches_concrete( function init_fn_tail_call (line 808) | pub(super) fn init_fn_tail_call( function init_drop_in_place_call (line 862) | pub(super) fn init_drop_in_place_call( function return_from_current_stack_frame (line 929) | pub(super) fn return_from_current_stack_frame( FILE: compiler/rustc_const_eval/src/interpret/cast.rs function cast (line 23) | pub fn cast( function int_to_int_or_float (line 157) | pub fn int_to_int_or_float( function float_to_float_or_int (line 172) | pub fn float_to_float_or_int( function ptr_to_ptr (line 190) | pub fn ptr_to_ptr( function pointer_expose_provenance_cast (line 220) | pub fn pointer_expose_provenance_cast( function pointer_with_exposed_provenance_cast (line 240) | pub fn pointer_with_exposed_provenance_cast( function cast_from_int_like (line 260) | fn cast_from_int_like( function cast_from_float (line 316) | fn cast_from_float(&self, f: F, dest_ty: Ty<'tcx>) -> Scalar> { method data_layout (line 52) | fn data_layout(&self) -> &TargetDataLayout { function tcx (line 62) | fn tcx(&self) -> TyCtxt<'tcx> { function typing_env (line 71) | fn typing_env(&self) -> ty::TypingEnv<'tcx> { type LayoutOfResult (line 77) | type LayoutOfResult = Result, InterpErrorKind<'tcx>>; function layout_tcx_at_span (line 80) | fn layout_tcx_at_span(&self) -> Span { function handle_layout_err (line 86) | fn handle_layout_err( type FnAbiOfResult (line 118) | type FnAbiOfResult = Result<&'tcx FnAbi<'tcx, Ty<'tcx>>, InterpErrorKind... function handle_fn_abi_err (line 120) | fn handle_fn_abi_err( function layout_of (line 137) | pub fn layout_of(&self, ty: Ty<'tcx>) -> Result, Inter... function fn_abi_of_fn_ptr (line 146) | pub fn fn_abi_of_fn_ptr( function fn_abi_of_instance_no_deduced_attrs (line 159) | pub fn fn_abi_of_instance_no_deduced_attrs( function mir_assign_valid_types (line 171) | pub(super) fn mir_assign_valid_types<'tcx>( function from_known_layout (line 199) | pub(super) fn from_known_layout<'tcx>( function format_interp_error (line 230) | pub fn format_interp_error<'tcx>(e: InterpErrorInfo<'tcx>) -> String { function new (line 237) | pub fn new( function cur_span (line 260) | pub fn cur_span(&self) -> Span { function stack (line 266) | pub(crate) fn stack(&self) -> &[Frame<'tcx, M::Provenance, M::FrameExtra... function stack_mut (line 271) | pub(crate) fn stack_mut(&mut self) -> &mut Vec usize { function frame (line 283) | pub fn frame(&self) -> &Frame<'tcx, M::Provenance, M::FrameExtra> { function frame_mut (line 288) | pub fn frame_mut(&mut self) -> &mut Frame<'tcx, M::Provenance, M::FrameE... function body (line 293) | pub fn body(&self) -> &'tcx mir::Body<'tcx> { function type_is_freeze (line 298) | pub fn type_is_freeze(&self, ty: Ty<'tcx>) -> bool { function load_mir (line 302) | pub fn load_mir( function instantiate_from_current_frame_and_normalize_erasing_regions (line 323) | pub fn instantiate_from_current_frame_and_normalize_erasing_regions< function instantiate_from_frame_and_normalize_erasing_regions (line 334) | pub fn instantiate_from_frame_and_normalize_erasing_regions Span { function size_and_align_from_meta (line 423) | pub(super) fn size_and_align_from_meta( function size_and_align_of_val (line 511) | pub fn size_and_align_of_val( function go_to_block (line 520) | pub fn go_to_block(&mut self, target: mir::BasicBlock) { function return_to_block (line 528) | pub fn return_to_block(&mut self, target: Option) -> In... function unwind_to_block (line 546) | pub fn unwind_to_block(&mut self, target: mir::UnwindAction) -> InterpRe... function ctfe_query (line 566) | pub fn ctfe_query( function eval_global (line 577) | pub fn eval_global( function eval_mir_constant (line 593) | pub fn eval_mir_constant( function dump_place (line 623) | pub fn dump_place(&self, place: &PlaceTy<'tcx, M::Provenance>) -> PlaceP... function generate_stacktrace (line 628) | pub fn generate_stacktrace(&self) -> Vec> { function adjust_nan (line 632) | pub fn adjust_nan(&self, f: F2, inputs: &[F1]) -> F2 type PlacePrinter (line 643) | pub struct PlacePrinter<'a, 'tcx, M: Machine<'tcx>> { function fmt (line 649) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: compiler/rustc_const_eval/src/interpret/intern.rs type Machine (line 36) | pub trait CompileTimeMachine<'tcx> = Machine< method static_def_id (line 49) | fn static_def_id(&self) -> Option; method static_def_id (line 53) | fn static_def_id(&self) -> Option { function prepare_alloc (line 58) | fn prepare_alloc<'tcx, Prov: Provenance, Extra, Bytes: AllocBytes>( function intern_shallow (line 104) | fn intern_shallow<'tcx, M: CompileTimeMachine<'tcx>>( function intern_as_new_static (line 142) | fn intern_as_new_static<'tcx>( type InternKind (line 180) | pub enum InternKind { type InternError (line 189) | pub enum InternError { function intern_const_alloc_recursive (line 203) | pub fn intern_const_alloc_recursive<'tcx, M: CompileTimeMachine<'tcx>>( function intern_const_alloc_for_constprop (line 356) | pub fn intern_const_alloc_for_constprop<'tcx, M: CompileTimeMachine<'tcx>>( function intern_with_temp_alloc (line 378) | pub fn intern_with_temp_alloc( FILE: compiler/rustc_const_eval/src/interpret/intrinsics.rs type MulAddType (line 29) | enum MulAddType { type MinMax (line 38) | pub(crate) enum MinMax { function alloc_type_name (line 60) | pub(crate) fn alloc_type_name<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> ... function write_type_id (line 68) | pub(crate) fn write_type_id( function read_type_id (line 105) | pub(crate) fn read_type_id( function eval_intrinsic (line 153) | pub fn eval_intrinsic( function eval_nondiverging_intrinsic (line 769) | pub(super) fn eval_nondiverging_intrinsic( function numeric_intrinsic (line 795) | pub fn numeric_intrinsic( function exact_div (line 825) | pub fn exact_div( function saturating_arith (line 847) | pub fn saturating_arith( function ptr_offset_inbounds (line 893) | pub fn ptr_offset_inbounds( function copy_intrinsic (line 909) | pub(crate) fn copy_intrinsic( function typed_swap_nonoverlapping_intrinsic (line 937) | fn typed_swap_nonoverlapping_intrinsic( function write_bytes_intrinsic (line 970) | pub fn write_bytes_intrinsic( function compare_bytes_intrinsic (line 993) | pub(crate) fn compare_bytes_intrinsic( function raw_eq_intrinsic (line 1011) | pub(crate) fn raw_eq_intrinsic( function unop_float_intrinsic (line 1036) | fn unop_float_intrinsic( function float_minmax (line 1052) | fn float_minmax( function float_minmax_intrinsic (line 1080) | fn float_minmax_intrinsic( function float_copysign_intrinsic (line 1095) | fn float_copysign_intrinsic( function float_round (line 1110) | fn float_round( function float_round_intrinsic (line 1124) | fn float_round_intrinsic( function float_muladd (line 1138) | fn float_muladd( function float_muladd_intrinsic (line 1159) | fn float_muladd_intrinsic( function float_to_int_checked (line 1180) | pub fn float_to_int_checked( function va_list_key_field (line 1240) | pub(super) fn va_list_key_field>( FILE: compiler/rustc_const_eval/src/interpret/intrinsics/simd.rs function eval_simd_intrinsic (line 21) | pub fn eval_simd_intrinsic( function fminmax_op (line 814) | fn fminmax_op( function check_simd_ptr_alignment (line 834) | fn check_simd_ptr_alignment( function simd_bitmask_index (line 872) | fn simd_bitmask_index(idx: u32, vec_len: u32, endianness: Endian) -> u32 { function bool_to_simd_element (line 881) | fn bool_to_simd_element(b: bool, size: Size) -> Scalar... function simd_element_to_bool (line 889) | fn simd_element_to_bool(elem: ImmTy<'_, Prov>) -> Inte... FILE: compiler/rustc_const_eval/src/interpret/machine.rs type ReturnAction (line 28) | pub enum ReturnAction { type MayLeak (line 44) | pub trait MayLeak: Copy { method may_leak (line 45) | fn may_leak(self) -> bool; type AllocMap (line 49) | pub trait AllocMap { method contains_key (line 53) | fn contains_key(&mut self, k: &Q) -> bool method contains_key_ref (line 61) | fn contains_key_ref(&self, k: &Q) -> bool method insert (line 66) | fn insert(&mut self, k: K, v: V) -> Option; method remove (line 69) | fn remove(&mut self, k: &Q) -> Option method filter_map_collect (line 74) | fn filter_map_collect(&self, f: impl FnMut(&K, &V) -> Option) ->... method get_or (line 79) | fn get_or(&self, k: K, vacant: impl FnOnce() -> Result) -> Re... method get_mut_or (line 84) | fn get_mut_or(&mut self, k: K, vacant: impl FnOnce() -> Result Option<&V> { method get_mut (line 92) | fn get_mut(&mut self, k: K) -> Option<&mut V> { type Machine (line 99) | pub trait Machine<'tcx>: Sized { constant GLOBAL_KIND (line 140) | const GLOBAL_KIND: Option; constant PANIC_ON_ALLOC_FAIL (line 143) | const PANIC_ON_ALLOC_FAIL: bool; constant ALL_CONSTS_ARE_PRECHECKED (line 147) | const ALL_CONSTS_ARE_PRECHECKED: bool = true; method enforce_alignment (line 150) | fn enforce_alignment(ecx: &InterpCx<'tcx, Self>) -> bool; method alignment_check (line 154) | fn alignment_check( method enforce_validity (line 166) | fn enforce_validity(ecx: &InterpCx<'tcx, Self>, layout: TyAndLayout<'t... method enforce_validity_recursively (line 168) | fn enforce_validity_recursively( method ignore_optional_overflow_checks (line 177) | fn ignore_optional_overflow_checks(_ecx: &InterpCx<'tcx, Self>) -> bool; method load_mir (line 182) | fn load_mir( method find_mir_or_eval_fn (line 199) | fn find_mir_or_eval_fn( method call_extra_fn (line 211) | fn call_extra_fn( method call_intrinsic (line 226) | fn call_intrinsic( method check_fn_target_features (line 237) | fn check_fn_target_features( method assert_panic (line 243) | fn assert_panic( method panic_nounwind (line 250) | fn panic_nounwind(_ecx: &mut InterpCx<'tcx, Self>, msg: &str) -> Inter... method unwind_terminate (line 253) | fn unwind_terminate( method binary_ptr_op (line 261) | fn binary_ptr_op( method generate_nan (line 270) | fn generate_nan, F2: Float>( method apply_float_nondet (line 279) | fn apply_float_nondet( method equal_float_min_max (line 287) | fn equal_float_min_max(_ecx: &InterpCx<'tcx, Self>, a: F, _b... method float_fuse_mul_add (line 293) | fn float_fuse_mul_add(_ecx: &InterpCx<'tcx, Self>) -> bool; method before_terminator (line 297) | fn before_terminator(_ecx: &mut InterpCx<'tcx, Self>) -> InterpResult<... method runtime_checks (line 302) | fn runtime_checks( method increment_const_eval_counter (line 310) | fn increment_const_eval_counter(_ecx: &mut InterpCx<'tcx, Self>) -> In... method before_access_global (line 317) | fn before_access_global( method thread_local_static_pointer (line 329) | fn thread_local_static_pointer( method extern_static_pointer (line 337) | fn extern_static_pointer( method ptr_from_addr_cast (line 343) | fn ptr_from_addr_cast( method expose_provenance (line 350) | fn expose_provenance( method ptr_get_alloc (line 366) | fn ptr_get_alloc( method adjust_alloc_root_pointer (line 379) | fn adjust_alloc_root_pointer( method adjust_global_allocation (line 393) | fn adjust_global_allocation<'b>( method init_local_allocation (line 404) | fn init_local_allocation( method before_memory_read (line 424) | fn before_memory_read( method before_alloc_access (line 442) | fn before_alloc_access( method before_memory_write (line 455) | fn before_memory_write( method before_memory_deallocation (line 470) | fn before_memory_deallocation( method retag_ptr_value (line 486) | fn retag_ptr_value( method retag_place_contents (line 497) | fn retag_place_contents( method protect_in_place_function_argument (line 509) | fn protect_in_place_function_argument( method init_frame (line 519) | fn init_frame( method stack (line 525) | fn stack<'a>( method stack_mut (line 530) | fn stack_mut<'a>( method after_stack_push (line 535) | fn after_stack_push(_ecx: &mut InterpCx<'tcx, Self>) -> InterpResult<'... method before_stack_pop (line 541) | fn before_stack_pop(_ecx: &mut InterpCx<'tcx, Self>) -> InterpResult<'... method after_stack_pop (line 548) | fn after_stack_pop( method after_local_read (line 561) | fn after_local_read( method after_local_write (line 573) | fn after_local_write( method after_local_moved_to_memory (line 584) | fn after_local_moved_to_memory( method get_global_alloc_salt (line 595) | fn get_global_alloc_salt( method cached_union_data_range (line 600) | fn cached_union_data_range<'e>( method get_default_alloc_params (line 611) | fn get_default_alloc_params(&self) -> ::All... method enter_trace_span (line 620) | fn enter_trace_span(_span: impl FnOnce() -> tracing::Span) -> impl Ent... type Provenance (line 628) | type Provenance = CtfeProvenance; type ProvenanceExtra (line 629) | type ProvenanceExtra = bool; type ExtraFnVal (line 631) | type ExtraFnVal = !; type MemoryKind (line 633) | type MemoryKind = $crate::const_eval::MemoryKind; type MemoryMap (line 634) | type MemoryMap = constant GLOBAL_KIND (line 636) | const GLOBAL_KIND: Option = None; type AllocExtra (line 638) | type AllocExtra = (); type FrameExtra (line 639) | type FrameExtra = (); type Bytes (line 640) | type Bytes = Box<[u8]>; function ignore_optional_overflow_checks (line 643) | fn ignore_optional_overflow_checks(_ecx: &InterpCx<$tcx, Self>) -> bool { function unwind_terminate (line 648) | fn unwind_terminate( function check_fn_target_features (line 656) | fn check_fn_target_features( function call_extra_fn (line 666) | fn call_extra_fn( function float_fuse_mul_add (line 679) | fn float_fuse_mul_add(_ecx: &InterpCx<$tcx, Self>) -> bool { function adjust_global_allocation (line 684) | fn adjust_global_allocation<'b>( function init_local_allocation (line 693) | fn init_local_allocation( function extern_static_pointer (line 703) | fn extern_static_pointer( function adjust_alloc_root_pointer (line 712) | fn adjust_alloc_root_pointer( function ptr_from_addr_cast (line 721) | fn ptr_from_addr_cast( function ptr_get_alloc (line 732) | fn ptr_get_alloc( function get_global_alloc_salt (line 742) | fn get_global_alloc_salt( FILE: compiler/rustc_const_eval/src/interpret/memory.rs type MemoryKind (line 31) | pub enum MemoryKind { method may_leak (line 42) | fn may_leak(self) -> bool { function fmt (line 52) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type AllocKind (line 63) | pub enum AllocKind { type AllocInfo (line 80) | pub struct AllocInfo { method new (line 88) | fn new(size: Size, align: Align, kind: AllocKind, mutbl: Mutability) -... type FnVal (line 95) | pub enum FnVal<'tcx, Other> { function as_instance (line 101) | pub fn as_instance(self) -> InterpResult<'tcx, Instance<'tcx>> { type Memory (line 113) | pub struct Memory<'tcx, M: Machine<'tcx>> { type AllocRef (line 147) | pub struct AllocRef<'a, 'tcx, Prov: Provenance, Extra, Bytes: AllocBytes... type AllocRefMut (line 155) | pub struct AllocRefMut<'a, 'tcx, Prov: Provenance, Extra, Bytes: AllocBy... function new (line 163) | pub fn new() -> Self { function alloc_map (line 174) | pub fn alloc_map(&self) -> &M::MemoryMap { function global_root_pointer (line 190) | pub fn global_root_pointer( function fn_ptr (line 219) | pub fn fn_ptr(&mut self, fn_val: FnVal<'tcx, M::ExtraFnVal>) -> Pointer<... function va_list_ptr (line 239) | pub fn va_list_ptr( function allocate_ptr (line 251) | pub fn allocate_ptr( function allocate_bytes_ptr (line 267) | pub fn allocate_bytes_ptr( function insert_allocation (line 279) | pub fn insert_allocation( function reallocate_ptr (line 301) | pub fn reallocate_ptr( function make_const_heap_ptr_global (line 335) | pub fn make_const_heap_ptr_global( function deallocate_ptr (line 380) | pub fn deallocate_ptr( function get_ptr_access (line 459) | fn get_ptr_access( function check_ptr_access (line 481) | pub fn check_ptr_access( function check_ptr_access_signed (line 498) | pub fn check_ptr_access_signed( function check_and_deref_ptr (line 519) | fn check_and_deref_ptr>( function check_misalign (line 568) | pub(super) fn check_misalign( function is_ptr_misaligned (line 579) | pub(super) fn is_ptr_misaligned( function check_ptr_align (line 629) | pub fn check_ptr_align( function remove_unreachable_allocs (line 640) | pub fn remove_unreachable_allocs(&mut self, reachable_allocs: &FxHashSet... function get_global_alloc (line 656) | fn get_global_alloc( function get_alloc_raw (line 709) | pub fn get_alloc_raw( function get_alloc_bytes_unchecked_raw (line 746) | pub fn get_alloc_bytes_unchecked_raw(&self, id: AllocId) -> InterpResult... function get_ptr_alloc (line 752) | pub fn get_ptr_alloc<'a>( function get_alloc_extra (line 797) | pub fn get_alloc_extra<'a>(&'a self, id: AllocId) -> InterpResult<'tcx, ... function get_alloc_mutability (line 802) | pub fn get_alloc_mutability<'a>(&'a self, id: AllocId) -> InterpResult<'... function get_alloc_raw_mut (line 813) | pub fn get_alloc_raw_mut( function get_alloc_bytes_unchecked_raw_mut (line 844) | pub fn get_alloc_bytes_unchecked_raw_mut( function get_ptr_alloc_mut (line 853) | pub fn get_ptr_alloc_mut<'a>( function get_alloc_extra_mut (line 896) | pub fn get_alloc_extra_mut<'a>( function is_alloc_live (line 907) | pub fn is_alloc_live(&self, id: AllocId) -> bool { function get_alloc_info (line 918) | pub fn get_alloc_info(&self, id: AllocId) -> AllocInfo { function get_live_alloc_size_and_align (line 979) | fn get_live_alloc_size_and_align( function get_fn_alloc (line 991) | fn get_fn_alloc(&self, id: AllocId) -> Option> { function get_ptr_type_id (line 1004) | pub fn get_ptr_type_id( function get_ptr_fn (line 1015) | pub fn get_ptr_fn( function get_ptr_va_list (line 1029) | pub fn get_ptr_va_list( function deallocate_va_list (line 1048) | pub fn deallocate_va_list( function get_ptr_vtable_ty (line 1068) | pub fn get_ptr_vtable_ty( function alloc_mark_immutable (line 1089) | pub fn alloc_mark_immutable(&mut self, id: AllocId) -> InterpResult<'tcx> { function visit_reachable_allocs (line 1096) | pub fn visit_reachable_allocs( function dump_alloc (line 1131) | pub fn dump_alloc<'a>(&'a self, id: AllocId) -> DumpAllocs<'a, 'tcx, M> { function dump_allocs (line 1138) | pub fn dump_allocs<'a>(&'a self, mut allocs: Vec) -> DumpAllocs... function print_alloc_bytes_for_diagnostics (line 1145) | pub fn print_alloc_bytes_for_diagnostics(&self, id: AllocId) -> String { function take_leaked_allocations (line 1164) | pub fn take_leaked_allocations( function run_for_validation_mut (line 1210) | pub fn run_for_validation_mut(&mut self, f: impl FnOnce(&mut Self) ->... function run_for_validation_ref (line 1230) | pub fn run_for_validation_ref(&self, f: impl FnOnce(&Self) -> R) -> R { function validation_in_progress (line 1245) | pub(super) fn validation_in_progress(&self) -> bool { type DumpAllocs (line 1252) | pub struct DumpAllocs<'a, 'tcx, M: Machine<'tcx>> { function fmt (line 1258) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function as_ref (line 1335) | pub fn as_ref<'b>(&'b self) -> AllocRef<'b, 'tcx, Prov, Extra, Bytes> { function write_scalar (line 1340) | pub fn write_scalar(&mut self, range: AllocRange, val: Scalar) -> ... function write_ptr_sized (line 1351) | pub fn write_ptr_sized(&mut self, offset: Size, val: Scalar) -> In... function write_uninit (line 1356) | pub fn write_uninit(&mut self, range: AllocRange) { function write_uninit_full (line 1363) | pub fn write_uninit_full(&mut self) { function clear_provenance (line 1368) | pub fn clear_provenance(&mut self) { function read_scalar (line 1375) | pub fn read_scalar( function read_integer (line 1388) | pub fn read_integer(&self, range: AllocRange) -> InterpResult<'tcx, Scal... function read_pointer (line 1393) | pub fn read_pointer(&self, offset: Size) -> InterpResult<'tcx, Scalar(&'b self) -> InterpResult<'tcx, &'... function has_provenance (line 1409) | pub fn has_provenance(&self) -> bool { function read_bytes_ptr_strip_provenance (line 1419) | pub fn read_bytes_ptr_strip_provenance( function write_bytes_ptr (line 1441) | pub fn write_bytes_ptr( function mem_copy (line 1471) | pub fn mem_copy( function mem_copy_repeatedly (line 1486) | pub fn mem_copy_repeatedly( function scalar_may_be_null (line 1637) | pub fn scalar_may_be_null(&self, scalar: Scalar) -> Inter... function ptr_try_get_alloc_id (line 1685) | pub fn ptr_try_get_alloc_id( function ptr_get_alloc_id (line 1717) | pub fn ptr_get_alloc_id( FILE: compiler/rustc_const_eval/src/interpret/operand.rs type Immediate (line 34) | pub enum Immediate { function from (line 46) | fn from(val: Scalar) -> Self { function new_pointer_with_meta (line 52) | pub fn new_pointer_with_meta( function new_slice (line 64) | pub fn new_slice(ptr: Pointer>, len: u64, cx: &impl HasData... function new_dyn_trait (line 71) | pub fn new_dyn_trait( function to_scalar (line 84) | pub fn to_scalar(self) -> Scalar { function to_scalar_int (line 94) | pub fn to_scalar_int(self) -> ScalarInt { function to_scalar_pair (line 100) | pub fn to_scalar_pair(self) -> (Scalar, Scalar) { function to_scalar_and_meta (line 111) | pub fn to_scalar_and_meta(self) -> (Scalar, MemPlaceMeta) { function assert_matches_abi (line 120) | pub fn assert_matches_abi(self, abi: BackendRepr, msg: &str, cx: &impl H... function clear_provenance (line 165) | pub fn clear_provenance<'tcx>(&mut self) -> InterpResult<'tcx> { function has_provenance (line 179) | pub fn has_provenance(&self) -> bool { type ImmTy (line 193) | pub struct ImmTy<'tcx, Prov: Provenance = CtfeProvenance> { function fmt (line 199) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fmt (line 241) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Target (line 251) | type Target = Immediate; function deref (line 253) | fn deref(&self) -> &Immediate { function from_scalar (line 260) | pub fn from_scalar(val: Scalar, layout: TyAndLayout<'tcx>) -> Self { function from_scalar_pair (line 267) | pub fn from_scalar_pair(a: Scalar, b: Scalar, layout: TyAndL... function from_immediate (line 277) | pub fn from_immediate(imm: Immediate, layout: TyAndLayout<'tcx>) -... function uninit (line 292) | pub fn uninit(layout: TyAndLayout<'tcx>) -> Self { function from_scalar_int (line 298) | pub fn from_scalar_int(s: ScalarInt, layout: TyAndLayout<'tcx>) -> Self { function from_uint (line 303) | pub fn from_uint(i: impl Into, layout: TyAndLayout<'tcx>) -> Self { function from_int (line 308) | pub fn from_int(i: impl Into, layout: TyAndLayout<'tcx>) -> Self { function from_bool (line 313) | pub fn from_bool(b: bool, tcx: TyCtxt<'tcx>) -> Self { function from_ordering (line 322) | pub fn from_ordering(c: std::cmp::Ordering, tcx: TyCtxt<'tcx>) -> Self { function from_pair (line 330) | pub fn from_pair(a: Self, b: Self, cx: &(impl HasTypingEnv<'tcx> + HasTy... function to_scalar_int (line 343) | pub fn to_scalar_int(&self) -> InterpResult<'tcx, ScalarInt> { function to_const_int (line 355) | pub fn to_const_int(self) -> ConstInt { function to_pair (line 364) | pub fn to_pair(self, cx: &(impl HasTyCtxt<'tcx> + HasTypingEnv<'tcx>)) -... function offset_ (line 376) | fn offset_(&self, offset: Size, layout: TyAndLayout<'tcx>, cx: &impl Has... function layout (line 450) | fn layout(&self) -> TyAndLayout<'tcx> { function meta (line 455) | fn meta(&self) -> MemPlaceMeta { function offset_with_meta (line 460) | fn offset_with_meta>( function to_op (line 473) | fn to_op>( type Operand (line 485) | pub(super) enum Operand { type OpTy (line 491) | pub struct OpTy<'tcx, Prov: Provenance = CtfeProvenance> { function fmt (line 497) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function from (line 508) | fn from(val: ImmTy<'tcx, Prov>) -> Self { function from (line 515) | fn from(mplace: MPlaceTy<'tcx, Prov>) -> Self { function op (line 522) | pub(super) fn op(&self) -> &Operand { function is_immediate_uninit (line 526) | pub fn is_immediate_uninit(&self) -> bool { function layout (line 533) | fn layout(&self) -> TyAndLayout<'tcx> { function meta (line 538) | fn meta(&self) -> MemPlaceMeta { function offset_with_meta (line 548) | fn offset_with_meta>( function to_op (line 569) | fn to_op>( function read_immediate_from_mplace_raw (line 582) | fn read_immediate_from_mplace_raw( function read_immediate_raw (line 647) | pub fn read_immediate_raw( function read_immediate (line 667) | pub fn read_immediate( function read_scalar (line 689) | pub fn read_scalar( function read_pointer (line 700) | pub fn read_pointer( function read_target_usize (line 707) | pub fn read_target_usize( function read_target_isize (line 714) | pub fn read_target_isize( function read_str (line 722) | pub fn read_str(&self, mplace: &MPlaceTy<'tcx, M::Provenance>) -> Interp... function local_to_op (line 730) | pub fn local_to_op( function local_at_frame_to_op (line 743) | pub fn local_at_frame_to_op( function place_to_op (line 761) | pub fn place_to_op( function eval_place_to_op (line 785) | pub fn eval_place_to_op( function eval_operand (line 835) | pub fn eval_operand( function const_val_to_op (line 869) | pub(crate) fn const_val_to_op( FILE: compiler/rustc_const_eval/src/interpret/operator.rs function three_way_compare (line 14) | fn three_way_compare(&self, lhs: T, rhs: T) -> ImmTy<'tcx, M::Pr... function binary_char_op (line 19) | fn binary_char_op(&self, bin_op: mir::BinOp, l: char, r: char) -> ImmTy<... function binary_bool_op (line 38) | fn binary_bool_op(&self, bin_op: mir::BinOp, l: bool, r: bool) -> ImmTy<... function binary_float_op (line 56) | fn binary_float_op + Into Opti... function binary_ptr_op (line 303) | fn binary_ptr_op( function binary_op (line 354) | pub fn binary_op( function unary_op (line 433) | pub fn unary_op( FILE: compiler/rustc_const_eval/src/interpret/place.rs type MemPlaceMeta (line 24) | pub enum MemPlaceMeta { function unwrap_meta (line 33) | pub fn unwrap_meta(self) -> Scalar { function has_meta (line 43) | pub fn has_meta(self) -> bool { type MemPlace (line 52) | pub(super) struct MemPlace { function map_provenance (line 65) | fn map_provenance(self, f: impl FnOnce(Prov) -> Prov) -> Self { function to_ref (line 71) | fn to_ref(self, cx: &impl HasDataLayout) -> Immediate { function offset_with_meta_ (line 77) | fn offset_with_meta_<'tcx, M: Machine<'tcx, Provenance = Prov>>( type MPlaceTy (line 100) | pub struct MPlaceTy<'tcx, Prov: Provenance = CtfeProvenance> { function fmt (line 106) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function fake_alloc_zst (line 120) | pub fn fake_alloc_zst(layout: TyAndLayout<'tcx>) -> Self { function map_provenance (line 128) | pub fn map_provenance(self, f: impl FnOnce(Prov) -> Prov) -> Self { function mplace (line 133) | pub(super) fn mplace(&self) -> &MemPlace { function ptr (line 138) | pub fn ptr(&self) -> Pointer> { function to_ref (line 143) | pub fn to_ref(&self, cx: &impl HasDataLayout) -> Immediate { function layout (line 150) | fn layout(&self) -> TyAndLayout<'tcx> { function meta (line 155) | fn meta(&self) -> MemPlaceMeta { function offset_with_meta (line 159) | fn offset_with_meta>( function to_op (line 174) | fn to_op>( type Place (line 183) | pub(super) enum Place { type PlaceTy (line 208) | pub struct PlaceTy<'tcx, Prov: Provenance = CtfeProvenance> { function fmt (line 214) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function from (line 225) | fn from(mplace: MPlaceTy<'tcx, Prov>) -> Self { function place (line 232) | pub(super) fn place(&self) -> &Place { function as_mplace_or_local (line 244) | pub fn as_mplace_or_local( function assert_mem_place (line 257) | pub fn assert_mem_place(&self) -> MPlaceTy<'tcx, Prov> { function layout (line 269) | fn layout(&self) -> TyAndLayout<'tcx> { function meta (line 274) | fn meta(&self) -> MemPlaceMeta { function offset_with_meta (line 284) | fn offset_with_meta>( function to_op (line 314) | fn to_op>( function as_mplace_or_imm (line 325) | pub fn as_mplace_or_imm(&self) -> Either, ImmTy<'tc... function assert_mem_place (line 334) | pub fn assert_mem_place(&self) -> MPlaceTy<'tcx, Prov> { type Writeable (line 345) | pub trait Writeable<'tcx, Prov: Provenance>: Projectable<'tcx, Prov> { method to_place (line 346) | fn to_place(&self) -> PlaceTy<'tcx, Prov>; method force_mplace (line 348) | fn force_mplace>( function to_place (line 356) | fn to_place(&self) -> PlaceTy<'tcx, Prov> { function force_mplace (line 361) | fn force_mplace>( function to_place (line 371) | fn to_place(&self) -> PlaceTy<'tcx, Prov> { function force_mplace (line 376) | fn force_mplace>( function ptr_with_meta_to_mplace (line 390) | fn ptr_with_meta_to_mplace( function ptr_to_mplace (line 402) | pub fn ptr_to_mplace( function ptr_to_mplace_unaligned (line 411) | pub fn ptr_to_mplace_unaligned( function ref_to_mplace (line 426) | pub fn ref_to_mplace( function mplace_to_ref (line 444) | pub fn mplace_to_ref( function deref_pointer (line 456) | pub fn deref_pointer( function get_place_alloc (line 475) | pub(super) fn get_place_alloc( function get_place_alloc_mut (line 491) | pub(super) fn get_place_alloc_mut( function local_to_place (line 509) | pub fn local_to_place( function eval_place (line 531) | pub fn eval_place( function as_mplace_or_mutable_local (line 571) | fn as_mplace_or_mutable_local( function write_immediate (line 609) | pub fn write_immediate( function write_scalar (line 631) | pub fn write_scalar( function write_pointer (line 641) | pub fn write_pointer( function write_immediate_no_validate (line 652) | pub(super) fn write_immediate_no_validate( function write_immediate_to_mplace_no_validate (line 688) | fn write_immediate_to_mplace_no_validate( function write_uninit (line 749) | pub fn write_uninit( function clear_provenance (line 773) | pub fn clear_provenance( function copy_op_allow_transmute (line 806) | pub fn copy_op_allow_transmute( function copy_op (line 817) | pub fn copy_op( function copy_op_inner (line 829) | fn copy_op_inner( function copy_op_no_validate (line 870) | pub(super) fn copy_op_no_validate( function force_allocation (line 975) | pub fn force_allocation( function allocate_dyn (line 1032) | pub fn allocate_dyn( function allocate (line 1045) | pub fn allocate( function allocate_bytes_dedup (line 1056) | pub fn allocate_bytes_dedup( function allocate_str_dedup (line 1073) | pub fn allocate_str_dedup( function raw_const_to_mplace (line 1095) | pub fn raw_const_to_mplace( FILE: compiler/rustc_const_eval/src/interpret/projection.rs type OffsetMode (line 26) | pub enum OffsetMode { type Projectable (line 34) | pub trait Projectable<'tcx, Prov: Provenance>: Sized + std::fmt::Debug { method layout (line 36) | fn layout(&self) -> TyAndLayout<'tcx>; method meta (line 39) | fn meta(&self) -> MemPlaceMeta; method len (line 42) | fn len>( method offset_with_meta (line 64) | fn offset_with_meta>( method offset (line 73) | fn offset>( method transmute (line 89) | fn transmute>( method to_op (line 101) | fn to_op>( type ArrayIterator (line 108) | pub struct ArrayIterator<'a, 'tcx, Prov: Provenance, P: Projectable<'tcx... function next (line 118) | pub fn next>( function project_field (line 149) | pub fn project_field>( function project_fields (line 203) | pub fn project_fields, const N: usize>( function project_downcast (line 212) | pub fn project_downcast>( function project_index (line 231) | pub fn project_index>( function project_to_simd (line 266) | pub fn project_to_simd>( function project_constant_index (line 277) | fn project_constant_index>( function project_array_fields (line 303) | pub fn project_array_fields<'a, P: Projectable<'tcx, M::Provenance>>( function project_subslice (line 330) | fn project_subslice>( function project (line 388) | pub fn project

(&self, base: &P, proj_elem: mir::PlaceElem<'tcx>) -> I... FILE: compiler/rustc_const_eval/src/interpret/stack.rs type SpanGuard (line 28) | struct SpanGuard(tracing::Span, std::marker::PhantomData<*const u8>); method new (line 32) | fn new() -> Self { method enter (line 40) | fn enter(&mut self, span: tracing::Span) { method drop (line 53) | fn drop(&mut self) { type Frame (line 61) | pub struct Frame<'tcx, Prov: Provenance = CtfeProvenance, Extra = ()> { type ReturnContinuation (line 117) | pub enum ReturnContinuation { type LocalState (line 132) | pub struct LocalState<'tcx, Prov: Provenance = CtfeProvenance> { function fmt (line 140) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type LocalValue (line 153) | pub(super) enum LocalValue { function make_live_uninit (line 165) | pub fn make_live_uninit(&mut self) { function as_mplace_or_imm (line 172) | pub fn as_mplace_or_imm( function access (line 184) | pub(super) fn access(&self) -> InterpResult<'tcx, &Operand> { function access_mut (line 194) | pub(super) fn access_mut(&mut self) -> InterpResult<'tcx, &mut Operand { function fmt (line 211) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function as_note (line 226) | pub fn as_note(&self, tcx: TyCtxt<'tcx>) -> errors::FrameNote { function with_extra (line 247) | pub fn with_extra(self, extra: Extra) -> Frame<'tcx, Prov, Extra> { function current_loc (line 270) | pub fn current_loc(&self) -> Either { function body (line 274) | pub fn body(&self) -> &'tcx mir::Body<'tcx> { function instance (line 278) | pub fn instance(&self) -> ty::Instance<'tcx> { function return_place (line 282) | pub fn return_place(&self) -> &PlaceTy<'tcx, Prov> { function return_cont (line 286) | pub fn return_cont(&self) -> ReturnContinuation { function current_source_info (line 291) | pub fn current_source_info(&self) -> Option<&mir::SourceInfo> { function current_span (line 295) | pub fn current_span(&self) -> Span { function lint_root (line 302) | pub fn lint_root(&self, tcx: TyCtxt<'tcx>) -> Option { function locals_addr (line 319) | pub(super) fn locals_addr(&self) -> usize { function generate_stacktrace_from_stack (line 324) | pub fn generate_stacktrace_from_stack( function push_stack_frame_raw (line 363) | pub(crate) fn push_stack_frame_raw( function pop_stack_frame_raw (line 425) | pub(super) fn pop_stack_frame_raw( function cleanup_stack_frame (line 435) | pub(super) fn cleanup_stack_frame( function push_stack_frame_done (line 470) | pub(crate) fn push_stack_frame_done(&mut self) -> InterpResult<'tcx> { function storage_live_dyn (line 489) | pub fn storage_live_dyn( function storage_live (line 578) | pub fn storage_live(&mut self, local: mir::Local) -> InterpResult<'tcx> { function storage_dead (line 582) | pub fn storage_dead(&mut self, local: mir::Local) -> InterpResult<'tcx> { function deallocate_local (line 592) | fn deallocate_local(&mut self, local: LocalValue) -> Inte... function layout_of_local (line 610) | pub fn layout_of_local( function allocate_varargs (line 637) | pub(crate) fn allocate_varargs( function deallocate_varargs (line 666) | fn deallocate_varargs( function print (line 687) | pub(super) fn print( FILE: compiler/rustc_const_eval/src/interpret/step.rs type EvaluatedCalleeAndArgs (line 25) | struct EvaluatedCalleeAndArgs<'tcx, M: Machine<'tcx>> { function step (line 41) | pub fn step(&mut self) -> InterpResult<'tcx, bool> { function eval_statement (line 81) | pub fn eval_statement(&mut self, stmt: &mir::Statement<'tcx>) -> InterpR... function eval_rvalue_into_place (line 164) | pub fn eval_rvalue_into_place( function write_aggregate (line 281) | fn write_aggregate( function write_repeat (line 340) | fn write_repeat( function eval_fn_call_argument (line 378) | fn eval_fn_call_argument( function eval_callee_and_args (line 410) | fn eval_callee_and_args( function eval_terminator (line 485) | fn eval_terminator(&mut self, terminator: &mir::Terminator<'tcx>) -> Int... FILE: compiler/rustc_const_eval/src/interpret/traits.rs function get_vtable_ptr (line 19) | pub fn get_vtable_ptr( function get_vtable_size_and_align (line 38) | pub fn get_vtable_size_and_align( function vtable_entries (line 49) | pub(super) fn vtable_entries( function check_vtable_for_type (line 67) | pub(super) fn check_vtable_for_type( function unpack_dyn_trait (line 106) | pub(super) fn unpack_dyn_trait( FILE: compiler/rustc_const_eval/src/interpret/util.rs function type_implements_dyn_trait (line 17) | pub(crate) fn type_implements_dyn_trait<'tcx, M: Machine<'tcx>>( function ensure_monomorphic_enough (line 53) | pub(crate) fn ensure_monomorphic_enough<'tcx, T>(_tcx: TyCtxt<'tcx>, ty:... function make_result (line 65) | fn make_result( function create_static_alloc (line 75) | pub(crate) fn create_static_alloc<'tcx>( type EnteredTraceSpan (line 98) | pub trait EnteredTraceSpan { method or_if_tracing_disabled (line 102) | fn or_if_tracing_disabled(self, f: impl FnOnce()) -> Self; method or_if_tracing_disabled (line 105) | fn or_if_tracing_disabled(self, f: impl FnOnce()) -> Self { method or_if_tracing_disabled (line 111) | fn or_if_tracing_disabled(self, _f: impl FnOnce()) -> Self { FILE: compiler/rustc_const_eval/src/interpret/validity.rs type PointerKind (line 112) | enum PointerKind { method fmt (line 118) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ExpectedKind (line 128) | enum ExpectedKind { method fmt (line 141) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 158) | fn from(x: PointerKind) -> ExpectedKind { type ValidationErrorKind (line 169) | enum ValidationErrorKind<'tcx> { function to_string (line 190) | fn to_string(self) -> String { function ptr_bytes_warning (line 203) | fn ptr_bytes_warning(&self) -> bool { function from (line 210) | fn from(msg: String) -> Self { function fmt_range (line 215) | fn fmt_range(r: WrappingRange, max_hi: u128) -> String { type PathElem (line 238) | pub enum PathElem<'tcx> { type Path (line 253) | pub struct Path<'tcx> { function new (line 259) | fn new(ty: Ty<'tcx>) -> Self { type CtfeValidationMode (line 266) | pub enum CtfeValidationMode { method allow_immutable_unsafe_cell (line 279) | fn allow_immutable_unsafe_cell(self) -> bool { type RefTracking (line 291) | pub struct RefTracking { function empty (line 297) | pub fn empty() -> Self { function next (line 300) | pub fn next(&mut self) -> Option<(T, PATH)> { function track (line 304) | fn track(&mut self, val: T, path: impl FnOnce() -> PATH) { function new (line 315) | pub fn new(val: T, ty: Ty<'tcx>) -> Self { function write_path (line 324) | fn write_path(out: &mut String, path: &[PathElem<'_>]) { type RangeSet (line 353) | pub struct RangeSet(Vec<(Size, Size)>); method add_range (line 356) | fn add_range(&mut self, offset: Size, size: Size) { type ValidityVisitor (line 399) | struct ValidityVisitor<'rt, 'tcx, M: Machine<'tcx>> { function aggregate_field_path_elem (line 422) | fn aggregate_field_path_elem( function with_elem (line 505) | fn with_elem( function read_immediate (line 522) | fn read_immediate( function read_scalar (line 540) | fn read_scalar( function deref_pointer (line 548) | fn deref_pointer( function check_wide_ptr_meta (line 578) | fn check_wide_ptr_meta( function check_safe_pointer (line 613) | fn check_safe_pointer( function try_visit_primitive (line 832) | fn try_visit_primitive( function visit_scalar (line 969) | fn visit_scalar( function in_mutable_memory (line 1026) | fn in_mutable_memory(&self, val: &PlaceTy<'tcx, M::Provenance>) -> bool { function add_data_range (line 1048) | fn add_data_range(&mut self, ptr: Pointer>, size: ... function add_data_range_place (line 1060) | fn add_data_range_place(&mut self, place: &PlaceTy<'tcx, M::Provenance>) { function data_range_offset (line 1071) | fn data_range_offset(ecx: &InterpCx<'tcx, M>, place: &PlaceTy<'tcx, M::P... function reset_padding (line 1083) | fn reset_padding(&mut self, place: &PlaceTy<'tcx, M::Provenance>) -> Int... function union_data_range (line 1135) | fn union_data_range<'e>( type V (line 1211) | type V = PlaceTy<'tcx, M::Provenance>; function ecx (line 1214) | fn ecx(&self) -> &InterpCx<'tcx, M> { function read_discriminant (line 1218) | fn read_discriminant( function visit_field (line 1237) | fn visit_field( function visit_variant (line 1248) | fn visit_variant( function visit_union (line 1264) | fn visit_union( function visit_box (line 1297) | fn visit_box( function visit_value (line 1307) | fn visit_value(&mut self, val: &PlaceTy<'tcx, M::Provenance>) -> InterpR... function validate_operand_internal (line 1536) | fn validate_operand_internal( function const_validate_operand (line 1591) | pub(crate) fn const_validate_operand( function validate_operand (line 1612) | pub fn validate_operand( FILE: compiler/rustc_const_eval/src/interpret/visitor.rs type ValueVisitor (line 14) | pub trait ValueVisitor<'tcx, M: Machine<'tcx>>: Sized { method ecx (line 18) | fn ecx(&self) -> &InterpCx<'tcx, M>; method read_discriminant (line 22) | fn read_discriminant(&mut self, v: &Self::V) -> InterpResult<'tcx, Var... method visit_value (line 29) | fn visit_value(&mut self, v: &Self::V) -> InterpResult<'tcx> { method visit_union (line 34) | fn visit_union(&mut self, _v: &Self::V, _fields: NonZero) -> In... method visit_box (line 41) | fn visit_box(&mut self, _box_ty: Ty<'tcx>, _v: &Self::V) -> InterpResu... method visit_field (line 51) | fn visit_field( method visit_variant (line 63) | fn visit_variant( method walk_value (line 73) | fn walk_value(&mut self, v: &Self::V) -> InterpResult<'tcx> { FILE: compiler/rustc_const_eval/src/lib.rs function provide (line 24) | pub fn provide(providers: &mut Providers) { FILE: compiler/rustc_const_eval/src/util/alignment.rs function place_unalignment (line 9) | pub fn place_unalignment<'tcx, L>( function most_packed_projection (line 56) | pub fn most_packed_projection<'tcx, L>( FILE: compiler/rustc_const_eval/src/util/caller_location.rs function alloc_caller_location (line 12) | fn alloc_caller_location<'tcx>( function const_caller_location_provider (line 55) | pub(crate) fn const_caller_location_provider( FILE: compiler/rustc_const_eval/src/util/check_validity_requirement.rs function check_validity_requirement (line 25) | pub fn check_validity_requirement<'tcx>( function check_validity_requirement_strict (line 47) | fn check_validity_requirement_strict<'tcx>( function check_validity_requirement_lax (line 91) | fn check_validity_requirement_lax<'tcx>( function validate_scalar_in_layout (line 183) | pub(crate) fn validate_scalar_in_layout<'tcx>( FILE: compiler/rustc_const_eval/src/util/compare_types.rs function sub_types (line 12) | pub fn sub_types<'tcx>( function relate_types (line 26) | pub fn relate_types<'tcx>( FILE: compiler/rustc_const_eval/src/util/mod.rs function binop_left_homogeneous (line 18) | pub fn binop_left_homogeneous(op: mir::BinOp) -> bool { function binop_right_homogeneous (line 32) | pub fn binop_right_homogeneous(op: mir::BinOp) -> bool { FILE: compiler/rustc_const_eval/src/util/type_name.rs type TypeNamePrinter (line 10) | struct TypeNamePrinter<'tcx> { function tcx (line 16) | fn tcx(&self) -> TyCtxt<'tcx> { function print_region (line 20) | fn print_region(&mut self, _region: ty::Region<'_>) -> Result<(), PrintE... function print_type (line 27) | fn print_type(&mut self, ty: Ty<'tcx>) -> Result<(), PrintError> { function print_const (line 68) | fn print_const(&mut self, ct: ty::Const<'tcx>) -> Result<(), PrintError> { function print_dyn_existential (line 72) | fn print_dyn_existential( function print_crate_name (line 79) | fn print_crate_name(&mut self, cnum: CrateNum) -> Result<(), PrintError> { function print_path_with_qualified (line 84) | fn print_path_with_qualified( function print_path_with_impl (line 92) | fn print_path_with_impl( function print_path_with_simple (line 111) | fn print_path_with_simple( function print_path_with_generic_args (line 123) | fn print_path_with_generic_args( function print_coroutine_with_kind (line 136) | fn print_coroutine_with_kind( function should_print_optional_region (line 167) | fn should_print_optional_region(&self, region: ty::Region<'_>) -> bool { function generic_delimiters (line 179) | fn generic_delimiters( function should_print_verbose (line 192) | fn should_print_verbose(&self) -> bool { method write_str (line 199) | fn write_str(&mut self, s: &str) -> std::fmt::Result { function type_name (line 205) | pub fn type_name<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> String { FILE: compiler/rustc_data_structures/src/aligned.rs function align_of (line 11) | pub const fn align_of() -> Alignment { type Aligned (line 24) | pub unsafe trait Aligned: PointeeSized { constant ALIGN (line 26) | const ALIGN: Alignment; constant ALIGN (line 30) | const ALIGN: Alignment = Alignment::of::(); constant ALIGN (line 34) | const ALIGN: Alignment = Alignment::of::(); FILE: compiler/rustc_data_structures/src/atomic_ref.rs type AtomicRef (line 5) | pub struct AtomicRef(AtomicPtr, PhantomData<&'static T>); function new (line 8) | pub const fn new(initial: &'static T) -> AtomicRef { function swap (line 12) | pub fn swap(&self, new: &'static T) -> &'static T { type Target (line 20) | type Target = T; function deref (line 21) | fn deref(&self) -> &Self::Target { FILE: compiler/rustc_data_structures/src/base_n.rs constant MAX_BASE (line 9) | pub const MAX_BASE: usize = 64; constant ALPHANUMERIC_ONLY (line 10) | pub const ALPHANUMERIC_ONLY: usize = 62; constant CASE_INSENSITIVE (line 11) | pub const CASE_INSENSITIVE: usize = 36; constant BASE_64 (line 13) | const BASE_64: [ascii::Char; MAX_BASE] = { type BaseNString (line 19) | pub struct BaseNString { type Target (line 25) | type Target = str; method deref (line 27) | fn deref(&self) -> &str { method as_ref (line 33) | fn as_ref(&self) -> &str { method fmt (line 39) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ToBaseN (line 46) | pub trait ToBaseN: Into { method encoded_len (line 47) | fn encoded_len(base: usize) -> usize; method to_base_fixed_len (line 49) | fn to_base_fixed_len(self, base: usize) -> BaseNString { method to_base (line 55) | fn to_base(self, base: usize) -> BaseNString { method encoded_len (line 77) | fn encoded_len(base: usize) -> usize { method encoded_len (line 89) | fn encoded_len(base: usize) -> usize { method encoded_len (line 101) | fn encoded_len(base: usize) -> usize { FILE: compiler/rustc_data_structures/src/base_n/tests.rs function limits (line 4) | fn limits() { function test_to_base (line 11) | fn test_to_base() { FILE: compiler/rustc_data_structures/src/binary_search_util/mod.rs function binary_search_slice (line 9) | pub fn binary_search_slice<'d, E, K>(data: &'d [E], key_fn: impl Fn(&E) ... FILE: compiler/rustc_data_structures/src/binary_search_util/tests.rs type Element (line 3) | type Element = (usize, &'static str); function test_map (line 5) | fn test_map() -> Vec { function get_key (line 11) | fn get_key(data: &Element) -> usize { function binary_search_slice_test (line 16) | fn binary_search_slice_test() { FILE: compiler/rustc_data_structures/src/fingerprint.rs type Fingerprint (line 13) | pub struct Fingerprint(u64, u64); constant ZERO (line 34) | pub const ZERO: Fingerprint = Fingerprint(0, 0); method new (line 37) | pub fn new(_0: A, _1: B) -> Fingerprint method to_smaller_hash (line 46) | pub fn to_smaller_hash(&self) -> Hash64 { method split (line 56) | pub fn split(&self) -> (Hash64, Hash64) { method combine (line 61) | pub fn combine(self, other: Fingerprint) -> Fingerprint { method as_u128 (line 71) | pub(crate) fn as_u128(self) -> u128 { method combine_commutative (line 78) | pub fn combine_commutative(self, other: Fingerprint) -> Fingerprint { method to_hex (line 87) | pub fn to_hex(&self) -> String { method to_le_bytes (line 92) | pub fn to_le_bytes(&self) -> [u8; 16] { method from_le_bytes (line 107) | pub fn from_le_bytes(bytes: [u8; 16]) -> Fingerprint { method fmt (line 116) | fn fmt(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Re... method encode (line 172) | fn encode(&self, s: &mut E) { method decode (line 179) | fn decode(d: &mut D) -> Self { method from (line 239) | fn from(f: PackedFingerprint) -> Fingerprint { type FingerprintComponent (line 15) | pub trait FingerprintComponent { method as_u64 (line 16) | fn as_u64(&self) -> u64; method as_u64 (line 21) | fn as_u64(&self) -> u64 { method as_u64 (line 28) | fn as_u64(&self) -> u64 { method hash (line 123) | fn hash(&self, state: &mut H) { type FingerprintHasher (line 128) | trait FingerprintHasher { method write_fingerprint (line 129) | fn write_fingerprint(&mut self, fingerprint: &Fingerprint); method write_fingerprint (line 134) | default fn write_fingerprint(&mut self, fingerprint: &Fingerprint) { method write_fingerprint (line 142) | fn write_fingerprint(&mut self, fingerprint: &Fingerprint) { type Hash (line 160) | type Hash = StableHasherHash; method from (line 163) | fn from(StableHasherHash([_0, _1]): Self::Hash) -> Self { type PackedFingerprint (line 203) | pub struct PackedFingerprint(Fingerprint); method fmt (line 207) | fn fmt(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Re... method encode (line 216) | fn encode(&self, s: &mut E) { method decode (line 225) | fn decode(d: &mut D) -> Self { method from (line 232) | fn from(f: Fingerprint) -> PackedFingerprint { FILE: compiler/rustc_data_structures/src/fingerprint/tests.rs function combine_commutative_is_order_independent (line 5) | fn combine_commutative_is_order_independent() { FILE: compiler/rustc_data_structures/src/flat_map_in_place.rs type FlatMapInPlace (line 6) | pub trait FlatMapInPlace: Sized { method flat_map_in_place (line 7) | fn flat_map_in_place(&mut self, f: F) FILE: compiler/rustc_data_structures/src/flock/linux.rs type Lock (line 11) | pub struct Lock { method new (line 16) | pub fn new(p: &Path, wait: bool, create: bool, exclusive: bool) -> io:... method error_unsupported (line 28) | pub fn error_unsupported(err: &io::Error) -> bool { FILE: compiler/rustc_data_structures/src/flock/unix.rs type Lock (line 7) | pub struct Lock { method new (line 12) | pub fn new(p: &Path, wait: bool, create: bool, exclusive: bool) -> io:... method error_unsupported (line 41) | pub fn error_unsupported(err: &io::Error) -> bool { method drop (line 47) | fn drop(&mut self) { FILE: compiler/rustc_data_structures/src/flock/unsupported.rs type Lock (line 5) | pub struct Lock(()); method new (line 8) | pub fn new(_p: &Path, _wait: bool, _create: bool, _exclusive: bool) ->... method error_unsupported (line 13) | pub fn error_unsupported(_err: &io::Error) -> bool { FILE: compiler/rustc_data_structures/src/flock/windows.rs type Lock (line 15) | pub struct Lock { method new (line 20) | pub fn new(p: &Path, wait: bool, create: bool, exclusive: bool) -> io:... method error_unsupported (line 81) | pub fn error_unsupported(err: &io::Error) -> bool { FILE: compiler/rustc_data_structures/src/frozen.rs type Frozen (line 50) | pub struct Frozen(T); function freeze (line 53) | pub fn freeze(val: T) -> Self { type Target (line 59) | type Target = T; function deref (line 61) | fn deref(&self) -> &T { FILE: compiler/rustc_data_structures/src/fx.rs type StdEntry (line 3) | pub type StdEntry<'a, K, V> = std::collections::hash_map::Entry<'a, K, V>; type FxIndexMap (line 5) | pub type FxIndexMap = indexmap::IndexMap; type FxIndexSet (line 6) | pub type FxIndexSet = indexmap::IndexSet; type IndexEntry (line 7) | pub type IndexEntry<'a, K, V> = indexmap::map::Entry<'a, K, V>; type IndexOccupiedEntry (line 8) | pub type IndexOccupiedEntry<'a, K, V> = indexmap::map::OccupiedEntry<'a,... function fx_hash_map (line 36) | pub const fn fx_hash_map() -> FxHashMap { function fx_hash_set (line 40) | pub const fn fx_hash_set() -> FxHashSet { FILE: compiler/rustc_data_structures/src/graph/dominators/mod.rs type PreOrderFrame (line 19) | struct PreOrderFrame { type Dominators (line 30) | pub struct Dominators { type Kind (line 35) | enum Kind { function dominators (line 41) | pub fn dominators(g: &G) -> Dominators { function is_small_path_graph (line 51) | fn is_small_path_graph(g: &G) -> bool { function dominators_impl (line 64) | fn dominators_impl(graph: &G) -> Inner { function eval (line 290) | fn eval( function is_processed (line 306) | fn is_processed(v: PreorderIndex, lastlinked: Option) -> ... function compress (line 311) | fn compress( type Inner (line 341) | struct Inner { function is_reachable (line 351) | pub fn is_reachable(&self, node: Node) -> bool { function immediate_dominator (line 359) | pub fn immediate_dominator(&self, node: Node) -> Option { function dominates (line 378) | pub fn dominates(&self, a: Node, b: Node) -> bool { type Time (line 394) | struct Time { function compute_access_time (line 399) | fn compute_access_time( FILE: compiler/rustc_data_structures/src/graph/dominators/tests.rs function diamond (line 5) | fn diamond() { function paper (line 16) | fn paper() { function paper_slt (line 34) | fn paper_slt() { function immediate_dominator (line 45) | fn immediate_dominator() { function transitive_dominator (line 55) | fn transitive_dominator() { FILE: compiler/rustc_data_structures/src/graph/iterate/mod.rs function post_order_from (line 11) | pub fn post_order_from( function post_order_from_to (line 18) | pub fn post_order_from_to( function post_order_walk (line 32) | fn post_order_walk( function reverse_post_order (line 65) | pub fn reverse_post_order( type DepthFirstSearch (line 75) | pub struct DepthFirstSearch function new (line 88) | pub fn new(graph: G) -> Self { function with_start_node (line 94) | pub fn with_start_node(mut self, start_node: G::Node) -> Self { function push_start_node (line 107) | pub fn push_start_node(&mut self, start_node: G::Node) { function complete_search (line 116) | pub fn complete_search(&mut self) { function visited (line 125) | pub fn visited(&self, node: G::Node) -> bool { function visited_set (line 135) | pub fn visited_set(&self) -> &DenseBitSet { function fmt (line 144) | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Item (line 157) | type Item = G::Node; method next (line 159) | fn next(&mut self) -> Option { type NodeStatus (line 172) | pub enum NodeStatus { type Event (line 188) | struct Event { type TriColorDepthFirstSearch (line 214) | pub struct TriColorDepthFirstSearch<'graph, G> function new (line 228) | pub fn new(graph: &'graph G) -> Self { function run_from (line 240) | pub fn run_from(mut self, root: G::Node, visitor: &mut V) -> Option(self, visitor: &mut V) -> Option type TriColorVisitor (line 308) | pub trait TriColorVisitor method node_examined (line 327) | fn node_examined( method node_settled (line 336) | fn node_settled(&mut self, _node: G::Node) -> ControlFlow bool { type CycleDetector (line 347) | pub struct CycleDetector; type BreakVal (line 353) | type BreakVal = (); method node_examined (line 355) | fn node_examined( FILE: compiler/rustc_data_structures/src/graph/iterate/tests.rs function diamond_post_order (line 5) | fn diamond_post_order() { function is_cyclic (line 13) | fn is_cyclic() { function dfs (line 24) | fn dfs() { function dfs_debug (line 32) | fn dfs_debug() { FILE: compiler/rustc_data_structures/src/graph/linked_graph/mod.rs type LinkedGraph (line 48) | pub struct LinkedGraph { type Node (line 53) | pub struct Node { type Edge (line 59) | pub struct Edge { type NodeIndex (line 67) | pub struct NodeIndex(pub usize); method node_id (line 86) | pub fn node_id(self) -> usize { type EdgeIndex (line 70) | pub struct EdgeIndex(pub usize); constant INVALID_EDGE_INDEX (line 72) | pub const INVALID_EDGE_INDEX: EdgeIndex = EdgeIndex(usize::MAX); type Direction (line 76) | pub struct Direction { constant OUTGOING (line 80) | pub const OUTGOING: Direction = Direction { repr: 0 }; constant INCOMING (line 82) | pub const INCOMING: Direction = Direction { repr: 1 }; method new (line 92) | fn new(idx: usize) -> NodeIndex { method index (line 96) | fn index(self) -> usize { function new (line 102) | pub fn new() -> Self { function with_capacity (line 106) | pub fn with_capacity(nodes: usize, edges: usize) -> Self { function all_nodes (line 113) | pub fn all_nodes(&self) -> &IndexSlice> { function len_nodes (line 118) | pub fn len_nodes(&self) -> usize { function all_edges (line 123) | pub fn all_edges(&self) -> &[Edge] { function len_edges (line 128) | pub fn len_edges(&self) -> usize { function next_node_index (line 134) | pub fn next_node_index(&self) -> NodeIndex { function ensure_node (line 138) | fn ensure_node(&mut self, idx: NodeIndex) -> &mut Node { function add_node_with_idx (line 145) | pub fn add_node_with_idx(&mut self, idx: NodeIndex, data: N) { function add_node (line 150) | pub fn add_node(&mut self, data: N) -> NodeIndex { function mut_node_data (line 156) | pub fn mut_node_data(&mut self, idx: NodeIndex) -> &mut N { function node_data (line 160) | pub fn node_data(&self, idx: NodeIndex) -> &N { function node (line 164) | pub fn node(&self, idx: NodeIndex) -> &Node { function next_edge_index (line 170) | pub fn next_edge_index(&self) -> EdgeIndex { function add_edge (line 174) | pub fn add_edge(&mut self, source: NodeIndex, target: NodeIndex, data: E... function edge (line 194) | pub fn edge(&self, idx: EdgeIndex) -> &Edge { function enumerated_nodes (line 200) | pub fn enumerated_nodes(&self) -> impl Iterator impl Iterator(&'a self, mut f: impl FnMut(NodeIndex, &'a Node)... function each_edge (line 213) | pub fn each_edge<'a>(&'a self, mut f: impl FnMut(EdgeIndex, &'a Edge)... function outgoing_edges (line 218) | pub fn outgoing_edges(&self, source: NodeIndex) -> AdjacentEdges<'_, N, ... function incoming_edges (line 222) | pub fn incoming_edges(&self, source: NodeIndex) -> AdjacentEdges<'_, N, ... function adjacent_edges (line 226) | pub fn adjacent_edges( function successor_nodes (line 235) | pub fn successor_nodes(&self, source: NodeIndex) -> impl Iterator impl Iterator { function targets (line 297) | fn targets(self) -> impl Iterator { function sources (line 301) | fn sources(self) -> impl Iterator { type Item (line 307) | type Item = (EdgeIndex, &'g Edge); method next (line 309) | fn next(&mut self) -> Option<(EdgeIndex, &'g Edge)> { method size_hint (line 320) | fn size_hint(&self) -> (usize, Option) { type DepthFirstTraversal (line 326) | pub struct DepthFirstTraversal<'g, N, E> { function with_start_node (line 334) | pub fn with_start_node( function visit (line 344) | fn visit(&mut self, node: NodeIndex) { type Item (line 352) | type Item = NodeIndex; method next (line 354) | fn next(&mut self) -> Option { method size_hint (line 365) | fn size_hint(&self) -> (usize, Option) { function source (line 375) | pub fn source(&self) -> NodeIndex { function target (line 379) | pub fn target(&self) -> NodeIndex { function source_or_target (line 383) | pub fn source_or_target(&self, direction: Direction) -> NodeIndex { FILE: compiler/rustc_data_structures/src/graph/linked_graph/tests.rs type TestGraph (line 5) | type TestGraph = LinkedGraph<&'static str, &'static str>; function create_graph (line 7) | fn create_graph() -> TestGraph { function each_node (line 38) | fn each_node() { function each_edge (line 49) | fn each_edge() { function test_adjacent_edges (line 58) | fn test_adjacent_edges( function each_adjacent_from_a (line 105) | fn each_adjacent_from_a() { function each_adjacent_from_b (line 111) | fn each_adjacent_from_b() { function each_adjacent_from_c (line 123) | fn each_adjacent_from_c() { function each_adjacent_from_d (line 129) | fn each_adjacent_from_d() { FILE: compiler/rustc_data_structures/src/graph/mod.rs type DirectedGraph (line 14) | pub trait DirectedGraph { method num_nodes (line 23) | fn num_nodes(&self) -> usize; method iter_nodes (line 29) | fn iter_nodes( type NumEdges (line 36) | pub trait NumEdges: DirectedGraph { method num_edges (line 37) | fn num_edges(&self) -> usize; type StartNode (line 40) | pub trait StartNode: DirectedGraph { method start_node (line 41) | fn start_node(&self) -> Self::Node; type Successors (line 44) | pub trait Successors: DirectedGraph { method successors (line 45) | fn successors(&self, node: Self::Node) -> impl Iterator impl Iterator(graph: &G) -> bool function depth_first_search (line 66) | pub fn depth_first_search(graph: G, from: G::Node) -> iterate::DepthF... function depth_first_search_as_undirected (line 73) | pub fn depth_first_search_as_undirected( FILE: compiler/rustc_data_structures/src/graph/reference.rs type Node (line 4) | type Node = G::Node; method num_nodes (line 6) | fn num_nodes(&self) -> usize { method start_node (line 12) | fn start_node(&self) -> Self::Node { method successors (line 18) | fn successors(&self, node: Self::Node) -> impl Iterator impl Iterator { function new (line 14) | pub fn new(inner: G) -> Self { type Node (line 20) | type Node = G::Node; method num_nodes (line 22) | fn num_nodes(&self) -> usize { method successors (line 33) | fn successors(&self, node: Self::Node) -> impl Iterator impl Iterator { method new (line 49) | fn new(&self, element: N) -> Self::Ann; method annotate_scc (line 50) | fn annotate_scc(&mut self, scc: Self::SccIdx, annotation: Self::Ann); type NoAnnotations (line 54) | struct NoAnnotations(PhantomData); type SccIdx (line 57) | type SccIdx = S; type Ann (line 58) | type Ann = (); function new (line 59) | fn new(&self, _element: N) {} function annotate_scc (line 60) | fn annotate_scc(&mut self, _scc: S, _annotation: ()) {} type Sccs (line 73) | pub struct Sccs { type SccDetails (line 83) | struct SccDetails { type SccData (line 95) | struct SccData { function new (line 108) | pub fn new(graph: &impl Successors) -> Self { function new_with_annotation (line 113) | pub fn new_with_annotation>( function scc_indices (line 120) | pub fn scc_indices(&self) -> &IndexSlice { function num_sccs (line 125) | pub fn num_sccs(&self) -> usize { function all_sccs (line 135) | pub fn all_sccs(&self) -> impl Iterator + 'static { function scc (line 140) | pub fn scc(&self, r: N) -> S { function successors (line 145) | pub fn successors(&self, scc: S) -> &[S] { function reverse (line 150) | pub fn reverse(&self) -> VecGraph { type Node (line 163) | type Node = S; method num_nodes (line 165) | fn num_nodes(&self) -> usize { method num_edges (line 171) | fn num_edges(&self) -> usize { method successors (line 177) | fn successors(&self, node: S) -> impl Iterator { function len (line 184) | fn len(&self) -> usize { function successors (line 189) | fn successors(&self, scc: S) -> &[S] { function create_scc (line 195) | fn create_scc(&mut self, successors: impl IntoIterator) -> S { type SccsConstruction (line 214) | struct SccsConstruction<'c, 'a, G, A> type NodeState (line 247) | enum NodeState { type WalkReturn (line 278) | enum WalkReturn { function construct (line 310) | fn construct(graph: &'c G, annotations: &'a mut A) -> Sccs WalkReturn Option NodeState WalkReturn bool { type Maxes (line 8) | struct Maxes(IndexVec, fn(usize) -> usize); method new (line 12) | fn new(&self, element: usize) -> MaxReached { method annotate_scc (line 16) | fn annotate_scc(&mut self, scc: usize, annotation: MaxReached) { type Ann (line 21) | type Ann = MaxReached; type SccIdx (line 22) | type SccIdx = usize; method annotation (line 26) | fn annotation(&self, scc: usize) -> MaxReached { method new (line 29) | fn new(mapping: fn(usize) -> usize) -> Self { type UsizeSccs (line 9) | type UsizeSccs = Sccs; method update_scc (line 35) | fn update_scc(&mut self, other: &Self) { method update_reachable (line 39) | fn update_reachable(&mut self, other: &Self) { type MinMaxIn (line 51) | struct MinMaxIn { type MinMaxes (line 55) | struct MinMaxes(IndexVec, fn(usize) -> MinMaxIn); method annotation (line 58) | fn annotation(&self, scc: usize) -> MinMaxIn { method new (line 64) | fn new(&self, element: usize) -> MinMaxIn { method annotate_scc (line 68) | fn annotate_scc(&mut self, scc: usize, annotation: MinMaxIn) { type Ann (line 73) | type Ann = MinMaxIn; type SccIdx (line 74) | type SccIdx = usize; method update_scc (line 78) | fn update_scc(&mut self, other: &Self) { method update_reachable (line 83) | fn update_reachable(&mut self, _other: &Self) {} function diamond (line 87) | fn diamond() { function test_big_scc (line 95) | fn test_big_scc() { function test_three_sccs (line 122) | fn test_three_sccs() { function test_find_state_2 (line 145) | fn test_find_state_2() { function test_find_state_3 (line 200) | fn test_find_state_3() { function test_deep_linear (line 226) | fn test_deep_linear() { function bench_sccc (line 255) | fn bench_sccc(b: &mut test::Bencher) { function test_max_self_loop (line 299) | fn test_max_self_loop() { function test_max_branch (line 307) | fn test_max_branch() { function test_single_cycle_max (line 317) | fn test_single_cycle_max() { function test_double_cycle_max (line 326) | fn test_double_cycle_max() { function test_bug_minimised (line 337) | fn test_bug_minimised() { function test_bug_max_leak_minimised (line 351) | fn test_bug_max_leak_minimised() { function test_bug_max_leak (line 366) | fn test_bug_max_leak() { function test_bug_max_zero_stick_shape (line 427) | fn test_bug_max_zero_stick_shape() { function test_min_max_in (line 443) | fn test_min_max_in() { FILE: compiler/rustc_data_structures/src/graph/tests.rs type TestGraph (line 6) | pub(super) struct TestGraph { method new (line 14) | pub(super) fn new(start_node: usize, edges: &[(usize, usize)]) -> Self { type Node (line 36) | type Node = usize; method num_nodes (line 38) | fn num_nodes(&self) -> usize { method start_node (line 44) | fn start_node(&self) -> usize { method predecessors (line 50) | fn predecessors(&self, node: usize) -> impl Iterator { method successors (line 56) | fn successors(&self, node: usize) -> impl Iterator { FILE: compiler/rustc_data_structures/src/graph/vec_graph/mod.rs type VecGraph (line 11) | pub struct VecGraph { function new (line 68) | pub fn new(num_nodes: usize, mut edge_pairs: Vec<(N, N)>) -> Self { function successors (line 123) | pub fn successors(&self, source: N) -> &[N] { function predecessors (line 134) | pub fn predecessors(&self, target: N) -> &[N] { function create_index (line 152) | fn create_index( type Node (line 205) | type Node = N; method num_nodes (line 207) | fn num_nodes(&self) -> usize { method num_edges (line 217) | fn num_edges(&self) -> usize { method successors (line 227) | fn successors(&self, node: N) -> impl Iterator { method predecessors (line 233) | fn predecessors(&self, node: Self::Node) -> impl Iterator VecGraph { function create_graph_with_back_refs (line 20) | fn create_graph_with_back_refs() -> VecGraph { function num_nodes (line 26) | fn num_nodes() { function successors (line 35) | fn successors() { function predecessors (line 56) | fn predecessors() { function dfs (line 68) | fn dfs() { FILE: compiler/rustc_data_structures/src/intern.rs type PrivateZst (line 11) | pub struct PrivateZst; type Interned (line 26) | pub struct Interned<'a, T>(pub &'a T, pub private::PrivateZst); function new_unchecked (line 35) | pub const fn new_unchecked(t: &'a T) -> Self { method clone (line 41) | fn clone(&self) -> Self { type Target (line 49) | type Target = T; method deref (line 52) | fn deref(&self) -> &T { method eq (line 59) | fn eq(&self, other: &Self) -> bool { method partial_cmp (line 68) | fn partial_cmp(&self, other: &Interned<'a, T>) -> Option { method cmp (line 82) | fn cmp(&self, other: &Interned<'a, T>) -> Ordering { method hash (line 100) | fn hash(&self, s: &mut H) { function hash_stable (line 110) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { method fmt (line 116) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_data_structures/src/intern/tests.rs type S (line 4) | struct S(u32); method eq (line 7) | fn eq(&self, _other: &Self) -> bool { method partial_cmp (line 15) | fn partial_cmp(&self, other: &S) -> Option { method cmp (line 23) | fn cmp(&self, other: &S) -> Ordering { function test_uniq (line 31) | fn test_uniq() { FILE: compiler/rustc_data_structures/src/jobserver.rs function default_client (line 44) | fn default_client() -> Client { function initialize_checked (line 58) | pub fn initialize_checked(report_warning: impl FnOnce(&'static str)) { constant ACCESS_ERROR (line 69) | const ACCESS_ERROR: &str = "jobserver check should have been called earl... function client (line 71) | pub fn client() -> Client { type ProxyData (line 75) | struct ProxyData { type Proxy (line 85) | pub struct Proxy { method new (line 96) | pub fn new() -> Arc { method acquire_thread (line 129) | pub fn acquire_thread(&self) { method release_thread (line 147) | pub fn release_thread(&self) { FILE: compiler/rustc_data_structures/src/lib.rs function outline (line 97) | pub fn outline R, R>(f: F) -> R { function defer (line 102) | pub fn defer(f: F) -> OnDrop { type OnDrop (line 106) | pub struct OnDrop(Option); function disable (line 111) | pub fn disable(mut self) { method drop (line 118) | fn drop(&mut self) { type FatalErrorMarker (line 126) | pub struct FatalErrorMarker; function make_display (line 129) | pub fn make_display(f: impl Fn(&mut fmt::Formatter<'_>) -> fmt::Result) ... function __noop_fix_for_windows_dllimport_issue (line 147) | pub fn __noop_fix_for_windows_dllimport_issue() {} FILE: compiler/rustc_data_structures/src/marker.rs type DynSend (line 9) | pub unsafe auto trait DynSend {} type DynSync (line 16) | pub unsafe auto trait DynSync {} function assert_dyn_sync (line 186) | pub fn assert_dyn_sync() {} function assert_dyn_send (line 187) | pub fn assert_dyn_send() {} function assert_dyn_send_val (line 188) | pub fn assert_dyn_send_val(_t: &T) {} function assert_dyn_send_sync_val (line 189) | pub fn assert_dyn_send_sync_val(pub T); type Target (line 201) | type Target = T; function deref (line 204) | fn deref(&self) -> &T { function deref_mut (line 211) | fn deref_mut(&mut self) -> &mut T { FILE: compiler/rustc_data_structures/src/memmap.rs type Mmap (line 7) | pub struct Mmap(memmap2::Mmap); method map (line 20) | pub unsafe fn map(file: File) -> io::Result { method map (line 35) | pub unsafe fn map(mut file: File) -> io::Result { method as_ref (line 54) | fn as_ref(&self) -> &[u8] { type Mmap (line 10) | pub struct Mmap(Vec); method map (line 20) | pub unsafe fn map(file: File) -> io::Result { method map (line 35) | pub unsafe fn map(mut file: File) -> io::Result { method as_ref (line 54) | fn as_ref(&self) -> &[u8] { type Target (line 45) | type Target = [u8]; method deref (line 48) | fn deref(&self) -> &[u8] { type MmapMut (line 60) | pub struct MmapMut(memmap2::MmapMut); method map_anon (line 68) | pub fn map_anon(len: usize) -> io::Result { method flush (line 74) | pub fn flush(&mut self) -> io::Result<()> { method make_read_only (line 79) | pub fn make_read_only(self) -> std::io::Result { method map_anon (line 88) | pub fn map_anon(len: usize) -> io::Result { method flush (line 94) | pub fn flush(&mut self) -> io::Result<()> { method make_read_only (line 99) | pub fn make_read_only(self) -> std::io::Result { type MmapMut (line 63) | pub struct MmapMut(Vec); method map_anon (line 68) | pub fn map_anon(len: usize) -> io::Result { method flush (line 74) | pub fn flush(&mut self) -> io::Result<()> { method make_read_only (line 79) | pub fn make_read_only(self) -> std::io::Result { method map_anon (line 88) | pub fn map_anon(len: usize) -> io::Result { method flush (line 94) | pub fn flush(&mut self) -> io::Result<()> { method make_read_only (line 99) | pub fn make_read_only(self) -> std::io::Result { type Target (line 105) | type Target = [u8]; method deref (line 108) | fn deref(&self) -> &[u8] { method deref_mut (line 115) | fn deref_mut(&mut self) -> &mut [u8] { FILE: compiler/rustc_data_structures/src/obligation_forest/graphviz.rs function dump_graphviz (line 24) | pub fn dump_graphviz>(&self, dir: P, description: &str) { type Node (line 42) | type Node = usize; type Edge (line 43) | type Edge = (usize, usize); function graph_id (line 45) | fn graph_id(&self) -> dot::Id<'_> { function node_id (line 49) | fn node_id(&self, index: &Self::Node) -> dot::Id<'_> { function node_label (line 53) | fn node_label(&self, index: &Self::Node) -> dot::LabelText<'_> { function edge_label (line 60) | fn edge_label(&self, (_index_source, _index_target): &Self::Edge) -> dot... type Node (line 66) | type Node = usize; type Edge (line 67) | type Edge = (usize, usize); function nodes (line 69) | fn nodes(&self) -> dot::Nodes<'_, Self::Node> { function edges (line 73) | fn edges(&self) -> dot::Edges<'_, Self::Edge> { function source (line 83) | fn source(&self, (s, _): &Self::Edge) -> Self::Node { function target (line 87) | fn target(&self, (_, t): &Self::Edge) -> Self::Node { FILE: compiler/rustc_data_structures/src/obligation_forest/mod.rs type ForestObligation (line 88) | pub trait ForestObligation: Clone + Debug { method as_cache_key (line 95) | fn as_cache_key(&self) -> Self::CacheKey; type ObligationProcessor (line 98) | pub trait ObligationProcessor { method skippable_obligations (line 106) | fn skippable_obligations<'a>( method needs_process_obligation (line 113) | fn needs_process_obligation(&self, _obligation: &Self::Obligation) -> ... method process_obligation (line 115) | fn process_obligation( method process_backedge (line 128) | fn process_backedge<'c, I>( type ProcessResult (line 143) | pub enum ProcessResult { type ObligationTreeId (line 150) | struct ObligationTreeId(usize); type ObligationForest (line 152) | pub struct ObligationForest { type Node (line 187) | struct Node { function new (line 207) | fn new(parent: Option, obligation: O, obligation_tree_id: Obligat... type NodeState (line 251) | enum NodeState { type OutcomeTrait (line 276) | pub trait OutcomeTrait { method new (line 280) | fn new() -> Self; method record_completed (line 281) | fn record_completed(&mut self, outcome: &Self::Obligation); method record_error (line 282) | fn record_error(&mut self, error: Self::Error); type Error (line 292) | type Error = Error; type Obligation (line 293) | type Obligation = O; method new (line 295) | fn new() -> Self { method record_completed (line 299) | fn record_completed(&mut self, _outcome: &Self::Obligation) { method record_error (line 303) | fn record_error(&mut self, error: Self::Error) { type Outcome (line 286) | pub struct Outcome { type Error (line 309) | pub struct Error { type ObligationTreeIdGenerator (line 316) | pub(super) type ObligationTreeIdGenerator = impl Iterator ObligationForest { function len (line 336) | pub fn len(&self) -> usize { function register_obligation (line 341) | pub fn register_obligation(&mut self, obligation: O) { function register_obligation_at (line 347) | fn register_obligation_at(&mut self, obligation: O, parent: Option(&mut self, error: E) -> Vec> { function map_pending_obligations (line 407) | pub fn map_pending_obligations(&self, f: F) -> R function has_pending_obligations (line 419) | pub fn has_pending_obligations(&self) -> bool { function insert_into_error_cache (line 423) | fn insert_into_error_cache(&mut self, index: usize) { function process_obligations (line 433) | pub fn process_obligations

(&mut self, processor: &mut P) -> P::OUT function error_at (line 517) | fn error_at(&self, mut index: usize) -> Vec { function mark_successes (line 550) | fn mark_successes(&self) { function inlined_mark_dependents_as_waiting (line 570) | fn inlined_mark_dependents_as_waiting(&self, node: &Node) { function uninlined_mark_dependents_as_waiting (line 585) | fn uninlined_mark_dependents_as_waiting(&self, node: &Node) { function process_cycles (line 593) | fn process_cycles

(&mut self, processor: &mut P, outcome: &mut P::OUT) function find_cycles_from_node (line 611) | fn find_cycles_from_node

( function compress (line 649) | fn compress(&mut self, mut outcome_cb: impl FnMut(&O)) { function apply_rewrites (line 710) | fn apply_rewrites(&mut self, node_rewrites: &[usize]) { FILE: compiler/rustc_data_structures/src/obligation_forest/tests.rs type CacheKey (line 8) | type CacheKey = &'a str; function as_cache_key (line 10) | fn as_cache_key(&self) -> Self::CacheKey { type ClosureObligationProcessor (line 15) | struct ClosureObligationProcessor { type TestOutcome (line 21) | struct TestOutcome { type Error (line 30) | type Error = Error; type Obligation (line 31) | type Obligation = O; method new (line 33) | fn new() -> Self { method record_completed (line 37) | fn record_completed(&mut self, outcome: &Self::Obligation) { method record_error (line 41) | fn record_error(&mut self, error: Self::Error) { function C (line 47) | fn C(of: OF, bf: BF) -> ClosureObligationProcessor; method needs_process_obligation (line 70) | fn needs_process_obligation(&self, _obligation: &Self::Obligation) -> bo... method process_obligation (line 74) | fn process_obligation( method process_backedge (line 81) | fn process_backedge<'c, I>( function push_pop (line 94) | fn push_pop() { function success_in_grandchildren (line 183) | fn success_in_grandchildren() { function to_errors_no_throw (line 245) | fn to_errors_no_throw() { function diamond (line 268) | fn diamond() { function done_dependency (line 362) | fn done_dependency() { function orphan (line 396) | fn orphan() { function simultaneous_register_and_error (line 457) | fn simultaneous_register_and_error() { FILE: compiler/rustc_data_structures/src/owned_slice.rs type OwnedSlice (line 17) | pub struct OwnedSlice { method slice (line 107) | pub fn slice(self, slicer: impl FnOnce(&[u8]) -> &[u8]) -> OwnedSlice { method borrow (line 131) | fn borrow(&self) -> &[u8] { function slice_owned (line 57) | pub fn slice_owned(owner: O, slicer: F) -> OwnedSlice function try_slice_owned (line 68) | pub fn try_slice_owned(owner: O, slicer: F) -> Result &[u8] { FILE: compiler/rustc_data_structures/src/owned_slice/tests.rs function smoke (line 9) | fn smoke() { function static_storage (line 16) | fn static_storage() { function slice_owned_the_slice (line 23) | fn slice_owned_the_slice() { function slice_the_slice (line 33) | fn slice_the_slice() { function try_and_fail (line 43) | fn try_and_fail() { function boxed (line 50) | fn boxed() { function drop_drops (line 60) | fn drop_drops() { function send_sync (line 75) | fn send_sync() { FILE: compiler/rustc_data_structures/src/packed.rs type Pu128 (line 12) | pub struct Pu128(pub u128); method get (line 16) | pub fn get(self) -> u128 { method from (line 30) | fn from(value: u128) -> Self { method eq (line 37) | fn eq(&self, other: &u128) -> bool { method partial_cmp (line 44) | fn partial_cmp(&self, other: &u128) -> Option { method fmt (line 51) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 58) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method hash_stable (line 65) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { method encode (line 72) | fn encode(&self, s: &mut S) { method decode (line 79) | fn decode(d: &mut D) -> Self { function from (line 23) | fn from(value: Pu128) -> Self { FILE: compiler/rustc_data_structures/src/profiling.rs constant EVENT_FILTERS_BY_NAME (line 137) | const EVENT_FILTERS_BY_NAME: &[(&str, EventFilter)] = &[ type QueryInvocationId (line 156) | pub struct QueryInvocationId(pub u32); type TimePassesFormat (line 160) | pub enum TimePassesFormat { type SelfProfilerRef (line 170) | pub struct SelfProfilerRef { method new (line 185) | pub fn new( method exec (line 203) | fn exec(&self, event_filter: EventFilter, f: F) -> TimingGuard<'_> method verbose_generic_activity (line 228) | pub fn verbose_generic_activity(&self, event_label: &'static str) -> V... method verbose_generic_activity_with_arg (line 236) | pub fn verbose_generic_activity_with_arg( method generic_activity (line 257) | pub fn generic_activity(&self, event_label: &'static str) -> TimingGua... method generic_activity_with_event_id (line 268) | pub fn generic_activity_with_event_id(&self, event_id: EventId) -> Tim... method generic_activity_with_arg (line 277) | pub fn generic_activity_with_arg( method generic_activity_with_arg_recorder (line 319) | pub fn generic_activity_with_arg_recorder( method artifact_size (line 363) | pub fn artifact_size(&self, artifact_kind: &str, artifact_name: A, ... method generic_activity_with_args (line 386) | pub fn generic_activity_with_args( method query_provider (line 410) | pub fn query_provider(&self) -> TimingGuard<'_> { method query_cache_hit (line 418) | pub fn query_cache_hit(&self, query_invocation_id: QueryInvocationId) { method query_blocked (line 450) | pub fn query_blocked(&self) -> TimingGuard<'_> { method incr_cache_loading (line 460) | pub fn incr_cache_loading(&self) -> TimingGuard<'_> { method incr_result_hashing (line 473) | pub fn incr_result_hashing(&self) -> TimingGuard<'_> { method instant_query_event (line 484) | fn instant_query_event( method with_profiler (line 499) | pub fn with_profiler(&self, f: impl FnOnce(&SelfProfiler)) { method get_or_alloc_cached_string (line 509) | pub fn get_or_alloc_cached_string(&self, s: &str) -> Option { method store_query_cache_hits (line 519) | pub fn store_query_cache_hits(&self) { method enabled (line 543) | pub fn enabled(&self) -> bool { method llvm_recording_enabled (line 548) | pub fn llvm_recording_enabled(&self) -> bool { method get_self_profiler (line 552) | pub fn get_self_profiler(&self) -> Option> { method is_args_recording_enabled (line 557) | pub fn is_args_recording_enabled(&self) -> bool { type EventArgRecorder (line 564) | pub struct EventArgRecorder<'p> { function record_arg (line 580) | pub fn record_arg(&mut self, event_arg: A) type SelfProfiler (line 589) | pub struct SelfProfiler { method new (line 620) | pub fn new( method alloc_string (line 699) | pub fn alloc_string(&self, s: &STR) ... method increment_query_cache_hit_counters (line 704) | pub fn increment_query_cache_hit_counters(&self, id: QueryInvocationId) { method get_or_alloc_cached_string (line 725) | pub fn get_or_alloc_cached_string(&self, s: A) -> StringId method map_query_invocation_id_to_string (line 751) | pub fn map_query_invocation_id_to_string(&self, from: QueryInvocationI... method bulk_map_query_invocation_id_to_single_string (line 756) | pub fn bulk_map_query_invocation_id_to_single_string(&self, from: I... method query_key_recording_enabled (line 764) | pub fn query_key_recording_enabled(&self) -> bool { method event_id_builder (line 768) | pub fn event_id_builder(&self) -> EventIdBuilder<'_> { type TimingGuard (line 774) | pub struct TimingGuard<'a>(Option>); function start (line 778) | pub fn start( function finish_with_query_invocation_id (line 791) | pub fn finish_with_query_invocation_id(self, query_invocation_id: QueryI... function none (line 802) | pub fn none() -> TimingGuard<'a> { function run (line 807) | pub fn run(self, f: impl FnOnce() -> R) -> R { type VerboseInfo (line 813) | struct VerboseInfo { type VerboseTimingGuard (line 821) | pub struct VerboseTimingGuard<'a> { function start (line 827) | pub fn start( function run (line 843) | pub fn run(self, f: impl FnOnce() -> R) -> R { method drop (line 850) | fn drop(&mut self) { type JsonTimePassesEntry (line 859) | struct JsonTimePassesEntry<'a> { method fmt (line 867) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function print_time_passes_entry (line 884) | pub fn print_time_passes_entry( function duration_to_secs_str (line 946) | pub fn duration_to_secs_str(dur: std::time::Duration) -> String { function get_thread_id (line 950) | fn get_thread_id() -> u32 { FILE: compiler/rustc_data_structures/src/profiling/tests.rs function with_rss (line 4) | fn with_rss() { function no_rss (line 12) | fn no_rss() { FILE: compiler/rustc_data_structures/src/sharded.rs constant SHARD_BITS (line 14) | const SHARD_BITS: usize = 5; constant SHARDS (line 16) | const SHARDS: usize = 1 << SHARD_BITS; type Sharded (line 20) | pub enum Sharded { method default (line 27) | fn default() -> Self { function new (line 34) | pub fn new(mut value: impl FnMut() -> T) -> Self { function get_shard_by_value (line 46) | pub fn get_shard_by_value(&self, val: &K) -> &Lock { function get_shard_by_hash (line 54) | pub fn get_shard_by_hash(&self, hash: u64) -> &Lock { function get_shard_by_index (line 59) | pub fn get_shard_by_index(&self, i: usize) -> &Lock { function lock_shard_by_value (line 72) | pub fn lock_shard_by_value(&self, val: &K) -> LockGuar... function lock_shard_by_hash (line 88) | pub fn lock_shard_by_hash(&self, hash: u64) -> LockGuard<'_, T> { function lock_shard_by_index (line 94) | pub fn lock_shard_by_index(&self, i: usize) -> LockGuard<'_, T> { function lock_shards (line 118) | pub fn lock_shards(&self) -> impl Iterator> { function try_lock_shards (line 126) | pub fn try_lock_shards(&self) -> impl Iterator usize { type ShardedHashMap (line 143) | pub type ShardedHashMap = Sharded>; function with_capacity (line 146) | pub fn with_capacity(cap: usize) -> Self { function len (line 149) | pub fn len(&self) -> usize { function get (line 156) | pub fn get(&self, key: &Q) -> Option function get_or_insert_with (line 169) | pub fn get_or_insert_with(&self, key: K, default: impl FnOnce() -> V) -> V function insert (line 187) | pub fn insert(&self, key: K, value: V) -> Option { function intern_ref (line 206) | pub fn intern_ref(&self, value: &Q, make: impl FnOnce() -> K)... function intern (line 225) | pub fn intern(&self, value: Q, make: impl FnOnce(Q) -> K) -> K type IntoPointer (line 244) | pub trait IntoPointer { method into_pointer (line 246) | fn into_pointer(&self) -> *const (); function contains_pointer_to (line 250) | pub fn contains_pointer_to(&self, value: &T) -> b... function make_hash (line 259) | pub fn make_hash(val: &K) -> u64 { function table_entry (line 266) | fn table_entry<'a, K, V, Q>( function get_shard_hash (line 284) | fn get_shard_hash(hash: u64) -> usize { FILE: compiler/rustc_data_structures/src/small_c_str.rs constant SIZE (line 9) | const SIZE: usize = 36; type SmallCStr (line 13) | pub struct SmallCStr { method new (line 19) | pub fn new(s: &str) -> SmallCStr { method new_with_nul (line 39) | pub fn new_with_nul(s: &str) -> SmallCStr { method as_c_str (line 48) | pub fn as_c_str(&self) -> &ffi::CStr { method len_with_nul (line 53) | pub fn len_with_nul(&self) -> usize { method spilled (line 57) | pub fn spilled(&self) -> bool { method from_iter (line 72) | fn from_iter>(iter: T) -> Self { method from (line 84) | fn from(s: &ffi::CStr) -> Self { type Target (line 63) | type Target = ffi::CStr; method deref (line 66) | fn deref(&self) -> &ffi::CStr { FILE: compiler/rustc_data_structures/src/small_c_str/tests.rs function short (line 4) | fn short() { function empty (line 16) | fn empty() { function long (line 28) | fn long() { function internal_nul (line 43) | fn internal_nul() { function from_cstr (line 48) | fn from_cstr() { FILE: compiler/rustc_data_structures/src/snapshot_map/mod.rs type SnapshotMapStorage (line 13) | pub type SnapshotMapStorage = SnapshotMap, ()>; type SnapshotMapRef (line 14) | pub type SnapshotMapRef<'a, K, V, L> = SnapshotMap, L = VecLog Self { type UndoLog (line 35) | pub enum UndoLog { function with_log (line 43) | pub fn with_log(&mut self, undo_log: L2) -> SnapshotMap bool { function remove (line 72) | pub fn remove(&mut self, key: K) -> bool { function get (line 82) | pub fn get(&self, key: &K) -> Option<&V> { function snapshot (line 91) | pub fn snapshot(&mut self) -> Snapshot { function commit (line 95) | pub fn commit(&mut self, snapshot: Snapshot) { function rollback_to (line 99) | pub fn rollback_to(&mut self, snapshot: Snapshot) { type Output (line 110) | type Output = V; function index (line 111) | fn index(&self, key: &'k K) -> &V { function reverse (line 121) | fn reverse(&mut self, undo: UndoLog) { function reverse (line 130) | fn reverse(&mut self, undo: UndoLog) { FILE: compiler/rustc_data_structures/src/snapshot_map/tests.rs function basic (line 4) | fn basic() { function out_of_order (line 21) | fn out_of_order() { function nested_commit_then_rollback (line 33) | fn nested_commit_then_rollback() { FILE: compiler/rustc_data_structures/src/sorted_map.rs type SortedMap (line 25) | pub struct SortedMap { method default (line 31) | fn default() -> SortedMap { function new (line 38) | pub const fn new() -> SortedMap { function from_presorted_elements (line 50) | pub fn from_presorted_elements(elements: Vec<(K, V)>) -> SortedMap { function insert (line 57) | pub fn insert(&mut self, key: K, value: V) -> Option { function remove (line 71) | pub fn remove(&mut self, key: &K) -> Option { function get (line 79) | pub fn get(&self, key: &Q) -> Option<&V> function get_mut (line 91) | pub fn get_mut(&mut self, key: &Q) -> Option<&mut V> function get_mut_or_insert_default (line 104) | pub fn get_mut_or_insert_default(&mut self, key: K) -> &mut V function clear (line 120) | pub fn clear(&mut self) { function iter (line 126) | pub fn iter(&self) -> std::slice::Iter<'_, (K, V)> { function keys (line 132) | pub fn keys(&self) -> impl ExactSizeIterator + DoubleEndedIte... function values (line 138) | pub fn values(&self) -> impl ExactSizeIterator + DoubleEndedI... function len (line 143) | pub fn len(&self) -> usize { function is_empty (line 148) | pub fn is_empty(&self) -> bool { function range (line 153) | pub fn range(&self, range: R) -> &[(K, V)] function range_is_empty (line 163) | pub fn range_is_empty(&self, range: R) -> bool function remove_range (line 194) | pub fn remove_range(&mut self, range: R) function offset_keys (line 205) | pub fn offset_keys(&mut self, f: F) function insert_presorted (line 219) | pub fn insert_presorted( function lookup_index_for (line 260) | fn lookup_index_for(&self, key: &Q) -> Result function range_slice_indices (line 269) | fn range_slice_indices(&self, range: R) -> (usize, usize) function contains_key (line 299) | pub fn contains_key(&self, key: &Q) -> bool type Item (line 309) | type Item = (K, V); type IntoIter (line 310) | type IntoIter = std::vec::IntoIter<(K, V)>; method into_iter (line 312) | fn into_iter(self) -> Self::IntoIter { type Output (line 322) | type Output = V; function index (line 324) | fn index(&self, key: &Q) -> &Self::Output { function index_mut (line 334) | fn index_mut(&mut self, key: &Q) -> &mut Self::Output { function from_iter (line 340) | fn from_iter>(iter: T) -> Self { function hash_stable (line 352) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { method fmt (line 358) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: compiler/rustc_data_structures/src/sorted_map/index_map.rs type SortedIndexMultiMap (line 27) | pub struct SortedIndexMultiMap { function new (line 39) | pub fn new() -> Self { function len (line 44) | pub fn len(&self) -> usize { function is_empty (line 49) | pub fn is_empty(&self) -> bool { function into_iter (line 55) | pub fn into_iter(self) -> impl DoubleEndedIterator { function into_iter_enumerated (line 61) | pub fn into_iter_enumerated(self) -> impl DoubleEndedIterator impl '_ + DoubleEndedIterator { function iter_enumerated (line 73) | pub fn iter_enumerated(&self) -> impl '_ + DoubleEndedIterator Option<&(K, V)> { function get_by_key (line 88) | pub fn get_by_key(&self, key: K) -> impl Iterator { function get_by_key_enumerated (line 98) | pub fn get_by_key_enumerated(&self, key: K) -> impl Iterator bool { method eq (line 114) | fn eq(&self, other: &Self) -> bool { method hash (line 125) | fn hash(&self, hasher: &mut H) { function from_iter (line 131) | fn from_iter(iter: J) -> Self type Output (line 146) | type Output = V; function index (line 148) | fn index(&self, idx: I) -> &Self::Output { FILE: compiler/rustc_data_structures/src/sorted_map/tests.rs function test_sorted_index_multi_map (line 4) | fn test_sorted_index_multi_map() { function test_insert_and_iter (line 34) | fn test_insert_and_iter() { function test_get_and_index (line 48) | fn test_get_and_index() { function test_range (line 74) | fn test_range() { function test_offset_keys (line 98) | fn test_offset_keys() { function keys (line 114) | fn keys(s: SortedMap) -> Vec { function elements (line 118) | fn elements(s: SortedMap) -> Vec<(u32, u32)> { function test_remove_range (line 123) | fn test_remove_range() { function test_remove (line 148) | fn test_remove() { function test_insert_presorted_non_overlapping (line 169) | fn test_insert_presorted_non_overlapping() { function test_insert_presorted_first_elem_equal (line 181) | fn test_insert_presorted_first_elem_equal() { function test_insert_presorted_last_elem_equal (line 193) | fn test_insert_presorted_last_elem_equal() { function test_insert_presorted_shuffle (line 205) | fn test_insert_presorted_shuffle() { function test_insert_presorted_at_end (line 217) | fn test_insert_presorted_at_end() { FILE: compiler/rustc_data_structures/src/sso/map.rs constant SSO_ARRAY_SIZE (line 24) | const SSO_ARRAY_SIZE: usize = 8; type SsoHashMap (line 70) | pub enum SsoHashMap { function new (line 78) | pub fn new() -> Self { function with_capacity (line 83) | pub fn with_capacity(cap: usize) -> Self { function clear (line 93) | pub fn clear(&mut self) { function capacity (line 101) | pub fn capacity(&self) -> usize { function len (line 109) | pub fn len(&self) -> usize { function is_empty (line 117) | pub fn is_empty(&self) -> bool { function iter (line 127) | pub fn iter(&self) -> <&Self as IntoIterator>::IntoIter { function iter_mut (line 135) | pub fn iter_mut(&mut self) -> impl Iterator { function keys (line 141) | pub fn keys(&self) -> impl Iterator { function values (line 150) | pub fn values(&self) -> impl Iterator { function values_mut (line 159) | pub fn values_mut(&mut self) -> impl Iterator { function drain (line 168) | pub fn drain(&mut self) -> impl Iterator { function migrate_if_full (line 179) | fn migrate_if_full(&mut self) { function reserve (line 190) | pub fn reserve(&mut self, additional: usize) { function shrink_to_fit (line 206) | pub fn shrink_to_fit(&mut self) { function retain (line 217) | pub fn retain(&mut self, mut f: F) function insert (line 235) | pub fn insert(&mut self, key: K, value: V) -> Option { function remove (line 258) | pub fn remove(&mut self, key: &K) -> Option { function remove_entry (line 270) | pub fn remove_entry(&mut self, key: &K) -> Option<(K, V)> { function get (line 280) | pub fn get(&self, key: &K) -> Option<&V> { function get_mut (line 295) | pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { function get_key_value (line 310) | pub fn get_key_value(&self, key: &K) -> Option<(&K, &V)> { function contains_key (line 325) | pub fn contains_key(&self, key: &K) -> bool { function entry (line 334) | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { method default (line 341) | fn default() -> Self { function from_iter (line 347) | fn from_iter>(iter: I) -> SsoHashMap { function extend (line 355) | fn extend(&mut self, iter: I) function extend_one (line 365) | fn extend_one(&mut self, (k, v): (K, V)) { function extend_reserve (line 369) | fn extend_reserve(&mut self, additional: usize) { function extend (line 388) | fn extend>(&mut self, iter: T) { function extend_one (line 393) | fn extend_one(&mut self, (&k, &v): (&'a K, &'a V)) { function extend_reserve (line 398) | fn extend_reserve(&mut self, additional: usize) { type IntoIter (line 404) | type IntoIter = Either< type Item (line 408) | type Item = ::Item; method into_iter (line 410) | fn into_iter(self) -> Self::IntoIter { function adapt_array_ref_it (line 420) | fn adapt_array_ref_it(pair: &(K, V)) -> (&K, &V) { function adapt_array_mut_it (line 427) | fn adapt_array_mut_it(pair: &mut (K, V)) -> (&K, &mut V) { type IntoIter (line 433) | type IntoIter = Either< type Item (line 440) | type Item = ::Item; method into_iter (line 442) | fn into_iter(self) -> Self::IntoIter { type IntoIter (line 451) | type IntoIter = Either< type Item (line 458) | type Item = ::Item; method into_iter (line 460) | fn into_iter(self) -> Self::IntoIter { function fmt (line 473) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Output (line 482) | type Output = V; function index (line 485) | fn index(&self, key: &K) -> &V { type Entry (line 491) | pub struct Entry<'a, K, V> { function and_modify (line 499) | pub fn and_modify(self, f: F) -> Self function or_insert (line 512) | pub fn or_insert(self, value: V) -> &'a mut V { function or_insert_with (line 518) | pub fn or_insert_with V>(self, default: F) -> &'a mut V { function key (line 539) | pub fn key(&self) -> &K { function or_default (line 548) | pub fn or_default(self) -> &'a mut V { FILE: compiler/rustc_data_structures/src/sso/set.rs type SsoHashSet (line 25) | pub struct SsoHashSet { function entry_to_key (line 33) | fn entry_to_key((k, _v): (K, V)) -> K { function new (line 40) | pub fn new() -> Self { function with_capacity (line 46) | pub fn with_capacity(cap: usize) -> Self { function clear (line 52) | pub fn clear(&mut self) { function capacity (line 58) | pub fn capacity(&self) -> usize { function len (line 64) | pub fn len(&self) -> usize { function is_empty (line 70) | pub fn is_empty(&self) -> bool { function iter (line 77) | pub fn iter(&self) -> impl Iterator { function drain (line 83) | pub fn drain(&mut self) -> impl Iterator { function reserve (line 93) | pub fn reserve(&mut self, additional: usize) { function shrink_to_fit (line 101) | pub fn shrink_to_fit(&mut self) { function retain (line 107) | pub fn retain(&mut self, mut f: F) function take (line 116) | pub fn take(&mut self, value: &T) -> Option { function get (line 122) | pub fn get(&self, value: &T) -> Option<&T> { function insert (line 133) | pub fn insert(&mut self, elem: T) -> bool { function remove (line 140) | pub fn remove(&mut self, value: &T) -> bool { function contains (line 146) | pub fn contains(&self, value: &T) -> bool { function from_iter (line 152) | fn from_iter>(iter: I) -> SsoHashSet { method default (line 161) | fn default() -> Self { function extend (line 167) | fn extend(&mut self, iter: I) function extend_one (line 177) | fn extend_one(&mut self, item: T) { function extend_reserve (line 182) | fn extend_reserve(&mut self, additional: usize) { function extend (line 192) | fn extend>(&mut self, iter: I) { function extend_one (line 197) | fn extend_one(&mut self, &item: &'a T) { function extend_reserve (line 202) | fn extend_reserve(&mut self, additional: usize) { type IntoIter (line 208) | type IntoIter = std::iter::Map< as IntoIterator>::Into... type Item (line 209) | type Item = ::Item; method into_iter (line 212) | fn into_iter(self) -> Self::IntoIter { type IntoIter (line 218) | type IntoIter = std::iter::Map< type Item (line 222) | type Item = ::Item; method into_iter (line 225) | fn into_iter(self) -> Self::IntoIter { function fmt (line 234) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_data_structures/src/stable_hasher.rs type HashStable (line 44) | pub trait HashStable { method hash_stable (line 45) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher); type ToStableHashKey (line 51) | pub trait ToStableHashKey { method to_stable_hash_key (line 53) | fn to_stable_hash_key(&self, hcx: &Hcx) -> Self::KeyType; type StableOrd (line 85) | pub trait StableOrd: Ord { constant CAN_USE_UNSTABLE_SORT (line 86) | const CAN_USE_UNSTABLE_SORT: bool; constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 90) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: (); constant CAN_USE_UNSTABLE_SORT (line 94) | const CAN_USE_UNSTABLE_SORT: bool = T::CAN_USE_UNSTABLE_SORT; constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 99) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); constant CAN_USE_UNSTABLE_SORT (line 188) | const CAN_USE_UNSTABLE_SORT: bool = true; constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 192) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); constant CAN_USE_UNSTABLE_SORT (line 257) | const CAN_USE_UNSTABLE_SORT: bool = T1::CAN_USE_UNSTABLE_SORT && T2::C... constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 261) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); constant CAN_USE_UNSTABLE_SORT (line 279) | const CAN_USE_UNSTABLE_SORT: bool = constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 284) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); constant CAN_USE_UNSTABLE_SORT (line 304) | const CAN_USE_UNSTABLE_SORT: bool = T1::CAN_USE_UNSTABLE_SORT constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 311) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); constant CAN_USE_UNSTABLE_SORT (line 405) | const CAN_USE_UNSTABLE_SORT: bool = true; constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 409) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); constant CAN_USE_UNSTABLE_SORT (line 420) | const CAN_USE_UNSTABLE_SORT: bool = true; constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 424) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); constant CAN_USE_UNSTABLE_SORT (line 451) | const CAN_USE_UNSTABLE_SORT: bool = true; constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 454) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); constant CAN_USE_UNSTABLE_SORT (line 473) | const CAN_USE_UNSTABLE_SORT: bool = T::CAN_USE_UNSTABLE_SORT; constant THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED (line 476) | const THIS_IMPLEMENTATION_HAS_BEEN_TRIPLE_CHECKED: () = (); type StableCompare (line 112) | pub trait StableCompare { constant CAN_USE_UNSTABLE_SORT (line 113) | const CAN_USE_UNSTABLE_SORT: bool; method stable_cmp (line 115) | fn stable_cmp(&self, other: &Self) -> std::cmp::Ordering; constant CAN_USE_UNSTABLE_SORT (line 121) | const CAN_USE_UNSTABLE_SORT: bool = T::CAN_USE_UNSTABLE_SORT; method stable_cmp (line 123) | fn stable_cmp(&self, other: &Self) -> std::cmp::Ordering { method hash_stable (line 182) | fn hash_stable(&self, _: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 196) | fn hash_stable(&self, _hcx: &mut Hcx, _hasher: &mut StableHasher) { function hash_stable (line 202) | fn hash_stable(&self, _hcx: &mut Hcx, _hasher: &mut StableHasher) {} function hash_stable (line 207) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 214) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 220) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 227) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 235) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 242) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 249) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 270) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 294) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 315) | default fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 324) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 332) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 344) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 358) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 371) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 378) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 385) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 392) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 399) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { method hash_stable (line 414) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { type KeyType (line 428) | type KeyType = String; method to_stable_hash_key (line 430) | fn to_stable_hash_key(&self, _: &Hcx) -> Self::KeyType { type KeyType (line 436) | type KeyType = (T1::KeyType, T2::KeyType); function to_stable_hash_key (line 438) | fn to_stable_hash_key(&self, hcx: &Hcx) -> Self::KeyType { function hash_stable (line 445) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 462) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 485) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 499) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 506) | fn hash_stable(&self, _: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 516) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 526) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 538) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 547) | fn hash_stable(&self, _hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 553) | fn hash_stable(&self, _hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 574) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function hash_stable (line 586) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { type HashingControls (line 602) | pub struct HashingControls { FILE: compiler/rustc_data_structures/src/stable_hasher/tests.rs function hash (line 10) | fn hash>(t: &T) -> Hash128 { function test_hash_bit_set (line 19) | fn test_hash_bit_set() { function test_hash_bit_matrix (line 29) | fn test_hash_bit_matrix() { function test_attribute_permutation (line 39) | fn test_attribute_permutation() { function test_isize_compression (line 82) | fn test_isize_compression() { FILE: compiler/rustc_data_structures/src/stack.rs constant RED_ZONE (line 4) | const RED_ZONE: usize = 100 * 1024; constant STACK_PER_RECURSION (line 9) | const STACK_PER_RECURSION: usize = 1024 * 1024; constant STACK_PER_RECURSION (line 12) | const STACK_PER_RECURSION: usize = 16 * 1024 * 1024; function ensure_sufficient_stack (line 20) | pub fn ensure_sufficient_stack(f: impl FnOnce() -> R) -> R { FILE: compiler/rustc_data_structures/src/steal.rs type Steal (line 25) | pub struct Steal { function new (line 30) | pub fn new(value: T) -> Self { function borrow (line 35) | pub fn borrow(&self) -> MappedReadGuard<'_, T> { function risky_hack_borrow_mut (line 48) | pub fn risky_hack_borrow_mut(&self) -> MappedWriteGuard<'_, T> { function steal (line 57) | pub fn steal(&self) -> T { function is_stolen (line 69) | pub fn is_stolen(&self) -> bool { function hash_stable (line 75) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { FILE: compiler/rustc_data_structures/src/svh.rs type Svh (line 25) | pub struct Svh { method new (line 33) | pub fn new(hash: Fingerprint) -> Svh { method as_u128 (line 37) | pub fn as_u128(self) -> u128 { method to_hex (line 41) | pub fn to_hex(self) -> String { method fmt (line 47) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_data_structures/src/sync.rs constant UNINITIALIZED (line 71) | const UNINITIALIZED: u8 = 0; constant DYN_NOT_THREAD_SAFE (line 72) | const DYN_NOT_THREAD_SAFE: u8 = 1; constant DYN_THREAD_SAFE (line 73) | const DYN_THREAD_SAFE: u8 = 2; function check_dyn_thread_safe (line 79) | pub fn check_dyn_thread_safe() -> Option> { function is_dyn_thread_safe (line 85) | pub fn is_dyn_thread_safe() -> bool { function might_be_dyn_thread_safe (line 95) | pub(super) fn might_be_dyn_thread_safe() -> bool { function set_dyn_thread_safe_mode (line 100) | pub fn set_dyn_thread_safe_mode(mode: bool) { type FromDyn (line 114) | pub struct FromDyn(T); function derive (line 118) | pub fn derive(&self, val: O) -> FromDyn { function into_inner (line 124) | pub fn into_inner(self) -> T { type Target (line 136) | type Target = T; function deref (line 139) | fn deref(&self) -> &Self::Target { function deref_mut (line 146) | fn deref_mut(&mut self) -> &mut Self::Target { constant ERROR_CHECKING (line 154) | const ERROR_CHECKING: bool = false; type CacheAligned (line 158) | pub struct CacheAligned(pub T); type HashMapExt (line 160) | pub trait HashMapExt { method insert_same (line 163) | fn insert_same(&mut self, key: K, value: V); function insert_same (line 167) | fn insert_same(&mut self, key: K, value: V) { type RwLock (line 173) | pub struct RwLock(parking_lot::RwLock); function new (line 177) | pub fn new(inner: T) -> Self { function into_inner (line 182) | pub fn into_inner(self) -> T { function get_mut (line 187) | pub fn get_mut(&mut self) -> &mut T { function read (line 192) | pub fn read(&self) -> ReadGuard<'_, T> { function try_write (line 201) | pub fn try_write(&self) -> Result, ()> { function write (line 206) | pub fn write(&self) -> WriteGuard<'_, T> { function borrow (line 216) | pub fn borrow(&self) -> ReadGuard<'_, T> { function borrow_mut (line 222) | pub fn borrow_mut(&self) -> WriteGuard<'_, T> { FILE: compiler/rustc_data_structures/src/sync/freeze.rs type FreezeLock (line 15) | pub struct FreezeLock { function new (line 27) | pub fn new(value: T) -> Self { function frozen (line 32) | pub fn frozen(value: T) -> Self { function with (line 37) | pub fn with(value: T, frozen: bool) -> Self { function clone (line 47) | pub fn clone(&self) -> Self function is_frozen (line 56) | pub fn is_frozen(&self) -> bool { function get (line 62) | pub fn get(&self) -> Option<&T> { function read (line 73) | pub fn read(&self) -> FreezeReadGuard<'_, T> { function borrow (line 85) | pub fn borrow(&self) -> FreezeReadGuard<'_, T> { function write (line 91) | pub fn write(&self) -> FreezeWriteGuard<'_, T> { function try_write (line 96) | pub fn try_write(&self) -> Option> { function freeze (line 112) | pub fn freeze(&self) -> &T { type FreezeReadGuard (line 126) | pub struct FreezeReadGuard<'a, T: ?Sized> { type Target (line 132) | type Target = T; method deref (line 134) | fn deref(&self) -> &T { function map (line 144) | pub fn map(this: Self, f: impl FnOnce(&T) -> &U) -> FreezeRea... type FreezeWriteGuard (line 151) | pub struct FreezeWriteGuard<'a, T: ?Sized> { function freeze (line 159) | pub fn freeze(self) -> &'a T { function map (line 169) | pub fn map( type Target (line 183) | type Target = T; method deref (line 185) | fn deref(&self) -> &T { method deref_mut (line 193) | fn deref_mut(&mut self) -> &mut T { FILE: compiler/rustc_data_structures/src/sync/lock.rs type Mode (line 7) | pub enum Mode { type LockGuard (line 24) | pub struct LockGuard<'a, T> { type Target (line 34) | type Target = T; method deref (line 36) | fn deref(&self) -> &T { method deref_mut (line 45) | fn deref_mut(&mut self) -> &mut T { method drop (line 53) | fn drop(&mut self) { constant LOCKED (line 77) | const LOCKED: bool = true; type Lock (line 81) | pub struct Lock { function new (line 93) | pub fn new(inner: T) -> Self { function into_inner (line 106) | pub fn into_inner(self) -> T { function get_mut (line 111) | pub fn get_mut(&mut self) -> &mut T { function try_lock (line 116) | pub fn try_lock(&self) -> Option> { function lock_assume (line 140) | pub unsafe fn lock_assume(&self, mode: Mode) -> LockGuard<'_, T> { function lock (line 166) | pub fn lock(&self) -> LockGuard<'_, T> { function with_lock (line 177) | pub fn with_lock R, R>(&self, f: F) -> R { function borrow (line 183) | pub fn borrow(&self) -> LockGuard<'_, T> { function borrow_mut (line 189) | pub fn borrow_mut(&self) -> LockGuard<'_, T> { method default (line 196) | fn default() -> Self { function fmt (line 202) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_data_structures/src/sync/parallel.rs type ParallelGuard (line 17) | pub struct ParallelGuard { method run (line 22) | pub fn run(&self, f: impl FnOnce() -> R) -> Option { function parallel_guard (line 37) | pub fn parallel_guard(f: impl FnOnce(&ParallelGuard) -> R) -> R { function serial_join (line 46) | fn serial_join(oper_a: A, oper_b: B) -> (RA, RB) function spawn (line 59) | pub fn spawn(func: impl FnOnce() + DynSend + 'static) { function par_fns (line 74) | pub fn par_fns(funcs: &mut [&mut (dyn FnMut() + DynSend)]) { function par_join (line 106) | pub fn par_join(oper_a: A, oper_b: B) ->... function par_slice (line 126) | fn par_slice( function par_for_each_in (line 172) | pub fn par_for_each_in>( function try_par_for_each_in (line 192) | pub fn try_par_for_each_in( function par_map (line 223) | pub fn par_map, R: DynSend, C: Fro... function broadcast (line 250) | pub fn broadcast(op: impl Fn(usize) -> R + DynSync) -> Vec { FILE: compiler/rustc_data_structures/src/sync/vec.rs type AppendOnlyIndexVec (line 6) | pub struct AppendOnlyIndexVec { function new (line 12) | pub fn new() -> Self { function push (line 16) | pub fn push(&self, val: T) -> I { function get (line 21) | pub fn get(&self, i: I) -> Option { type AppendOnlyVec (line 28) | pub struct AppendOnlyVec { function new (line 33) | pub fn new() -> Self { function push (line 37) | pub fn push(&self, val: T) -> usize { function get (line 44) | pub fn get(&self, i: usize) -> Option { function iter_enumerated (line 48) | pub fn iter_enumerated(&self) -> impl Iterator { function iter (line 52) | pub fn iter(&self) -> impl Iterator { function contains (line 58) | pub fn contains(&self, val: T) -> bool { function from_iter (line 64) | fn from_iter>(iter: T) -> Self { FILE: compiler/rustc_data_structures/src/sync/worker_local.rs type RegistryId (line 15) | struct RegistryId(*const RegistryData); method verify (line 25) | fn verify(self) -> usize { type RegistryData (line 32) | struct RegistryData { type Registry (line 39) | pub struct Registry(Arc); method new (line 63) | pub fn new(thread_limit: NonZero) -> Self { method current (line 68) | pub fn current() -> Self { method register (line 74) | pub fn register(&self) { method id (line 96) | fn id(&self) -> RegistryId { type ThreadData (line 47) | struct ThreadData { type WorkerLocal (line 104) | pub struct WorkerLocal { function new (line 119) | pub fn new T>(mut initial: F) -> WorkerLocal { function into_inner (line 129) | pub fn into_inner(self) -> impl Iterator { type Target (line 135) | type Target = T; method deref (line 138) | fn deref(&self) -> &T { method default (line 146) | fn default() -> Self { FILE: compiler/rustc_data_structures/src/tagged_ptr.rs type Tag (line 26) | pub unsafe trait Tag: Copy { constant BITS (line 32) | const BITS: u32; method into_usize (line 43) | fn into_usize(self) -> usize; method from_usize (line 52) | unsafe fn from_usize(tag: usize) -> Self; function bits_for (line 57) | pub const fn bits_for() -> u32 { function bits_for_tags (line 67) | pub const fn bits_for_tags(mut tags: &[usize]) -> u32 { type TaggedRef (line 86) | pub struct TaggedRef<'a, Pointee: Aligned + ?Sized, T: Tag> { function new (line 138) | pub fn new(pointer: &'a P, tag: T) -> Self { function pointer (line 144) | pub fn pointer(self) -> &'a P { function tag (line 151) | pub fn tag(&self) -> T { function set_tag (line 163) | pub fn set_tag(&mut self, tag: T) { constant TAG_BIT_SHIFT (line 167) | const TAG_BIT_SHIFT: u32 = usize::BITS - T::BITS; constant ASSERTION (line 168) | const ASSERTION: () = { assert!(T::BITS <= bits_for::

()) }; function pack (line 172) | fn pack(ptr: NonNull

, tag: T) -> NonNull

{ function pointer_raw (line 195) | pub(super) fn pointer_raw(&self) -> NonNull

{ method clone (line 213) | fn clone(&self) -> Self { type Target (line 223) | type Target = P; method deref (line 226) | fn deref(&self) -> &Self::Target { function fmt (line 236) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method eq (line 251) | fn eq(&self, other: &Self) -> bool { method hash (line 260) | fn hash(&self, state: &mut H) { function hash_stable (line 270) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { FILE: compiler/rustc_data_structures/src/tagged_ptr/tests.rs type Tag2 (line 10) | enum Tag2 { method hash_stable (line 36) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut crate::stable_hasher... constant BITS (line 18) | const BITS: u32 = 2; method into_usize (line 20) | fn into_usize(self) -> usize { method from_usize (line 24) | unsafe fn from_usize(tag: usize) -> Self { function smoke (line 42) | fn smoke() { function stable_hash_hashes_as_tuple (line 65) | fn stable_hash_hashes_as_tuple() { constant _ (line 106) | const _: () = (); FILE: compiler/rustc_data_structures/src/temp_dir.rs type MaybeTempDir (line 8) | pub struct MaybeTempDir { method as_ref (line 26) | fn as_ref(&self) -> &Path { method new (line 32) | pub fn new(dir: TempDir, keep_on_drop: bool) -> MaybeTempDir { method drop (line 15) | fn drop(&mut self) { FILE: compiler/rustc_data_structures/src/thinvec.rs type ExtractIf (line 11) | pub struct ExtractIf<'a, T, F> { function new (line 27) | pub fn new(vec: &'a mut ThinVec, filter: F) -> Self { type Item (line 43) | type Item = T; method next (line 44) | fn next(&mut self) -> Option { method size_hint (line 68) | fn size_hint(&self) -> (usize, Option) { method drop (line 74) | fn drop(&mut self) { FILE: compiler/rustc_data_structures/src/thousands/mod.rs function format_with_underscores (line 7) | fn format_with_underscores(mut s: String) -> String { function usize_with_underscores (line 25) | pub fn usize_with_underscores(n: usize) -> String { function isize_with_underscores (line 30) | pub fn isize_with_underscores(n: isize) -> String { function f64p1_with_underscores (line 35) | pub fn f64p1_with_underscores(n: f64) -> String { FILE: compiler/rustc_data_structures/src/thousands/tests.rs function test_format_with_underscores (line 4) | fn test_format_with_underscores() { function test_usize_with_underscores (line 16) | fn test_usize_with_underscores() { function test_isize_with_underscores (line 29) | fn test_isize_with_underscores() { function test_f64p1_with_underscores (line 42) | fn test_f64p1_with_underscores() { FILE: compiler/rustc_data_structures/src/transitive_relation.rs type TransitiveRelationBuilder (line 15) | pub struct TransitiveRelationBuilder { type TransitiveRelation (line 25) | pub struct TransitiveRelation { type Target (line 34) | type Target = Frozen>; method deref (line 36) | fn deref(&self) -> &Self::Target { method clone (line 42) | fn clone(&self) -> Self { method default (line 52) | fn default() -> Self { type Index (line 58) | struct Index(usize); type Edge (line 61) | struct Edge { function is_empty (line 67) | pub fn is_empty(&self) -> bool { function elements (line 71) | pub fn elements(&self) -> impl Iterator { function index (line 75) | fn index(&self, a: T) -> Option { function add_index (line 79) | fn add_index(&mut self, a: T) -> Index { function maybe_map (line 87) | pub fn maybe_map(&self, mut f: F) -> Option TransitiveRelation { function maybe_map (line 130) | pub fn maybe_map(&self, f: F) -> Option> function contains (line 139) | pub fn contains(&self, a: T, b: T) -> bool { function reachable_from (line 152) | pub fn reachable_from(&self, a: T) -> Vec { function postdom_upper_bound (line 196) | pub fn postdom_upper_bound(&self, a: T, b: T) -> Option { function mutual_immediate_postdominator (line 204) | pub fn mutual_immediate_postdominator(&self, mut mubs: Vec) -> Option... function minimal_upper_bounds (line 228) | pub fn minimal_upper_bounds(&self, a: T, b: T) -> Vec { function parents (line 329) | pub fn parents(&self, a: T) -> Vec { function minimal_scc_representative (line 359) | pub fn minimal_scc_representative(&self, a: T) -> T { function with_closure (line 371) | fn with_closure(&self, op: OP) -> R function base_edges (line 380) | pub fn base_edges(&self) -> impl Iterator { function pare_down (line 399) | fn pare_down(candidates: &mut Vec, closure: &BitMatrix Option { function test_one_step (line 12) | fn test_one_step() { function test_many_steps (line 24) | fn test_many_steps() { function mubs_triangle (line 51) | fn mubs_triangle() { function mubs_best_choice1 (line 66) | fn mubs_best_choice1() { function mubs_best_choice2 (line 95) | fn mubs_best_choice2() { function mubs_no_best_choice (line 123) | fn mubs_no_best_choice() { function mubs_best_choice_scc (line 140) | fn mubs_best_choice_scc() { function pdub_crisscross (line 160) | fn pdub_crisscross() { function pdub_crisscross_more (line 183) | fn pdub_crisscross_more() { function pdub_lub (line 216) | fn pdub_lub() { function mubs_intermediate_node_on_one_side_only (line 239) | fn mubs_intermediate_node_on_one_side_only() { function mubs_scc_1 (line 256) | fn mubs_scc_1() { function mubs_scc_2 (line 278) | fn mubs_scc_2() { function mubs_scc_3 (line 299) | fn mubs_scc_3() { function mubs_scc_4 (line 321) | fn mubs_scc_4() { function parent (line 344) | fn parent() { function minimal_scc_representative_1 (line 381) | fn minimal_scc_representative_1() { function minimal_scc_representative_2 (line 407) | fn minimal_scc_representative_2() { FILE: compiler/rustc_data_structures/src/unhash.rs type UnhashMap (line 4) | pub type UnhashMap = HashMap>; type UnhashSet (line 5) | pub type UnhashSet = HashSet>; type UnindexMap (line 6) | pub type UnindexMap = indexmap::IndexMap u64 { method write (line 21) | fn write(&mut self, _bytes: &[u8]) { method write_u64 (line 26) | fn write_u64(&mut self, value: u64) { FILE: compiler/rustc_data_structures/src/union_find.rs type UnionFind (line 12) | pub struct UnionFind { type UnionFindEntry (line 17) | struct UnionFindEntry { function new (line 31) | pub fn new(num_keys: usize) -> Self { function find (line 41) | pub fn find(&mut self, key: Key) -> Key { function unify (line 63) | pub fn unify(&mut self, a: Key, b: Key) -> Key { function snapshot (line 93) | pub fn snapshot(&mut self) -> IndexVec { FILE: compiler/rustc_data_structures/src/union_find/tests.rs function empty (line 4) | fn empty() { function transitive (line 13) | fn transitive() { FILE: compiler/rustc_data_structures/src/unord.rs type UnordItems (line 32) | pub struct UnordItems>(I); function map (line 36) | pub fn map U>(self, f: F) -> UnordItems bool>(mut self, f: F) -> bool { function any (line 46) | pub fn any bool>(mut self, f: F) -> bool { function filter (line 51) | pub fn filter bool>(self, f: F) -> UnordItems Option>( function max (line 64) | pub fn max(self) -> Option function min (line 72) | pub fn min(self) -> Option function sum (line 80) | pub fn sum(self) -> S function product (line 88) | pub fn product(self) -> S function count (line 96) | pub fn count(self) -> usize { function flat_map (line 101) | pub fn flat_map(self, f: F) -> UnordItems>>(self) -> C { function get_only (line 115) | pub fn get_only(mut self) -> Option { function empty (line 125) | pub fn empty() -> Self { function cloned (line 132) | pub fn cloned(self) -> UnordItems> { function copied (line 139) | pub fn copied(self) -> UnordItems> { function into_sorted (line 146) | pub fn into_sorted(self, hcx: &Hcx) -> Vec function into_sorted_stable_ord (line 154) | pub fn into_sorted_stable_ord(self) -> Vec function into_sorted_stable_ord_by_key (line 162) | pub fn into_sorted_stable_ord_by_key(self, project_to_key: C) -> V... function collect_sorted (line 171) | pub fn collect_sorted(self, hcx: &Hcx, cache_sort_key: bool) -> C function collect_stable_ord_by_key (line 191) | pub fn collect_stable_ord_by_key(self, project_to_key: P) -> C type UnordCollection (line 226) | trait UnordCollection {} type UnordSet (line 238) | pub struct UnordSet { method default (line 246) | fn default() -> Self { function new (line 253) | pub fn new() -> Self { function with_capacity (line 258) | pub fn with_capacity(capacity: usize) -> Self { function len (line 263) | pub fn len(&self) -> usize { function is_empty (line 268) | pub fn is_empty(&self) -> bool { function get_only (line 274) | pub fn get_only(&self) -> Option<&V> { function insert (line 279) | pub fn insert(&mut self, v: V) -> bool { function contains (line 284) | pub fn contains(&self, v: &Q) -> bool function remove (line 293) | pub fn remove(&mut self, k: &Q) -> bool function items (line 302) | pub fn items(&self) -> UnordItems<&V, impl Iterator> { function into_items (line 307) | pub fn into_items(self) -> UnordItems> { function to_sorted (line 318) | pub fn to_sorted(&self, hcx: &Hcx, cache_sort_key: bool) -> Vec<&V> function to_sorted_stable_ord (line 330) | pub fn to_sorted_stable_ord(&self) -> Vec<&V> function into_sorted_stable_ord (line 344) | pub fn into_sorted_stable_ord(self) -> Vec function into_sorted (line 360) | pub fn into_sorted(self, hcx: &Hcx, cache_sort_key: bool) -> Vec function clear (line 368) | pub fn clear(&mut self) { type ExtendUnord (line 373) | pub trait ExtendUnord { method extend_unord (line 379) | fn extend_unord>(&mut self, items: UnordItems>(&mut self, items: UnordItems>(&mut self, iter: T) { function from_iter (line 401) | fn from_iter>(iter: T) -> Self { function from (line 407) | fn from(value: FxHashSet) -> Self { function from (line 413) | fn from(value: UnordItems) -> Self { function hash_stable (line 420) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { type UnordMap (line 435) | pub struct UnordMap { method default (line 443) | fn default() -> Self { function extend (line 450) | fn extend>(&mut self, iter: T) { function from_iter (line 457) | fn from_iter>(iter: T) -> Self { function from (line 464) | fn from(items: UnordItems<(K, V), I>) -> Self { function with_capacity (line 471) | pub fn with_capacity(capacity: usize) -> Self { function len (line 476) | pub fn len(&self) -> usize { function insert (line 481) | pub fn insert(&mut self, k: K, v: V) -> Option { function try_insert (line 486) | pub fn try_insert(&mut self, k: K, v: V) -> Result<&mut V, OccupiedError... function contains_key (line 491) | pub fn contains_key(&self, k: &Q) -> bool function is_empty (line 500) | pub fn is_empty(&self) -> bool { function entry (line 505) | pub fn entry(&mut self, key: K) -> Entry<'_, K, V> { function get (line 510) | pub fn get(&self, k: &Q) -> Option<&V> function get_mut (line 519) | pub fn get_mut(&mut self, k: &Q) -> Option<&mut V> function remove (line 528) | pub fn remove(&mut self, k: &Q) -> Option function items (line 537) | pub fn items(&self) -> UnordItems<(&K, &V), impl Iterator UnordItems<(K, V), impl Iterator UnordItems<&K, impl Iterator> { function to_sorted (line 558) | pub fn to_sorted(&self, hcx: &Hcx, cache_sort_key: bool) -> Vec<(&K... function to_sorted_stable_ord (line 569) | pub fn to_sorted_stable_ord(&self) -> Vec<(&K, &V)> function into_sorted (line 585) | pub fn into_sorted(self, hcx: &Hcx, cache_sort_key: bool) -> Vec<(K... function into_sorted_stable_ord (line 596) | pub fn into_sorted_stable_ord(self) -> Vec<(K, V)> function values_sorted (line 613) | pub fn values_sorted(&self, hcx: &Hcx, cache_sort_key: bool) -> imp... function clear (line 623) | pub fn clear(&mut self) { type Output (line 633) | type Output = V; function index (line 636) | fn index(&self, key: &Q) -> &V { function hash_stable (line 643) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { type UnordBag (line 659) | pub struct UnordBag { function new (line 665) | pub fn new() -> Self { function len (line 670) | pub fn len(&self) -> usize { function push (line 675) | pub fn push(&mut self, v: V) { function items (line 680) | pub fn items(&self) -> UnordItems<&V, impl Iterator> { function into_items (line 685) | pub fn into_items(self) -> UnordItems> { function extend (line 693) | fn extend>(&mut self, iter: I) { function from (line 699) | fn from(value: UnordItems) -> Self { function hash_stable (line 706) | fn hash_stable(&self, hcx: &mut Hcx, hasher: &mut StableHasher) { function to_sorted_vec (line 712) | fn to_sorted_vec( function hash_iter_order_independent (line 732) | fn hash_iter_order_independent< FILE: compiler/rustc_data_structures/src/vec_cache.rs type Slot (line 19) | struct Slot { type SlotIndex (line 33) | struct SlotIndex { method from_index (line 66) | const fn from_index(idx: u32) -> Self { method get (line 74) | unsafe fn get(&self, buckets: &[AtomicPtr>; 21]) -> O... method bucket_ptr (line 107) | fn bucket_ptr(&self, bucket: &AtomicPtr>) -> *mut Slot { method initialize_bucket (line 114) | fn initialize_bucket(bucket: &AtomicPtr>, bucket_idx: Bucke... method put (line 149) | fn put(&self, buckets: &[AtomicPtr>; 21], value: V, extra: ... method put_unique (line 189) | unsafe fn put_unique(&self, buckets: &[AtomicPtr>; 21], val... constant ENTRIES_BY_BUCKET (line 44) | const ENTRIES_BY_BUCKET: [usize; BUCKETS] = { constant BUCKETS (line 61) | const BUCKETS: usize = 21; type VecCache (line 224) | pub struct VecCache { method default (line 245) | fn default() -> Self { method drop (line 257) | fn drop(&mut self) { function lookup (line 297) | pub fn lookup(&self, key: &K) -> Option<(V, I)> { function complete (line 307) | pub fn complete(&self, key: K, value: V, index: I) { function for_each (line 320) | pub fn for_each(&self, f: &mut dyn FnMut(&K, &V, I)) { function len (line 339) | pub fn len(&self) -> usize { type BucketIndex (line 351) | enum BucketIndex { constant BUCKET_0_CAPACITY (line 385) | const BUCKET_0_CAPACITY: usize = 1 << (Self::NONZERO_BUCKET_SHIFT_ADJU... constant NONZERO_BUCKET_SHIFT_ADJUST (line 392) | const NONZERO_BUCKET_SHIFT_ADJUST: usize = 11; method to_usize (line 395) | const fn to_usize(self) -> usize { method from_raw (line 400) | const fn from_raw(raw: usize) -> Self { method capacity (line 431) | const fn capacity(self) -> usize { method from_flat_index (line 445) | const fn from_flat_index(flat: usize) -> (Self, usize) { method iter_all (line 478) | fn iter_all() -> impl ExactSizeIterator { method enumerate_buckets (line 483) | fn enumerate_buckets(buckets: &[T; BUCKETS]) -> impl ExactSizeItera... method fmt (line 378) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Output (line 489) | type Output = T; function index (line 492) | fn index(&self, index: BucketIndex) -> &Self::Output { function index_mut (line 501) | fn index_mut(&mut self, index: BucketIndex) -> &mut Self::Output { FILE: compiler/rustc_data_structures/src/vec_cache/tests.rs function bucket_index_n_buckets (line 5) | fn bucket_index_n_buckets() { function bucket_index_round_trip (line 10) | fn bucket_index_round_trip() { function bucket_index_iter_all_len (line 17) | fn bucket_index_iter_all_len() { function bucket_index_capacity (line 29) | fn bucket_index_capacity() { function vec_cache_empty_exhaustive (line 41) | fn vec_cache_empty_exhaustive() { function vec_cache_insert_and_check (line 49) | fn vec_cache_insert_and_check() { function sparse_inserts (line 56) | fn sparse_inserts() { function concurrent_stress_check (line 79) | fn concurrent_stress_check() { function slot_entries_table (line 96) | fn slot_entries_table() { function bucket_entries_matches (line 108) | fn bucket_entries_matches() { function slot_index_exhaustive (line 116) | fn slot_index_exhaustive() { FILE: compiler/rustc_data_structures/src/work_queue.rs type WorkQueue (line 12) | pub struct WorkQueue { function with_none (line 20) | pub fn with_none(len: usize) -> Self { function insert (line 26) | pub fn insert(&mut self, element: T) -> bool { function pop (line 37) | pub fn pop(&mut self) -> Option { FILE: compiler/rustc_driver/build.rs function main (line 5) | fn main() { function set_windows_dll_options (line 16) | fn set_windows_dll_options() { FILE: compiler/rustc_driver_impl/src/args.rs type Expander (line 7) | struct Expander { method arg (line 16) | fn arg(&mut self, arg: &str) -> Result<(), Error> { method push (line 38) | fn push(&mut self, arg: String) { method finish (line 70) | fn finish(self) -> Vec { method inspect_unstable_option (line 75) | fn inspect_unstable_option(&mut self, option: &str) { method read_file (line 83) | fn read_file(path: &str) -> Result { function arg_expand_all (line 100) | pub fn arg_expand_all(early_dcx: &EarlyDiagCtxt, at_args: &[String]) -> ... function raw_args (line 119) | pub fn raw_args(early_dcx: &EarlyDiagCtxt) -> Vec { type Error (line 138) | enum Error { method fmt (line 145) | fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: compiler/rustc_driver_impl/src/highlighter.rs constant PRIMITIVE_TYPES (line 13) | const PRIMITIVE_TYPES: &'static [&str] = &[ constant KEYWORDS (line 20) | const KEYWORDS: &'static [&str] = &[ constant STR_LITERAL_COLOR (line 27) | const STR_LITERAL_COLOR: AnsiColor = AnsiColor::Green; constant OTHER_LITERAL_COLOR (line 28) | const OTHER_LITERAL_COLOR: AnsiColor = AnsiColor::BrightRed; constant DERIVE_COLOR (line 29) | const DERIVE_COLOR: AnsiColor = AnsiColor::BrightRed; constant KEYWORD_COLOR (line 30) | const KEYWORD_COLOR: AnsiColor = AnsiColor::BrightMagenta; constant TYPE_COLOR (line 31) | const TYPE_COLOR: AnsiColor = AnsiColor::Yellow; constant FUNCTION_COLOR (line 32) | const FUNCTION_COLOR: AnsiColor = AnsiColor::Blue; constant USE_COLOR (line 33) | const USE_COLOR: AnsiColor = AnsiColor::BrightMagenta; constant PRIMITIVE_TYPE_COLOR (line 34) | const PRIMITIVE_TYPE_COLOR: AnsiColor = AnsiColor::Cyan; function highlight (line 40) | pub fn highlight(code: &str, buf: &mut Vec) -> io::Result<()> { type Highlighter (line 48) | pub struct Highlighter { method new (line 63) | pub fn new() -> Self { method highlight_rustc_lexer (line 69) | pub fn highlight_rustc_lexer(&mut self, code: &str, buf: &mut Vec)... FILE: compiler/rustc_driver_impl/src/lib.rs function after_crate_root_parsing (line 124) | fn after_crate_root_parsing( function after_expansion (line 133) | fn after_expansion<'tcx>( function after_analysis (line 142) | fn after_analysis<'tcx>( type TimePassesCallbacks (line 152) | pub struct TimePassesCallbacks { method config (line 159) | fn config(&mut self, config: &mut interface::Config) { function run_compiler (line 170) | pub fn run_compiler(at_args: &[String], callbacks: &mut (dyn Callbacks +... function dump_feature_usage_metrics (line 356) | fn dump_feature_usage_metrics(tcx: TyCtxt<'_>, metrics_dir: &Path) { function make_output (line 370) | fn make_output(matches: &getopts::Matches) -> (Option, Option Opt... type Compilation (line 420) | pub enum Compilation { function handle_explain (line 425) | fn handle_explain(early_dcx: &EarlyDiagCtxt, code: &str, color: ColorCon... function show_md_content_with_pager (line 470) | fn show_md_content_with_pager(content: &str, color: ColorConfig) { function show_colored_md_content (line 533) | fn show_colored_md_content(content: &str) { function process_rlink (line 556) | fn process_rlink(sess: &Session, compiler: &interface::Compiler) { function list_metadata (line 598) | fn list_metadata(sess: &Session, metadata_loader: &dyn MetadataLoader) { function print_crate_info (line 619) | fn print_crate_info( function unw (line 867) | fn unw(x: Option<&str>) -> &str { function usage (line 915) | fn usage(verbose: bool, include_unstable_options: bool, nightly_build: b... function print_wall_help (line 952) | fn print_wall_help() { function describe_lints (line 964) | pub fn describe_lints(sess: &Session, registered_lints: bool) { function describe_flag_categories (line 1092) | pub fn describe_flag_categories(early_dcx: &EarlyDiagCtxt, matches: &Mat... function get_backend_from_raw_matches (line 1127) | fn get_backend_from_raw_matches( function describe_unstable_flags (line 1143) | fn describe_unstable_flags() { function describe_codegen_flags (line 1148) | fn describe_codegen_flags() { function print_flag_list (line 1153) | fn print_flag_list(cmdline_opt: &str, flag_list: &[OptionDesc]) { type HandledOptions (line 1168) | pub enum HandledOptions { function handle_options (line 1205) | pub fn handle_options(early_dcx: &EarlyDiagCtxt, args: &[String]) -> Han... function handle_help (line 1283) | pub fn handle_help(matches: &getopts::Matches, args: &[String]) -> bool { function warn_on_confusing_output_filename_flag (line 1319) | fn warn_on_confusing_output_filename_flag( function parse_crate_attrs (line 1360) | fn parse_crate_attrs<'a>(sess: &'a Session) -> PResult<'a, ast::AttrVec> { function catch_with_exit_code (line 1377) | pub fn catch_with_exit_code(f: impl FnOnce() -> T) -> Ex... function ice_path (line 1393) | fn ice_path() -> &'static Option { function ice_path_with_config (line 1397) | fn ice_path_with_config(config: Option<&UnstableOptions>) -> &'static Op... function install_ice_hook (line 1445) | pub fn install_ice_hook(bug_report_url: &'static str, extra_info: fn(&Di... function report_ice (line 1524) | fn report_ice( function init_rustc_env_logger (line 1616) | pub fn init_rustc_env_logger(early_dcx: &EarlyDiagCtxt) { function init_logger (line 1623) | pub fn init_logger(early_dcx: &EarlyDiagCtxt, cfg: rustc_log::LoggerConf... function init_logger_with_additional_layer (line 1634) | pub fn init_logger_with_additional_layer( function install_ctrlc_handler (line 1649) | pub fn install_ctrlc_handler() { function main (line 1663) | pub fn main() -> ExitCode { FILE: compiler/rustc_driver_impl/src/pretty.rs type AstNoAnn (line 22) | struct AstNoAnn; type AstIdentifiedAnn (line 26) | struct AstIdentifiedAnn; method pre (line 29) | fn pre(&self, s: &mut pprust_ast::State<'_>, node: pprust_ast::AnnNode... method post (line 35) | fn post(&self, s: &mut pprust_ast::State<'_>, node: pprust_ast::AnnNod... type HirIdentifiedAnn (line 66) | struct HirIdentifiedAnn<'tcx> { function nested (line 71) | fn nested(&self, state: &mut pprust_hir::State<'_>, nested: pprust_hir::... function pre (line 75) | fn pre(&self, s: &mut pprust_hir::State<'_>, node: pprust_hir::AnnNode<'... function post (line 81) | fn post(&self, s: &mut pprust_hir::State<'_>, node: pprust_hir::AnnNode<... type AstHygieneAnn (line 117) | struct AstHygieneAnn<'a> { function post (line 122) | fn post(&self, s: &mut pprust_ast::State<'_>, node: pprust_ast::AnnNode<... type HirTypedAnn (line 143) | struct HirTypedAnn<'tcx> { function nested (line 149) | fn nested(&self, state: &mut pprust_hir::State<'_>, nested: pprust_hir::... function pre (line 158) | fn pre(&self, s: &mut pprust_hir::State<'_>, node: pprust_hir::AnnNode<'... function post (line 164) | fn post(&self, s: &mut pprust_hir::State<'_>, node: pprust_hir::AnnNode<... function get_source (line 184) | fn get_source(sess: &Session) -> (String, FileName) { function write_or_print (line 197) | fn write_or_print(out: &str, sess: &Session) { type PrintExtra (line 203) | pub enum PrintExtra<'tcx> { function with_krate (line 209) | fn with_krate(&self, f: F) -> R function tcx (line 219) | fn tcx(&self) -> TyCtxt<'tcx> { function print (line 227) | pub fn print<'tcx>(sess: &Session, ppm: PpMode, ex: PrintExtra<'tcx>) { FILE: compiler/rustc_driver_impl/src/print.rs function print (line 16) | pub(crate) fn print(args: fmt::Arguments<'_>) { FILE: compiler/rustc_driver_impl/src/session_diagnostics.rs type CantEmitMIR (line 7) | pub struct CantEmitMIR { type RlinkUnableToRead (line 13) | pub(crate) struct RlinkUnableToRead { type RLinkWrongFileType (line 19) | pub(crate) struct RLinkWrongFileType; type RLinkEmptyVersionNumber (line 23) | pub(crate) struct RLinkEmptyVersionNumber; type RLinkEncodingVersionMismatch (line 29) | pub(crate) struct RLinkEncodingVersionMismatch { type RLinkRustcVersionMismatch (line 38) | pub(crate) struct RLinkRustcVersionMismatch<'a> { type RlinkNotAFile (line 45) | pub(crate) struct RlinkNotAFile; type RlinkCorruptFile (line 49) | pub(crate) struct RlinkCorruptFile<'a> { type Ice (line 55) | pub(crate) struct Ice; type IceBugReport (line 59) | pub(crate) struct IceBugReport<'a> { type UpdateNightlyNote (line 65) | pub(crate) struct UpdateNightlyNote; type IceBugReportInternalFeature (line 71) | pub(crate) struct IceBugReportInternalFeature; type IceVersion (line 75) | pub(crate) struct IceVersion<'a> { type IcePath (line 82) | pub(crate) struct IcePath { type IcePathError (line 88) | pub(crate) struct IcePathError { type IcePathErrorEnv (line 97) | pub(crate) struct IcePathErrorEnv { type IceFlags (line 103) | pub(crate) struct IceFlags { type IceExcludeCargoDefaults (line 109) | pub(crate) struct IceExcludeCargoDefaults; type UnstableFeatureUsage (line 113) | pub(crate) struct UnstableFeatureUsage { FILE: compiler/rustc_driver_impl/src/signal_handler.rs constant KILL_SIGNALS (line 12) | const KILL_SIGNALS: [(libc::c_int, &str); 3] = [ function backtrace_symbols_fd (line 19) | fn backtrace_symbols_fd(buffer: *const *mut libc::c_void, size: libc::c_... function backtrace_stderr (line 22) | fn backtrace_stderr(buffer: &[*mut libc::c_void]) { type RawStderr (line 30) | struct RawStderr(()); method write_str (line 33) | fn write_str(&mut self, s: &str) -> Result<(), fmt::Error> { function print_stack_trace (line 51) | unsafe extern "C" fn print_stack_trace(signum: libc::c_int) { function install (line 146) | pub(super) fn install() { function min_sigstack_size (line 167) | fn min_sigstack_size() -> usize { function min_sigstack_size (line 178) | fn min_sigstack_size() -> usize { FILE: compiler/rustc_error_messages/src/diagnostic_impls.rs type DiagArgFromDisplay (line 14) | pub struct DiagArgFromDisplay<'a>(pub &'a dyn fmt::Display); method into_diag_arg (line 17) | fn into_diag_arg(self, path: &mut Option) -> DiagArg... function from (line 23) | fn from(t: &'a dyn fmt::Display) -> Self { function from (line 29) | fn from(t: &'a T) -> Self { method into_diag_arg (line 35) | fn into_diag_arg(self, path: &mut Option) -> DiagArg... method into_diag_arg (line 86) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 96) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 102) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 110) | fn into_diag_arg(self, path: &mut Option) -> DiagArg... method into_diag_arg (line 116) | fn into_diag_arg(self, path: &mut Option) -> DiagArg... method into_diag_arg (line 122) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 128) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 134) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 140) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 146) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 152) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 158) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 164) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 170) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 176) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 182) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 190) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 196) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... method into_diag_arg (line 202) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... FILE: compiler/rustc_error_messages/src/lib.rs function register_functions (line 18) | pub fn register_functions(bundle: &mut fluent_bundle::bundle::Flue... type DiagMessage (line 33) | pub enum DiagMessage { method as_str (line 46) | pub fn as_str(&self) -> Option<&str> { method from (line 55) | fn from(s: String) -> Self { method from (line 60) | fn from(s: &'static str) -> Self { method from (line 65) | fn from(s: Cow<'static, str>) -> Self { type SpanLabel (line 72) | pub struct SpanLabel { type MultiSpan (line 93) | pub struct MultiSpan { method new (line 100) | pub fn new() -> MultiSpan { method from_span (line 104) | pub fn from_span(primary_span: Span) -> MultiSpan { method from_spans (line 108) | pub fn from_spans(mut vec: Vec) -> MultiSpan { method push_primary_span (line 113) | pub fn push_primary_span(&mut self, primary_span: Span) { method push_span_label (line 117) | pub fn push_span_label(&mut self, span: Span, label: impl Into Option { method primary_spans (line 131) | pub fn primary_spans(&self) -> &[Span] { method has_primary_spans (line 136) | pub fn has_primary_spans(&self) -> bool { method is_dummy (line 141) | pub fn is_dummy(&self) -> bool { method replace (line 147) | pub fn replace(&mut self, before: Span, after: Span) -> bool { method span_labels (line 169) | pub fn span_labels(&self) -> Vec { method span_labels_raw (line 192) | pub fn span_labels_raw(&self) -> &[(Span, DiagMessage)] { method has_span_labels (line 197) | pub fn has_span_labels(&self) -> bool { method clone_ignoring_labels (line 205) | pub fn clone_ignoring_labels(&self) -> Self { method from (line 211) | fn from(span: Span) -> MultiSpan { method from (line 217) | fn from(spans: Vec) -> MultiSpan { function icu_locale_from_unic_langid (line 222) | fn icu_locale_from_unic_langid(lang: LanguageIdentifier) -> Option>) -> Fl... type DiagArg (line 297) | pub type DiagArg<'iter> = (&'iter DiagArgName, &'iter DiagArgValue); type DiagArgName (line 300) | pub type DiagArgName = Cow<'static, str>; type DiagArgValue (line 305) | pub enum DiagArgValue { type DiagArgMap (line 316) | pub type DiagArgMap = FxIndexMap; type IntoDiagArg (line 322) | pub trait IntoDiagArg { method into_diag_arg (line 329) | fn into_diag_arg(self, path: &mut Option) -> DiagA... method into_diag_arg (line 333) | fn into_diag_arg(self, _: &mut Option) -> DiagArgV... function from (line 339) | fn from(val: DiagArgValue) -> Self { FILE: compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs type AnnotateSnippetEmitter (line 37) | pub struct AnnotateSnippetEmitter { method new (line 127) | pub fn new(dst: Destination) -> Self { method emit_messages_default (line 142) | fn emit_messages_default( method renderer (line 513) | fn renderer(&self) -> Renderer { method pre_style_msgs (line 536) | fn pre_style_msgs( method annotated_snippet (line 551) | fn annotated_snippet<'a>( method unannotated_messages (line 574) | fn unannotated_messages<'a>( method fmt (line 53) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method emit_diagnostic (line 72) | fn emit_diagnostic(&mut self, mut diag: DiagInner) { method source_map (line 98) | fn source_map(&self) -> Option<&SourceMap> { method should_show_explain (line 102) | fn should_show_explain(&self) -> bool { method supports_color (line 106) | fn supports_color(&self) -> bool { function annotation_level_for_level (line 111) | fn annotation_level_for_level(level: Level) -> annotate_snippets::level:... function emit_to_destination (line 650) | fn emit_to_destination( type Annotation (line 667) | struct Annotation { function collect_annotations (line 673) | fn collect_annotations( function shrink_file (line 719) | fn shrink_file( FILE: compiler/rustc_errors/src/codes.rs method fmt (line 21) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type InvalidErrorCode (line 52) | pub struct InvalidErrorCode; function try_find_description (line 55) | pub fn try_find_description(code: ErrCode) -> Result<&'static str, Inval... FILE: compiler/rustc_errors/src/decorate_diag.rs type DecorateDiagCompat (line 12) | pub enum DecorateDiagCompat { method fmt (line 25) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method from (line 32) | fn from(d: D) -> Self { method from (line 39) | fn from(b: BuiltinLintDiag) -> Self { type BufferedEarlyLint (line 47) | pub struct BufferedEarlyLint { type LintBuffer (line 63) | pub struct LintBuffer { method add_early_lint (line 68) | pub fn add_early_lint(&mut self, early_lint: BufferedEarlyLint) { method take (line 72) | pub fn take(&mut self, id: NodeId) -> Vec { method buffer_lint (line 77) | pub fn buffer_lint( method dyn_buffer_lint (line 92) | pub fn dyn_buffer_lint< FILE: compiler/rustc_errors/src/diagnostic.rs type EmissionGuarantee (line 24) | pub trait EmissionGuarantee: Sized { type EmitResult (line 27) | type EmitResult = Self; method emit_producing_guarantee (line 33) | fn emit_producing_guarantee(diag: Diag<'_, Self>) -> Self::EmitResult; method emit_producing_guarantee (line 37) | fn emit_producing_guarantee(diag: Diag<'_, Self>) -> Self::EmitResult { method emit_producing_guarantee (line 43) | fn emit_producing_guarantee(diag: Diag<'_, Self>) -> Self::EmitResult { type EmitResult (line 54) | type EmitResult = !; method emit_producing_guarantee (line 56) | fn emit_producing_guarantee(diag: Diag<'_, Self>) -> Self::EmitResult { type EmitResult (line 68) | type EmitResult = !; method emit_producing_guarantee (line 70) | fn emit_producing_guarantee(diag: Diag<'_, Self>) -> Self::EmitResult { method emit_producing_guarantee (line 77) | fn emit_producing_guarantee(diag: Diag<'_, Self>) -> Self::EmitResult { type BugAbort (line 51) | pub struct BugAbort; type FatalAbort (line 65) | pub struct FatalAbort; type Diagnostic (line 105) | pub trait Diagnostic<'a, G: EmissionGuarantee = ErrorGuaranteed> { method into_diag (line 109) | fn into_diag(self, dcx: DiagCtxtHandle<'a>, level: Level) -> Diag<'a, G>; function into_diag (line 117) | fn into_diag(self, dcx: DiagCtxtHandle<'a>, level: Level) -> Diag<'a, G> { function into_diag (line 127) | fn into_diag(self, dcx: DiagCtxtHandle<'a>, level: Level) -> Diag<'a, ()> { type DiagDecorator (line 133) | pub struct DiagDecorator)>(pub F); function into_diag (line 136) | fn into_diag(self, dcx: DiagCtxtHandle<'a>, level: Level) -> Diag<'a, ()> { type Subdiagnostic (line 146) | pub trait Subdiagnostic method add_to_diag (line 151) | fn add_to_diag(self, diag: &mut Diag<'_, G>); type DiagLocation (line 155) | pub struct DiagLocation { method caller (line 163) | pub fn caller() -> Self { method fmt (line 170) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type IsLint (line 176) | pub struct IsLint { type DiagStyledString (line 184) | pub struct DiagStyledString(pub Vec); method new (line 187) | pub fn new() -> DiagStyledString { method push_normal (line 190) | pub fn push_normal>(&mut self, t: S) { method push_highlighted (line 193) | pub fn push_highlighted>(&mut self, t: S) { method push (line 196) | pub fn push>(&mut self, t: S, highlight: bool) { method normal (line 203) | pub fn normal>(t: S) -> DiagStyledString { method highlighted (line 207) | pub fn highlighted>(t: S) -> DiagStyledString { method content (line 211) | pub fn content(&self) -> String { type StringPart (line 217) | pub struct StringPart { method normal (line 223) | pub fn normal>(content: S) -> StringPart { method highlighted (line 227) | pub fn highlighted>(content: S) -> StringPart { type DiagInner (line 238) | pub struct DiagInner { method new (line 266) | pub fn new>(level: Level, message: M) -> Self { method new_with_messages (line 271) | pub fn new_with_messages(level: Level, messages: Vec<(DiagMessage, Sty... method level (line 289) | pub fn level(&self) -> Level { method is_error (line 293) | pub fn is_error(&self) -> bool { method has_future_breakage (line 310) | pub(crate) fn has_future_breakage(&self) -> bool { method is_force_warn (line 314) | pub(crate) fn is_force_warn(&self) -> bool { method sub (line 324) | pub(crate) fn sub(&mut self, level: Level, message: impl Into, arg: impl I... method remove_arg (line 341) | pub fn remove_arg(&mut self, name: &str) { method emitted_at_sub_diag (line 345) | pub fn emitted_at_sub_diag(&self) -> Subdiag { method keys (line 355) | fn keys( method hash (line 383) | fn hash(&self, state: &mut H) method eq (line 392) | fn eq(&self, other: &Self) -> bool { type Subdiag (line 400) | pub struct Subdiag { type Diag (line 419) | pub struct Diag<'a, G: EmissionGuarantee = ErrorGuaranteed> { type Target (line 443) | type Target = DiagInner; method deref (line 445) | fn deref(&self) -> &DiagInner { method deref_mut (line 451) | fn deref_mut(&mut self) -> &mut DiagInner { method fmt (line 457) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function new (line 507) | pub fn new(dcx: DiagCtxtHandle<'a>, level: Level, message: impl Into) -> Diag<'_, G> { function new_diagnostic (line 518) | pub(crate) fn new_diagnostic(dcx: DiagCtxtHandle<'a>, diag: DiagInner) -... function downgrade_to_delayed_bug (line 534) | pub fn downgrade_to_delayed_bug(&mut self) { function upgrade_to_fatal (line 551) | pub fn upgrade_to_fatal(mut self) -> Diag<'a, FatalAbort> { function replace_span_with (line 593) | pub fn replace_span_with(&mut self, after: Span, keep_label: bool) -> &m... function note_expected_found (line 608) | pub fn note_expected_found( function note_expected_found_extra (line 625) | pub fn note_expected_found_extra( function note_trait_signature (line 670) | pub fn note_trait_signature(&mut self, name: Symbol, signature: String) ... function highlighted_note (line 686) | pub fn highlighted_note(&mut self, msg: Vec) -> &mut Self { function highlighted_span_note (line 691) | pub fn highlighted_span_note( function note_once (line 701) | pub fn note_once(&mut self, msg: impl Into) -> &mut Self { function span_note_once (line 720) | pub fn span_note_once>( function span_warn (line 738) | pub fn span_warn>( function help_once (line 755) | pub fn help_once(&mut self, msg: impl Into) -> &mut Self { function highlighted_help (line 761) | pub fn highlighted_help(&mut self, msg: Vec) -> &mut Self { function highlighted_span_help (line 767) | pub fn highlighted_span_help( function disable_suggestions (line 791) | pub fn disable_suggestions(&mut self) -> &mut Self { function seal_suggestions (line 800) | pub fn seal_suggestions(&mut self) -> &mut Self { function push_suggestion (line 812) | fn push_suggestion(&mut self, suggestion: CodeSuggestion) { function multipart_suggestion_with_style (line 847) | pub fn multipart_suggestion_with_style( function tool_only_multipart_suggestion (line 889) | pub fn tool_only_multipart_suggestion( function span_suggestions_with_style (line 1001) | pub fn span_suggestions_with_style( function multipart_suggestions (line 1031) | pub fn multipart_suggestions( function span_suggestion_hidden (line 1100) | pub fn span_suggestion_hidden( function subdiagnostic (line 1143) | pub fn subdiagnostic(&mut self, subdiagnostic: impl Subdiagnostic) -> &m... function is_lint (line 1158) | pub fn is_lint(&mut self, name: String, has_future_breakage: bool) -> &m... function sub (line 1202) | pub fn sub(&mut self, level: Level, message: impl Into, spa... function sub_with_highlights (line 1208) | fn sub_with_highlights(&mut self, level: Level, messages: Vec DiagInner { function long_ty_path (line 1245) | pub fn long_ty_path(&mut self) -> &mut Option { function with_long_ty_path (line 1249) | pub fn with_long_ty_path(mut self, long_ty_path: Option) -> Self { function emit_producing_nothing (line 1255) | fn emit_producing_nothing(mut self) { function emit_producing_error_guaranteed (line 1261) | fn emit_producing_error_guaranteed(mut self) -> ErrorGuaranteed { function emit (line 1284) | pub fn emit(self) -> G::EmitResult { function emit_unless_delay (line 1293) | pub fn emit_unless_delay(mut self, delay: bool) -> G::EmitResult { function cancel (line 1302) | pub fn cancel(mut self) { function cancel_into_message (line 1308) | pub fn cancel_into_message(self) -> Option { function stash (line 1315) | pub fn stash(mut self, span: Span, key: StashKey) -> Option G::EmitResult { method drop (line 1340) | fn drop(&mut self) { FILE: compiler/rustc_errors/src/diagnostic_impls.rs method into_diag_arg (line 12) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... type DiagSymbolList (line 18) | pub struct DiagSymbolList(Vec); function from (line 21) | fn from(v: Vec) -> Self { function from_iter (line 27) | fn from_iter>(iter: T) -> Self { method into_diag_arg (line 33) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... function into_diag (line 41) | fn into_diag(self, dcx: DiagCtxtHandle<'_>, level: Level) -> Diag<'_, G> { type SingleLabelManySpans (line 90) | pub struct SingleLabelManySpans { method add_to_diag (line 95) | fn add_to_diag(self, diag: &mut Diag<'_, G>) { type ExpectedLifetimeParameter (line 107) | pub struct ExpectedLifetimeParameter { type IndicateAnonymousLifetime (line 122) | pub struct IndicateAnonymousLifetime { type ElidedLifetimeInPathSubdiag (line 130) | pub struct ElidedLifetimeInPathSubdiag { FILE: compiler/rustc_errors/src/emitter.rs type HumanReadableErrorType (line 34) | pub struct HumanReadableErrorType { method short (line 40) | pub fn short(&self) -> bool { type TimingEvent (line 45) | pub enum TimingEvent { type DynEmitter (line 50) | pub type DynEmitter = dyn Emitter + DynSend; type Emitter (line 53) | pub trait Emitter { method emit_diagnostic (line 55) | fn emit_diagnostic(&mut self, diag: DiagInner); method emit_artifact_notification (line 59) | fn emit_artifact_notification(&mut self, _path: &Path, _artifact_type:... method emit_timing_section (line 63) | fn emit_timing_section(&mut self, _record: TimingRecord, _event: Timin... method emit_future_breakage_report (line 67) | fn emit_future_breakage_report(&mut self, _diags: Vec) {} method emit_unused_externs (line 71) | fn emit_unused_externs( method should_show_explain (line 79) | fn should_show_explain(&self) -> bool { method supports_color (line 84) | fn supports_color(&self) -> bool { method source_map (line 88) | fn source_map(&self) -> Option<&SourceMap>; method primary_span_formatted (line 101) | fn primary_span_formatted( method fix_multispans_in_extern_macros_and_render_macro_backtrace (line 156) | fn fix_multispans_in_extern_macros_and_render_macro_backtrace( method render_multispans_macro_backtrace (line 221) | fn render_multispans_macro_backtrace( method render_multispan_macro_backtrace (line 232) | fn render_multispan_macro_backtrace(&self, span: &mut MultiSpan, alway... method fix_multispans_in_extern_macros (line 323) | fn fix_multispans_in_extern_macros(&self, span: &mut MultiSpan, childr... method fix_multispan_in_extern_macros (line 335) | fn fix_multispan_in_extern_macros(&self, span: &mut MultiSpan) { method source_map (line 371) | fn source_map(&self) -> Option<&SourceMap> { method emit_diagnostic (line 375) | fn emit_diagnostic(&mut self, mut diag: DiagInner) { method source_map (line 384) | fn source_map(&self) -> Option<&SourceMap> { method emit_diagnostic (line 388) | fn emit_diagnostic(&mut self, _diag: DiagInner) {} type EmitterWithNote (line 365) | pub struct EmitterWithNote { type SilentEmitter (line 381) | pub struct SilentEmitter; constant MAX_SUGGESTIONS (line 394) | pub const MAX_SUGGESTIONS: usize = 4; type ColorConfig (line 397) | pub enum ColorConfig { method to_color_choice (line 404) | pub fn to_color_choice(self) -> ColorChoice { type OutputTheme (line 421) | pub enum OutputTheme { constant OUTPUT_REPLACEMENTS (line 428) | const OUTPUT_REPLACEMENTS: &[(char, &str)] = &[ function normalize_whitespace (line 476) | pub(crate) fn normalize_whitespace(s: &str) -> String { type Destination (line 500) | pub type Destination = AutoStream>; type Buffy (line 502) | struct Buffy { method write (line 508) | fn write(&mut self, buf: &[u8]) -> io::Result { method flush (line 512) | fn flush(&mut self) -> io::Result<()> { method drop (line 520) | fn drop(&mut self) { function stderr_destination (line 528) | pub fn stderr_destination(color: ColorConfig) -> Destination { function get_stderr_color_choice (line 547) | pub fn get_stderr_color_choice(color: ColorConfig, stderr: &std::io::Std... constant BRIGHT_BLUE (line 555) | const BRIGHT_BLUE: anstyle::Style = if cfg!(windows) { method anstyle (line 562) | pub(crate) fn anstyle(&self, lvl: Level) -> anstyle::Style { function is_different (line 585) | pub fn is_different(sm: &SourceMap, suggested: &str, sp: Span) -> bool { function detect_confusion_type (line 597) | pub fn detect_confusion_type(sm: &SourceMap, suggested: &str, sp: Span) ... type ConfusionType (line 659) | pub enum ConfusionType { method label_text (line 672) | pub fn label_text(&self) -> &'static str { method combine (line 684) | pub fn combine(self, other: ConfusionType) -> ConfusionType { method has_confusion (line 697) | pub fn has_confusion(&self) -> bool { function should_show_source_code (line 702) | pub(crate) fn should_show_source_code( FILE: compiler/rustc_errors/src/formatting.rs function to_fluent_args (line 12) | fn to_fluent_args<'iter>(iter: impl Iterator>) -> ... function format_diag_messages (line 27) | pub fn format_diag_messages( function format_diag_message (line 35) | pub fn format_diag_message<'a>(message: &'a DiagMessage, args: &DiagArgM... function format_fluent_str (line 42) | fn format_fluent_str(message: &str, args: &DiagArgMap) -> Cow<'static, s... type DiagMessageAddArg (line 64) | pub trait DiagMessageAddArg { method arg (line 65) | fn arg(self, name: impl Into, arg: impl IntoDiagArg) -> E... method arg (line 74) | fn arg( method arg (line 92) | fn arg(self, name: impl Into, arg: impl IntoDiagArg) -> E... type EagerDiagMessageBuilder (line 68) | pub struct EagerDiagMessageBuilder { method format (line 101) | pub fn format(self) -> DiagMessage { FILE: compiler/rustc_errors/src/json.rs type JsonEmitter (line 41) | pub struct JsonEmitter { method new (line 60) | pub fn new( method emit (line 82) | fn emit(&mut self, val: EmitTyped<'_>) -> io::Result<()> { type EmitTyped (line 95) | enum EmitTyped<'a> { method emit_diagnostic (line 104) | fn emit_diagnostic(&mut self, diag: crate::DiagInner) { method emit_artifact_notification (line 112) | fn emit_artifact_notification(&mut self, path: &Path, artifact_type: &st... method emit_timing_section (line 120) | fn emit_timing_section(&mut self, record: TimingRecord, event: TimingEve... method emit_future_breakage_report (line 136) | fn emit_future_breakage_report(&mut self, diags: Vec) { method emit_unused_externs (line 162) | fn emit_unused_externs(&mut self, lint_level: rustc_lint_defs::Level, un... method source_map (line 171) | fn source_map(&self) -> Option<&SourceMap> { method should_show_explain (line 175) | fn should_show_explain(&self) -> bool { type Diagnostic (line 183) | struct Diagnostic { method from_errors_diagnostic (line 300) | fn from_errors_diagnostic(diag: crate::DiagInner, je: &JsonEmitter) ->... method from_sub_diagnostic (line 392) | fn from_sub_diagnostic(subdiag: &Subdiag, args: &DiagArgMap, je: &Json... type DiagnosticSpan (line 197) | struct DiagnosticSpan { method from_span_label (line 406) | fn from_span_label( method from_span_etc (line 421) | fn from_span_etc( method from_span_full (line 437) | fn from_span_full( method from_multispan (line 509) | fn from_multispan(msp: &MultiSpan, args: &DiagArgMap, je: &JsonEmitter... method from_suggestion (line 516) | fn from_suggestion( type DiagnosticSpanLine (line 224) | struct DiagnosticSpanLine { method line_from_source_file (line 541) | fn line_from_source_file( method from_span (line 557) | fn from_span(span: Span, je: &JsonEmitter) -> Vec { type DiagnosticSpanMacroExpansion (line 234) | struct DiagnosticSpanMacroExpansion { type DiagnosticCode (line 248) | struct DiagnosticCode { type ArtifactNotification (line 257) | struct ArtifactNotification<'a> { type SectionTimestamp (line 265) | struct SectionTimestamp<'a> { type FutureBreakageItem (line 275) | struct FutureBreakageItem<'a> { type FutureIncompatReport (line 282) | struct FutureIncompatReport<'a> { type UnusedExterns (line 291) | struct UnusedExterns<'a> { FILE: compiler/rustc_errors/src/json/tests.rs type TestData (line 11) | struct TestData { type SpanTestData (line 16) | struct SpanTestData { type Shared (line 25) | struct Shared { method write (line 30) | fn write(&mut self, buf: &[u8]) -> io::Result { method flush (line 34) | fn flush(&mut self) -> io::Result<()> { function filename (line 39) | fn filename(sm: &SourceMap, path: &str) -> FileName { function test_positions (line 44) | fn test_positions(code: &str, span: (u32, u32), expected_output: SpanTes... function empty (line 72) | fn empty() { function bom (line 88) | fn bom() { function lf_newlines (line 104) | fn lf_newlines() { function crlf_newlines (line 120) | fn crlf_newlines() { function crlf_newlines_with_bom (line 136) | fn crlf_newlines_with_bom() { function span_before_crlf (line 152) | fn span_before_crlf() { function span_on_crlf (line 168) | fn span_on_crlf() { function span_after_crlf (line 184) | fn span_after_crlf() { FILE: compiler/rustc_errors/src/lib.rs type PResult (line 84) | pub type PResult<'a, T> = Result>; type SuggestionStyle (line 93) | pub enum SuggestionStyle { method hide_inline (line 109) | fn hide_inline(&self) -> bool { type Suggestions (line 116) | pub enum Suggestions { method unwrap_tag (line 134) | pub fn unwrap_tag(self) -> Vec { method len (line 142) | pub fn len(&self) -> usize { method default (line 152) | fn default() -> Self { type CodeSuggestion (line 158) | pub struct CodeSuggestion { type Substitution (line 194) | pub struct Substitution { type SubstitutionPart (line 199) | pub struct SubstitutionPart { type TrimmedSubstitutionPart (line 205) | pub struct TrimmedSubstitutionPart { method is_addition (line 212) | pub fn is_addition(&self, sm: &SourceMap) -> bool { method is_deletion (line 216) | pub fn is_deletion(&self, sm: &SourceMap) -> bool { method is_replacement (line 220) | pub fn is_replacement(&self, sm: &SourceMap) -> bool { method is_destructive_replacement (line 228) | pub fn is_destructive_replacement(&self, sm: &SourceMap) -> bool { method replaces_meaningful_content (line 235) | fn replaces_meaningful_content(&self, sm: &SourceMap) -> bool { function as_substr (line 245) | fn as_substr<'a>(original: &'a str, suggestion: &'a str) -> Option<(usiz... type ExplicitBug (line 264) | pub struct ExplicitBug; type DelayedBugPanic (line 268) | pub struct DelayedBugPanic; type DiagCtxt (line 273) | pub struct DiagCtxt { method disable_warnings (line 464) | pub fn disable_warnings(mut self) -> Self { method with_flags (line 469) | pub fn with_flags(mut self, flags: DiagCtxtFlags) -> Self { method with_ice_file (line 474) | pub fn with_ice_file(mut self, ice_file: PathBuf) -> Self { method new (line 479) | pub fn new(emitter: Box) -> Self { method make_silent (line 483) | pub fn make_silent(&self) { method set_emitter (line 488) | pub fn set_emitter(&self, emitter: Box) { method can_emit_warnings (line 495) | pub fn can_emit_warnings(&self) -> bool { method reset_err_count (line 504) | pub fn reset_err_count(&self) { method handle (line 546) | pub fn handle<'a>(&'a self) -> DiagCtxtHandle<'a> { method taintable_handle (line 553) | pub fn taintable_handle<'a>( type DiagCtxtHandle (line 278) | pub struct DiagCtxtHandle<'a> { type Target (line 286) | type Target = &'a DiagCtxt; function deref (line 288) | fn deref(&self) -> &Self::Target { type DiagCtxtInner (line 296) | struct DiagCtxtInner { method new (line 1153) | fn new(emitter: Box) -> Self { method emit_stashed_diagnostics (line 1176) | fn emit_stashed_diagnostics(&mut self) -> Option { method emit_diagnostic (line 1196) | fn emit_diagnostic( method treat_err_as_bug (line 1365) | fn treat_err_as_bug(&self) -> bool { method treat_next_err_as_bug (line 1372) | fn treat_next_err_as_bug(&self) -> bool { method has_errors_excluding_lint_errors (line 1378) | fn has_errors_excluding_lint_errors(&self) -> Option { method has_errors (line 1393) | fn has_errors(&self) -> Option { method has_errors_or_delayed_bugs (line 1403) | fn has_errors_or_delayed_bugs(&self) -> Option { method flush_delayed (line 1407) | fn flush_delayed(&mut self) { method panic_if_treat_err_as_bug (line 1480) | fn panic_if_treat_err_as_bug(&self) { type StashKey (line 369) | pub enum StashKey { function default_track_diagnostic (line 392) | fn default_track_diagnostic(diag: DiagInner, f: &mut dyn FnMut(DiagIn... type DiagCtxtFlags (line 403) | pub struct DiagCtxtFlags { method drop (line 423) | fn drop(&mut self) { function stash_diagnostic (line 583) | pub fn stash_diagnostic( function steal_non_err (line 623) | pub fn steal_non_err(self, span: Span, key: StashKey) -> Option( function try_steal_replace_and_emit_err (line 664) | pub fn try_steal_replace_and_emit_err( function has_stashed_diagnostic (line 687) | pub fn has_stashed_diagnostic(&self, span: Span, key: StashKey) -> bool { function emit_stashed_diagnostics (line 699) | pub fn emit_stashed_diagnostics(&self) -> Option { function err_count (line 705) | pub fn err_count(&self) -> usize { function has_errors_excluding_lint_errors (line 718) | pub fn has_errors_excluding_lint_errors(&self) -> Option { function has_errors (line 723) | pub fn has_errors(&self) -> Option { function has_errors_or_delayed_bugs (line 729) | pub fn has_errors_or_delayed_bugs(&self) -> Option { function print_error_count (line 733) | pub fn print_error_count(&self) { function abort_if_errors (line 820) | pub fn abort_if_errors(&self) { function must_teach (line 831) | pub fn must_teach(&self, code: ErrCode) -> bool { function emit_diagnostic (line 835) | pub fn emit_diagnostic(&self, diagnostic: DiagInner) -> Option FxIndexSet>) -> Diag<'a, B... function bug (line 926) | pub fn bug(self, msg: impl Into>) -> ! { function struct_span_bug (line 931) | pub fn struct_span_bug( function span_bug (line 940) | pub fn span_bug(self, span: impl Into, msg: impl Into) -> Diag<'a, ... function emit_bug (line 950) | pub fn emit_bug(self, bug: impl Diagnostic<'a, BugAbort>) -> ! { function struct_fatal (line 955) | pub fn struct_fatal(self, msg: impl Into) -> Diag<'a, Fatal... function fatal (line 960) | pub fn fatal(self, msg: impl Into) -> ! { function struct_span_fatal (line 965) | pub fn struct_span_fatal( function span_fatal (line 974) | pub fn span_fatal(self, span: impl Into, msg: impl Into) -> Dia... function emit_fatal (line 984) | pub fn emit_fatal(self, fatal: impl Diagnostic<'a, FatalAbort>) -> ! { function create_almost_fatal (line 989) | pub fn create_almost_fatal( function emit_almost_fatal (line 997) | pub fn emit_almost_fatal(self, fatal: impl Diagnostic<'a, FatalError>) -... function struct_err (line 1003) | pub fn struct_err(self, msg: impl Into) -> Diag<'a> { function err (line 1008) | pub fn err(self, msg: impl Into) -> ErrorGuaranteed { function struct_span_err (line 1013) | pub fn struct_span_err( function span_err (line 1022) | pub fn span_err( function create_err (line 1031) | pub fn create_err(self, err: impl Diagnostic<'a>) -> Diag<'a> { function emit_err (line 1036) | pub fn emit_err(self, err: impl Diagnostic<'a>) -> ErrorGuaranteed { function delayed_bug (line 1042) | pub fn delayed_bug(self, msg: impl Into>) -> ErrorGuar... function span_delayed_bug (line 1051) | pub fn span_delayed_bug( function struct_warn (line 1060) | pub fn struct_warn(self, msg: impl Into) -> Diag<'a, ()> { function warn (line 1065) | pub fn warn(self, msg: impl Into) { function struct_span_warn (line 1070) | pub fn struct_span_warn( function span_warn (line 1079) | pub fn span_warn(self, span: impl Into, msg: impl Into) -> Diag<'a, (... function emit_warn (line 1089) | pub fn emit_warn(self, warning: impl Diagnostic<'a, ()>) { function struct_note (line 1094) | pub fn struct_note(self, msg: impl Into) -> Diag<'a, ()> { function note (line 1099) | pub fn note(&self, msg: impl Into) { function struct_span_note (line 1104) | pub fn struct_span_note( function span_note (line 1113) | pub fn span_note(self, span: impl Into, msg: impl Into) -> Diag<'a, ()> { function emit_note (line 1123) | pub fn emit_note(self, note: impl Diagnostic<'a, ()>) { function struct_help (line 1128) | pub fn struct_help(self, msg: impl Into) -> Diag<'a, ()> { function struct_failure_note (line 1133) | pub fn struct_failure_note(self, msg: impl Into) -> Diag<'a... function struct_allow (line 1138) | pub fn struct_allow(self, msg: impl Into) -> Diag<'a, ()> { function struct_expect (line 1143) | pub fn struct_expect(self, msg: impl Into, id: LintExpectat... type DelayedDiagInner (line 1493) | struct DelayedDiagInner { method with_backtrace (line 1499) | fn with_backtrace(diagnostic: DiagInner, backtrace: Backtrace) -> Self { method decorate (line 1503) | fn decorate(self) -> DiagInner { type Level (line 1545) | pub enum Level { method fmt (line 1598) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method color (line 1604) | fn color(self) -> anstyle::Style { method to_str (line 1621) | pub fn to_str(self) -> &'static str { method is_failure_note (line 1633) | pub fn is_failure_note(&self) -> bool { method into_diag_arg (line 1639) | fn into_diag_arg(self, _: &mut Option) -> DiagArgVal... type Style (line 1645) | pub enum Style { function elided_lifetime_in_path_suggestion (line 1663) | pub fn elided_lifetime_in_path_suggestion( function a_or_an (line 1686) | pub fn a_or_an(s: &str) -> &'static str { type TerminalUrl (line 1705) | pub enum TerminalUrl { FILE: compiler/rustc_errors/src/lock.rs function acquire_global_lock (line 15) | pub(crate) fn acquire_global_lock(name: &str) -> Box { function acquire_global_lock (line 83) | pub(crate) fn acquire_global_lock(_name: &str) -> Box { FILE: compiler/rustc_errors/src/markdown/mod.rs type MdStream (line 12) | pub struct MdStream<'a>(Vec>); function parse_str (line 17) | pub fn parse_str(s: &str) -> MdStream<'_> { function write_anstream_buf (line 23) | pub fn write_anstream_buf( function create_stdout_bufwtr (line 33) | pub fn create_stdout_bufwtr() -> anstream::Stdout { type MdTree (line 39) | pub enum MdTree<'a> { function from (line 78) | fn from(value: Vec>) -> Self { FILE: compiler/rustc_errors/src/markdown/parse.rs constant ANC_E (line 7) | const ANC_E: &[u8] = b">"; constant ANC_S (line 8) | const ANC_S: &[u8] = b"<"; constant BRK (line 9) | const BRK: &[u8] = b"---"; constant CBK (line 10) | const CBK: &[u8] = b"```"; constant CIL (line 11) | const CIL: &[u8] = b"`"; constant CMT_E (line 12) | const CMT_E: &[u8] = b"-->"; constant CMT_S (line 13) | const CMT_S: &[u8] = b""; constant SEPARATOR (line 125) | const SEPARATOR: &'static str = ""; constant COMMENT_START (line 132) | const COMMENT_START: &'static str = "//"; constant COMMENT_END (line 133) | const COMMENT_END: &'static str = ""; constant SEPARATOR (line 134) | const SEPARATOR: &'static str = ","; type Html (line 120) | pub(crate) struct Html; type Js (line 129) | pub(crate) struct Js; type Error (line 138) | pub(crate) struct Error(&'static str); method fmt (line 141) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type DeltaWriter (line 146) | struct DeltaWriter { function write_str (line 152) | fn write_str(&mut self, s: &str) -> fmt::Result { FILE: src/librustdoc/html/render/sorted_template/tests.rs function is_comment_js (line 5) | fn is_comment_js(s: &str) -> bool { function is_comment_html (line 9) | fn is_comment_html(s: &str) -> bool { function html_from_empty (line 15) | fn html_from_empty() { function html_page (line 29) | fn html_page() { function js_from_empty (line 45) | fn js_from_empty() { function js_empty_array (line 59) | fn js_empty_array() { function js_number_array (line 69) | fn js_number_array() { function magic_js_number_array (line 83) | fn magic_js_number_array() { function round_trip_js (line 97) | fn round_trip_js() { function round_trip_html (line 114) | fn round_trip_html() { function blank_js (line 131) | fn blank_js() { FILE: src/librustdoc/html/render/span_map.rs type Span (line 21) | pub(crate) struct Span { method from (line 27) | fn from(value: rustc_span::Span) -> Self { method lo (line 33) | pub(crate) fn lo(self) -> BytePos { method hi (line 37) | pub(crate) fn hi(self) -> BytePos { method with_lo (line 41) | pub(crate) fn with_lo(self, lo: BytePos) -> Self { method with_hi (line 45) | pub(crate) fn with_hi(self, hi: BytePos) -> Self { constant DUMMY_SP (line 50) | pub(crate) const DUMMY_SP: Span = Span { lo: BytePos(0), hi: BytePos(0) }; type LinkFromSrc (line 60) | pub(crate) enum LinkFromSrc { function collect_spans_and_sources (line 77) | pub(crate) fn collect_spans_and_sources( type SpanMapVisitor (line 97) | struct SpanMapVisitor<'tcx> { function handle_path (line 104) | fn handle_path(&mut self, path: &rustc_hir::Path<'_>, only_use_last_segm... function extract_info_from_hir_id (line 158) | pub(crate) fn extract_info_from_hir_id(&mut self, hir_id: HirId) { function handle_macro (line 178) | fn handle_macro(&mut self, span: rustc_span::Span) -> bool { function infer_id (line 220) | fn infer_id(&mut self, hir_id: HirId, expr_hir_id: Option, span: ... function hir_enclosing_body_owner (line 243) | fn hir_enclosing_body_owner(tcx: TyCtxt<'_>, hir_id: HirId) -> Option Self::MaybeTyCtxt { function visit_path (line 265) | fn visit_path(&mut self, path: &rustc_hir::Path<'tcx>, _id: HirId) { function visit_qpath (line 273) | fn visit_qpath(&mut self, qpath: &QPath<'tcx>, id: HirId, _span: rustc_s... function visit_mod (line 306) | fn visit_mod(&mut self, m: &'tcx Mod<'tcx>, span: rustc_span::Span, id: ... function visit_expr (line 326) | fn visit_expr(&mut self, expr: &'tcx rustc_hir::Expr<'tcx>) { function visit_item (line 342) | fn visit_item(&mut self, item: &'tcx Item<'tcx>) { FILE: src/librustdoc/html/render/tests.rs function test_compare_names (line 7) | fn test_compare_names() { function test_name_sorting (line 35) | fn test_name_sorting() { function test_all_types_prints_header_once (line 46) | fn test_all_types_prints_header_once() { FILE: src/librustdoc/html/render/type_layout.rs type TypeLayout (line 14) | struct TypeLayout<'cx> { type TypeLayoutSize (line 21) | struct TypeLayoutSize { function document_type_layout (line 27) | pub(crate) fn document_type_layout(cx: &Context<'_>, ty_def_id: DefId) -... FILE: src/librustdoc/html/render/write_shared.rs function write_shared (line 58) | pub(crate) fn write_shared( function write_not_crate_specific (line 145) | pub(crate) fn write_not_crate_specific( function write_rendered_cross_crate_info (line 159) | fn write_rendered_cross_crate_info( function write_static_files (line 185) | fn write_static_files( type CrateInfo (line 235) | pub(crate) struct CrateInfo { method read_many (line 247) | pub(crate) fn read_many(parts_paths: &[PathToParts]) -> Result { method default (line 292) | fn default() -> Self { function push (line 298) | fn push(&mut self, path: PathBuf, item: U) { function with (line 303) | fn with(path: PathBuf, part: U) -> Self { type Part (line 315) | struct Part { function fmt (line 323) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type CciPart (line 329) | trait CciPart: Sized + fmt::Display + DeserializeOwned + 'static { method from_crate_info (line 332) | fn from_crate_info(crate_info: &CrateInfo) -> &PartsAndLocations; type FileFormat (line 339) | type FileFormat = sorted_template::Js; method from_crate_info (line 340) | fn from_crate_info(crate_info: &CrateInfo) -> &PartsAndLocations { type FileFormat (line 393) | type FileFormat = sorted_template::Html; method from_crate_info (line 394) | fn from_crate_info(crate_info: &CrateInfo) -> &PartsAndLocations { type FileFormat (line 445) | type FileFormat = sorted_template::Js; method from_crate_info (line 446) | fn from_crate_info(crate_info: &CrateInfo) -> &PartsAndLocations { type FileFormat (line 547) | type FileFormat = sorted_template::Js; method from_crate_info (line 548) | fn from_crate_info(crate_info: &CrateInfo) -> &PartsAndLocations { type FileFormat (line 666) | type FileFormat = sorted_template::Js; method from_crate_info (line 667) | fn from_crate_info(crate_info: &CrateInfo) -> &PartsAndLocations { type AllCrates (line 336) | struct AllCrates; type AllCratesPart (line 337) | type AllCratesPart = Part; method blank (line 346) | fn blank() -> SortedTemplate<::FileFormat> { method get (line 350) | fn get( function hack_get_external_crate_names (line 367) | fn hack_get_external_crate_names( type CratesIndex (line 390) | struct CratesIndex; type CratesIndexPart (line 391) | type CratesIndexPart = Part; method blank (line 400) | fn blank(cx: &Context<'_>) -> SortedTemplate<::FileFo... method get (line 427) | fn get(crate_name: &str, external_crates: &[String]) -> Result; method blank (line 452) | fn blank() -> SortedTemplate<::FileFormat> { method get (line 459) | fn get(cx: &Context<'_>, crate_name: &OrderedJson) -> Result) -> Self { method to_json_string (line 488) | fn to_json_string(&self) -> OrderedJson { method add_path (line 507) | fn add_path(self: &Rc, path: &Path) { type TypeAlias (line 544) | struct TypeAlias; type TypeAliasPart (line 545) | type TypeAliasPart = Part; method blank (line 554) | fn blank() -> SortedTemplate<::FileFormat> { method get (line 568) | fn get( type TraitAlias (line 663) | struct TraitAlias; type TraitAliasPart (line 664) | type TraitAliasPart = Part; method blank (line 673) | fn blank() -> SortedTemplate<::FileFormat> { method get (line 687) | fn get( type Implementor (line 776) | struct Implementor { method serialize (line 784) | fn serialize(&self, serializer: S) -> Result type TypeImplCollector (line 806) | struct TypeImplCollector<'cx, 'cache, 'item> { type AliasedType (line 828) | struct AliasedType<'cache, 'item> { type AliasedTypeImpl (line 841) | struct AliasedTypeImpl<'cache, 'item> { function visit_item (line 847) | fn visit_item(&mut self, it: &'item Item) { type AliasSerializableImpl (line 908) | struct AliasSerializableImpl { method serialize (line 915) | fn serialize(&self, serializer: S) -> Result function get_path_parts (line 933) | fn get_path_parts( function create_parents (line 949) | fn create_parents(path: &Path) -> Result<(), Error> { function read_template_or_blank (line 956) | fn read_template_or_blank( function write_rendered_cci (line 975) | fn write_rendered_cci( FILE: src/librustdoc/html/render/write_shared/tests.rs function hack_external_crate_names (line 7) | fn hack_external_crate_names() { function but_last_line (line 17) | fn but_last_line(s: &str) -> &str { function sources_template (line 23) | fn sources_template() { function all_crates_template (line 33) | fn all_crates_template() { function all_crates_parts (line 43) | fn all_crates_parts() { function crates_index_part (line 50) | fn crates_index_part() { function trait_alias_template (line 66) | fn trait_alias_template() { function type_alias_template (line 106) | fn type_alias_template() { function read_template_test (line 146) | fn read_template_test() { FILE: src/librustdoc/html/sources.rs function render (line 22) | pub(crate) fn render(cx: &mut Context<'_>, krate: &clean::Crate) -> Resu... function collect_local_sources (line 36) | pub(crate) fn collect_local_sources( type LocalSourcesCollector (line 46) | struct LocalSourcesCollector<'a, 'tcx> { function filename_real_and_local (line 52) | fn filename_real_and_local(span: clean::Span, sess: &Session) -> Option<... function add_local_source (line 63) | fn add_local_source(&mut self, item: &clean::Item) { function visit_item (line 103) | fn visit_item(&mut self, item: &clean::Item) { type SourceCollector (line 111) | struct SourceCollector<'a, 'tcx> { function visit_item (line 122) | fn visit_item(&mut self, item: &clean::Item) { function emit_source (line 168) | fn emit_source( function clean_path (line 273) | pub(crate) fn clean_path(src_root: &Path, p: &Path, mut f: F, mut ... type ScrapedInfo (line 296) | pub(crate) struct ScrapedInfo<'a> { type ScrapedSource (line 307) | struct ScrapedSource<'a, Code: std::fmt::Display> { type Source (line 315) | struct Source { type SourceContext (line 321) | pub(crate) enum SourceContext<'a> { function print_src (line 328) | pub(crate) fn print_src( FILE: src/librustdoc/html/static/js/main.js function resourcePath (line 21) | function resourcePath(basename, extension) { function hideMain (line 25) | function hideMain() { function showMain (line 33) | function showMain() { function getVirtualKey (line 72) | function getVirtualKey(ev) { constant MAIN_ID (line 84) | const MAIN_ID = "main-content"; constant ALTERNATIVE_DISPLAY_ID (line 85) | const ALTERNATIVE_DISPLAY_ID = "alternative-display"; constant NOT_DISPLAYED_ID (line 86) | const NOT_DISPLAYED_ID = "not-displayed"; function getNakedUrl (line 89) | function getNakedUrl() { function insertAfter (line 100) | function insertAfter(newNode, referenceNode) { function getOrCreateSection (line 113) | function getOrCreateSection(id, classes) { function getAlternativeDisplayElem (line 131) | function getAlternativeDisplayElem() { function getNotDisplayedElem (line 140) | function getNotDisplayedElem() { function switchDisplayedElement (line 153) | function switchDisplayedElement(elemToDisplay) { function browserSupportsHistoryApi (line 180) | function browserSupportsHistoryApi() { function preLoadCss (line 190) | function preLoadCss(cssUrl) { function loadScript (line 207) | function loadScript(url, errorCallback) { function sendSearchForm (line 402) | function sendSearchForm() { function loadSearch (line 406) | function loadSearch() { function handleHashes (line 548) | function handleHashes(ev) { function onHashChange (line 611) | function onHashChange(ev) { function openParentDetails (line 620) | function openParentDetails(elem) { function expandSection (line 632) | function expandSection(id) { function handleEscape (line 639) | function handleEscape(ev) { function handleShortcut (line 650) | function handleShortcut(ev) { function addSidebarItems (line 706) | function addSidebarItems() { function implementorsElems (line 805) | function implementorsElems(id) { function addSidebarCrates (line 1130) | function addSidebarCrates() { function expandAllDocs (line 1162) | function expandAllDocs() { function collapseAllDocs (line 1177) | function collapseAllDocs(collapseImpls) { function toggleAllDocs (line 1195) | function toggleAllDocs(ev) { function setImplementorsTogglesOpen (line 1218) | function setImplementorsTogglesOpen(id, open) { function generateLine (line 1245) | function generateLine(nb) { function showSidebar (line 1275) | function showSidebar() { function hideSidebar (line 1281) | function hideSidebar() { function showTooltip (line 1335) | function showTooltip(e) { function setTooltipHoverTimeout (line 1434) | function setTooltipHoverTimeout(element, show) { function clearTooltipHoverTimeout (line 1465) | function clearTooltipHoverTimeout(element) { function tooltipBlurHandler (line 1476) | function tooltipBlurHandler(event) { function hideTooltip (line 1501) | function hideTooltip(focus) { function helpBlurHandler (line 1605) | function helpBlurHandler(event) { function buildHelpMenu (line 1617) | function buildHelpMenu() { function showHelp (line 1738) | function showHelp() { function copyContentToClipboard (line 2087) | function copyContentToClipboard(content) { function copyButtonAnimation (line 2107) | function copyButtonAnimation(button) { function copyCode (line 2146) | function copyCode(codeElem) { function getExampleWrap (line 2166) | function getExampleWrap(event) { function addCopyButton (line 2190) | function addCopyButton(event) { function showHideCodeExampleButtons (line 2227) | function showHideCodeExampleButtons(event) { FILE: src/librustdoc/html/static/js/rustdoc.d.ts type PromiseConstructor (line 15) | interface PromiseConstructor { function register_implementors (line 50) | function(boolean), FILE: src/librustdoc/html/static/js/scrape-examples.js function scrollToLoc (line 20) | function scrollToLoc(elt, loc, isHidden) { function createScrapeButton (line 52) | function createScrapeButton(parent, className, content) { function setupLoc (line 129) | function setupLoc(example, isHidden) { FILE: src/librustdoc/html/static/js/search.js function onEachBtwnAsync (line 33) | async function onEachBtwnAsync(arr, func, funcBtwn) { function editDistance (line 288) | function editDistance(a, b, limit) { function isEndCharacter (line 296) | function isEndCharacter(c) { function isFnLikeTy (line 306) | function isFnLikeTy(ty) { function isSeparatorCharacter (line 317) | function isSeparatorCharacter(c) { function isReturnArrow (line 328) | function isReturnArrow(parserState) { function skipWhitespace (line 337) | function skipWhitespace(parserState) { function prevIs (line 355) | function prevIs(parserState, lookingFor) { function isLastElemGeneric (line 377) | function isLastElemGeneric(elems, parserState) { function getFilteredNextElem (line 389) | function getFilteredNextElem(query, parserState, elems, isInGenerics) { function getItemsBefore (line 438) | function getItemsBefore(query, parserState, elems, endChar) { function getNextElem (line 592) | function getNextElem(query, parserState, elems, isInGenerics) { function checkExtraTypeFilterCharacters (line 780) | function checkExtraTypeFilterCharacters(start, parserState) { function createQueryElement (line 804) | function createQueryElement(query, parserState, name, generics, isInGene... function makePrimitiveElement (line 901) | function makePrimitiveElement(name, extra) { function getStringElem (line 930) | function getStringElem(query, parserState, isInGenerics) { function getIdentEndPosition (line 962) | function getIdentEndPosition(parserState) { function isSpecialStartCharacter (line 1039) | function isSpecialStartCharacter(c) { function isPathStart (line 1050) | function isPathStart(parserState) { function consumeIdent (line 1062) | function consumeIdent(parserState) { function isPathSeparator (line 1080) | function isPathSeparator(c) { function removeIdxListAsc (line 1092) | function removeIdxListAsc(a, idxList) { class VlqHexDecoder (line 1115) | class VlqHexDecoder { method constructor (line 1120) | constructor(string, cons) { method decodeList (line 1132) | decodeList() { method decode (line 1146) | decode() { method next (line 1168) | next() { function itemTypeFromName (line 1206) | function itemTypeFromName(typename) { class DocSearch (line 1218) | class DocSearch { method constructor (line 1223) | constructor(rootPath, database) { method getTypeNameIds (line 1246) | getTypeNameIds() { method getTypeNameIdsAsync (line 1276) | async getTypeNameIdsAsync(nn) { method parseQuery (line 1382) | static parseQuery(userQuery) { method getName (line 1573) | async getName(id) { method getDesc (line 1586) | async getDesc(id) { method getAliasTarget (line 1599) | async getAliasTarget(id) { method getEntryData (line 1620) | async getEntryData(id) { method getPathData (line 1668) | async getPathData(id) { method getFunctionData (line 1693) | async getFunctionData(id) { method getTypeData (line 1770) | async getTypeData(id) { method getCrateNameList (line 1835) | async getCrateNameList() { method getGenericInvertedIndex (line 1853) | async getGenericInvertedIndex(id) { method getRow (line 1886) | async getRow(id, loadFunctionData) { method buildItemSearchTypeAll (line 1976) | async buildItemSearchTypeAll(types) { method buildItemSearchType (line 1988) | async buildItemSearchType(type) { method execQuery (line 2145) | async execQuery(parsedQuery, filterCrates, currentCrate) { function printTab (line 4801) | function printTab(nb) { function buildUrl (line 4858) | function buildUrl(search, filterCrates) { function getFilterCrates (line 4872) | function getFilterCrates() { function nextTab (line 4884) | function nextTab(direction) { function focusSearchResult (line 4893) | function focusSearchResult() { function addTab (line 4912) | async function addTab(results, query, display, finishedCallback, isTypeS... function makeTab (line 5126) | function makeTab(tabNb, text, results, query, isTypeSearch, goToFirst) { function showResults (line 5198) | async function showResults(docSearch, results, goToFirst, filterCrates) { function updateSearchHistory (line 5290) | function updateSearchHistory(url) { function search (line 5311) | async function search(forced) { function onSearchSubmit (line 5359) | function onSearchSubmit(e) { function putBackSearch (line 5366) | function putBackSearch() { function registerSearchEvents (line 5381) | function registerSearchEvents() { function updateCrate (line 5481) | function updateCrate(ev) { FILE: src/librustdoc/html/static/js/settings.js function changeSetting (line 19) | function changeSetting(settingName, value) { function showLightAndDark (line 60) | function showLightAndDark() { function hideLightAndDark (line 65) | function hideLightAndDark() { function updateLightAndDark (line 70) | function updateLightAndDark() { function setEvents (line 82) | function setEvents(settingsElement) { function buildSettingsPageSections (line 126) | function buildSettingsPageSections(settings) { function buildSettingsPage (line 173) | function buildSettingsPage() { function displaySettings (line 289) | function displaySettings() { function settingsBlurHandler (line 312) | function settingsBlurHandler(event) { FILE: src/librustdoc/html/static/js/src-script.js function closeSidebarIfMobile (line 21) | function closeSidebarIfMobile() { function createDirEntry (line 35) | function createDirEntry(elem, parent, fullPath, hasFoundFile) { function createSrcSidebar (line 103) | function createSrcSidebar(srcIndexStr) { function highlightSrcLines (line 126) | function highlightSrcLines() { FILE: src/librustdoc/html/static/js/storage.js function nonnull (line 39) | function nonnull(x, msg) { function nonundef (line 61) | function nonundef(x, msg) { function getSettingValue (line 75) | function getSettingValue(settingName) { function hasClass (line 99) | function hasClass(elem, className) { function addClass (line 110) | function addClass(elem, className) { function removeClass (line 124) | function removeClass(elem, className) { function onEach (line 135) | function onEach(arr, func) { function onEachLazy (line 154) | function onEachLazy(lazyArray, func) { function updateLocalStorage (line 169) | function updateLocalStorage(name, value) { function getCurrentValue (line 190) | function getCurrentValue(name) { function getVar (line 205) | function getVar(name) { function switchTheme (line 219) | function switchTheme(newThemeName, saveTheme) { function updateTheme (line 279) | function updateTheme() { function updateSidebarWidth (line 344) | function updateSidebarWidth() { class RustdocToolbarElement (line 386) | class RustdocToolbarElement extends HTMLElement { method constructor (line 387) | constructor() { method connectedCallback (line 390) | connectedCallback() { class RustdocTopBarElement (line 413) | class RustdocTopBarElement extends HTMLElement { method constructor (line 414) | constructor() { method connectedCallback (line 417) | connectedCallback() { FILE: src/librustdoc/html/static/js/stringdex.d.ts type Database (line 7) | interface Database { type Trie (line 19) | interface Trie { type DataColumn (line 30) | interface DataColumn { type Callbacks (line 51) | interface Callbacks { type Hooks (line 87) | interface Hooks { class RoaringBitmap (line 124) | class RoaringBitmap { type Stringdex (line 138) | type Stringdex = { type Window (line 151) | interface Window { FILE: src/librustdoc/html/static/js/stringdex.js constant EMPTY_UINT8 (line 6) | const EMPTY_UINT8 = new Uint8Array(); class RoaringBitmap (line 12) | class RoaringBitmap { method constructor (line 17) | constructor(u8array, startingOffset) { method makeSingleton (line 255) | static makeSingleton(number) { method everything (line 268) | static everything() { method empty (line 288) | static empty() { method isEmpty (line 292) | isEmpty() { method addToArrayAt (line 302) | addToArrayAt(key) { method union (line 363) | union(that) { method intersection (line 486) | intersection(that) { method contains (line 594) | contains(keyvalue) { method remove (line 604) | remove(keyvalue) { method getContainerId (line 661) | getContainerId(key) { method entries (line 685) | * entries() { method first (line 698) | first() { method cardinality (line 707) | cardinality() { class RoaringBitmapRun (line 719) | class RoaringBitmapRun { method constructor (line 724) | constructor(runcount, array) { method contains (line 729) | contains(value) { method values (line 752) | * values() { class RoaringBitmapArray (line 768) | class RoaringBitmapArray { method constructor (line 773) | constructor(cardinality, array) { method contains (line 778) | contains(value) { method values (line 801) | * values() { class RoaringBitmapBits (line 810) | class RoaringBitmapBits { method constructor (line 814) | constructor(array) { method contains (line 818) | contains(value) { method values (line 821) | * values() { constant EMPTY_BITMAP (line 833) | const EMPTY_BITMAP = new RoaringBitmap(null, 0); constant EMPTY_BITMAP1 (line 835) | const EMPTY_BITMAP1 = new RoaringBitmap(null, 0); constant EVERYTHING_BITMAP (line 837) | const EVERYTHING_BITMAP = new RoaringBitmap(null, 0); class HashTable (line 848) | class HashTable { method constructor (line 852) | constructor() { method entries (line 862) | * entries() { method set (line 878) | set(key, value) { method setNoGrow (line 906) | setNoGrow(key, start, value) { method get (line 976) | get(key) { method getWithOffsetKey (line 988) | getWithOffsetKey(key, start) { function bitCount (line 1038) | function bitCount(n) { class Uint8ArraySearchPattern (line 1048) | class Uint8ArraySearchPattern { method constructor (line 1050) | constructor(needle) { method matches (line 1065) | matches(haystack) { function loadDatabase (line 1089) | function loadDatabase(hooks) { function siphashOfBytes (line 3784) | function siphashOfBytes(input, k0lo, k0hi, k1lo, k1hi, output) { class ParametricDescription (line 3916) | class ParametricDescription { method constructor (line 3922) | constructor(w, n, minErrors) { method isAccept (line 3931) | isAccept(absState) { method getPosition (line 3940) | getPosition(absState) { method getVector (line 3950) | getVector(name, charCode, pos, end) { method unpack (line 3966) | unpack(data, index, bitsPerValue) { class Lev2TParametricDescription (line 4003) | class Lev2TParametricDescription extends ParametricDescription { method transition (line 4010) | transition(absState, position, vector) { method constructor (line 4111) | constructor(w) { class Lev1TParametricDescription (line 4322) | class Lev1TParametricDescription extends ParametricDescription { method transition (line 4329) | transition(absState, position, vector) { method constructor (line 4379) | constructor(w) { FILE: src/librustdoc/html/static_files.rs type StaticFile (line 9) | pub(crate) struct StaticFile { method new (line 16) | fn new( method output_filename (line 25) | pub(crate) fn output_filename(&self) -> &Path { method fmt (line 33) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function suffix_path (line 39) | pub(crate) fn suffix_path(filename: &str, suffix: &str) -> PathBuf { function static_filename (line 50) | pub(crate) fn static_filename(filename: &str, sha256: &str) -> PathBuf { FILE: src/librustdoc/html/tests.rs function assert_relative_path (line 5) | fn assert_relative_path(expected: &str, relative_to_fqp: &[Symbol], fqp:... function href_relative_parts_basic (line 12) | fn href_relative_parts_basic() { function href_relative_parts_parent_module (line 19) | fn href_relative_parts_parent_module() { function href_relative_parts_different_crate (line 26) | fn href_relative_parts_different_crate() { function href_relative_parts_same_module (line 33) | fn href_relative_parts_same_module() { function href_relative_parts_child_module (line 40) | fn href_relative_parts_child_module() { function href_relative_parts_root (line 47) | fn href_relative_parts_root() { FILE: src/librustdoc/html/toc.rs type Toc (line 6) | pub(crate) struct Toc { method count_entries_with_level (line 24) | fn count_entries_with_level(&self, level: u32) -> usize { method print_inner (line 172) | fn print_inner(&self, v: &mut String) { method print (line 191) | pub(crate) fn print(&self) -> String { type TocEntry (line 30) | pub(crate) struct TocEntry { type TocBuilder (line 45) | pub(crate) struct TocBuilder { method new (line 59) | pub(crate) fn new() -> TocBuilder { method into_toc (line 64) | pub(crate) fn into_toc(mut self) -> Toc { method fold_until (line 98) | fn fold_until(&mut self, level: u32) { method push (line 124) | pub(crate) fn push(&mut self, level: u32, name: String, html: String, ... FILE: src/librustdoc/html/toc/tests.rs function builder_smoke (line 4) | fn builder_smoke() { FILE: src/librustdoc/html/url_parts_builder.rs type UrlPartsBuilder (line 11) | pub(crate) struct UrlPartsBuilder { method new (line 17) | pub(crate) fn new() -> Self { method with_capacity_bytes (line 22) | fn with_capacity_bytes(count: usize) -> Self { method singleton (line 45) | pub(crate) fn singleton(part: &str) -> Self { method push (line 62) | pub(crate) fn push(&mut self, part: &str) { method push_fmt (line 82) | pub(crate) fn push_fmt(&mut self, args: fmt::Arguments<'_>) { method push_front (line 103) | pub(crate) fn push_front(&mut self, part: &str) { method finish (line 113) | pub(crate) fn finish(self) -> String { method from_iter (line 131) | fn from_iter>(iter: T) -> Self { method extend (line 140) | fn extend>(&mut self, iter: T) { method from_iter (line 148) | fn from_iter>(iter: T) -> Self { method extend (line 159) | fn extend>(&mut self, iter: T) { constant AVG_PART_LENGTH (line 128) | const AVG_PART_LENGTH: usize = 8; FILE: src/librustdoc/html/url_parts_builder/tests.rs function t (line 3) | fn t(builder: UrlPartsBuilder, expect: &str) { function empty (line 8) | fn empty() { function singleton (line 13) | fn singleton() { function push_several (line 18) | fn push_several() { function push_front_empty (line 27) | fn push_front_empty() { function push_front_non_empty (line 34) | fn push_front_non_empty() { function push_fmt (line 44) | fn push_fmt() { function collect (line 54) | fn collect() { function extend (line 60) | fn extend() { FILE: src/librustdoc/json/conversions.rs function convert_item (line 26) | pub(super) fn convert_item(&self, item: &clean::Item) -> Option { function ids (line 86) | fn ids(&self, items: &[clean::Item]) -> Vec { function ids_keeping_stripped (line 94) | fn ids_keeping_stripped(&self, items: &[clean::Item]) -> Vec> { type FromClean (line 105) | pub(crate) trait FromClean { method from_clean (line 106) | fn from_clean(f: &T, renderer: &JsonRenderer<'_>) -> Self; type IntoJson (line 109) | pub(crate) trait IntoJson { method into_json (line 110) | fn into_json(&self, renderer: &JsonRenderer<'_>) -> T; method into_json (line 117) | fn into_json(&self, renderer: &JsonRenderer<'_>) -> U { method from_clean (line 126) | fn from_clean(opt: &Box, renderer: &JsonRenderer<'_>) -> Self { function from_clean (line 135) | fn from_clean(opt: &Option, renderer: &JsonRenderer<'_>) -> Self { function from_clean (line 144) | fn from_clean(items: &Vec, renderer: &JsonRenderer<'_>) -> Self { function from_clean (line 153) | fn from_clean(items: &ThinVec, renderer: &JsonRenderer<'_>) -> Self { function from_clean (line 159) | fn from_clean(span: &clean::Span, renderer: &JsonRenderer<'_>) -> Self { method from_clean (line 180) | fn from_clean(v: &Option>, renderer: &JsonRenderer... method from_clean (line 194) | fn from_clean(deprecation: &attrs::Deprecation, _renderer: &JsonRenderer... function from_clean (line 207) | fn from_clean(generic_args: &clean::GenericArgs, renderer: &JsonRenderer... method from_clean (line 230) | fn from_clean(arg: &clean::GenericArg, renderer: &JsonRenderer<'_>) -> S... method from_clean (line 243) | fn from_clean(constant: &clean::ConstantKind, renderer: &JsonRenderer<'_... method from_clean (line 253) | fn from_clean(constraint: &clean::AssocItemConstraint, renderer: &JsonRe... method from_clean (line 263) | fn from_clean(kind: &clean::AssocItemConstraintKind, renderer: &JsonRend... function from_clean_item (line 272) | fn from_clean_item(item: &clean::Item, renderer: &JsonRenderer<'_>) -> I... method from_clean (line 362) | fn from_clean(struct_: &clean::Struct, renderer: &JsonRenderer<'_>) -> S... method from_clean (line 384) | fn from_clean(union_: &clean::Union, renderer: &JsonRenderer<'_>) -> Self { method from_clean (line 397) | fn from_clean(header: &rustc_hir::FnHeader, renderer: &JsonRenderer<'_>)... method from_clean (line 420) | fn from_clean(a: &ExternAbi, _renderer: &JsonRenderer<'_>) -> Self { method from_clean (line 437) | fn from_clean(l: &clean::Lifetime, _renderer: &JsonRenderer<'_>) -> Stri... method from_clean (line 443) | fn from_clean(generics: &clean::Generics, renderer: &JsonRenderer<'_>) -... method from_clean (line 452) | fn from_clean(generic_param: &clean::GenericParamDef, renderer: &JsonRen... method from_clean (line 461) | fn from_clean(kind: &clean::GenericParamDefKind, renderer: &JsonRenderer... method from_clean (line 481) | fn from_clean(predicate: &clean::WherePredicate, renderer: &JsonRenderer... method from_clean (line 511) | fn from_clean(bound: &clean::GenericBound, renderer: &JsonRenderer<'_>) ... method from_clean (line 539) | fn from_clean( method from_clean (line 558) | fn from_clean(ty: &clean::Type, renderer: &JsonRenderer<'_>) -> Self { method from_clean (line 605) | fn from_clean(path: &clean::Path, renderer: &JsonRenderer<'_>) -> Self { method from_clean (line 628) | fn from_clean(qpath: &clean::QPathData, renderer: &JsonRenderer<'_>) -> ... method from_clean (line 641) | fn from_clean(term: &clean::Term, renderer: &JsonRenderer<'_>) -> Self { method from_clean (line 650) | fn from_clean(bare_decl: &clean::BareFunctionDecl, renderer: &JsonRender... method from_clean (line 666) | fn from_clean(decl: &clean::FnDecl, renderer: &JsonRenderer<'_>) -> Self { method from_clean (line 685) | fn from_clean(trait_: &clean::Trait, renderer: &JsonRenderer<'_>) -> Self { method from_clean (line 704) | fn from_clean( method from_clean (line 716) | fn from_clean(impl_: &clean::Impl, renderer: &JsonRenderer<'_>) -> Self { function from_clean_function (line 747) | pub(crate) fn from_clean_function( method from_clean (line 762) | fn from_clean(enum_: &clean::Enum, renderer: &JsonRenderer<'_>) -> Self { method from_clean (line 775) | fn from_clean(variant: &clean::Variant, renderer: &JsonRenderer<'_>) -> ... method from_clean (line 794) | fn from_clean(disr: &clean::Discriminant, renderer: &JsonRenderer<'_>) -... method from_clean (line 807) | fn from_clean(import: &clean::Import, renderer: &JsonRenderer<'_>) -> Se... method from_clean (line 823) | fn from_clean(mac: &clean::ProcMacro, renderer: &JsonRenderer<'_>) -> Se... method from_clean (line 832) | fn from_clean(kind: &rustc_span::hygiene::MacroKind, _renderer: &JsonRen... method from_clean (line 843) | fn from_clean(type_alias: &clean::TypeAlias, renderer: &JsonRenderer<'_>... function from_clean_static (line 849) | fn from_clean_static( method from_clean (line 867) | fn from_clean(alias: &clean::TraitAlias, renderer: &JsonRenderer<'_>) ->... method from_clean (line 876) | fn from_clean(kind: &ItemType, _renderer: &JsonRenderer<'_>) -> Self { function maybe_from_hir_attr (line 910) | fn maybe_from_hir_attr(attr: &hir::Attribute, item_id: ItemId, tcx: TyCt... function other_attr (line 1057) | fn other_attr(tcx: TyCtxt<'_>, attr: &hir::Attribute) -> Attribute { function repr_attr (line 1063) | fn repr_attr(tcx: TyCtxt<'_>, def_id: DefId) -> Attribute { function format_integer_type (line 1083) | fn format_integer_type(it: rustc_abi::IntegerType) -> String { function target (line 1103) | pub(super) fn target(sess: &rustc_session::Session) -> Target { FILE: src/librustdoc/json/ids.rs type IdInterner (line 17) | pub(super) type IdInterner = FxHashMap; type FullItemId (line 29) | pub(super) struct FullItemId { function id_from_item_default (line 69) | pub(crate) fn id_from_item_default(&self, item_id: clean::ItemId) -> typ... function id_from_item_inner (line 73) | fn id_from_item_inner( function id_from_item (line 108) | pub(crate) fn id_from_item(&self, item: &clean::Item) -> types::Id { FILE: src/librustdoc/json/import_finder.rs function get_imports (line 14) | pub(crate) fn get_imports(krate: clean::Crate) -> (clean::Crate, DefIdSe... type ImportFinder (line 21) | struct ImportFinder { method fold_item (line 26) | fn fold_item(&mut self, i: Item) -> Option { FILE: src/librustdoc/json/mod.rs type JsonRenderer (line 38) | pub(crate) struct JsonRenderer<'tcx> { function sess (line 53) | fn sess(&self) -> &'tcx Session { function get_trait_implementors (line 57) | fn get_trait_implementors(&mut self, id: DefId) -> Vec { function get_impls (line 74) | fn get_impls(&mut self, id: DefId) -> Vec { function init (line 110) | pub(crate) fn init( function descr (line 135) | fn descr() -> &'static str { constant RUN_ON_MODULE (line 139) | const RUN_ON_MODULE: bool = false; type ModuleData (line 140) | type ModuleData = (); function save_module_data (line 142) | fn save_module_data(&mut self) -> Self::ModuleData { function restore_module_data (line 145) | fn restore_module_data(&mut self, _info: Self::ModuleData) { function item (line 152) | fn item(&mut self, item: &clean::Item) -> Result<(), Error> { function mod_item_in (line 235) | fn mod_item_in(&mut self, _item: &clean::Item) -> Result<(), Error> { function after_krate (line 239) | fn after_krate(self) -> Result<(), Error> { function serialize_and_write (line 322) | fn serialize_and_write( FILE: src/librustdoc/lib.rs function main (line 125) | pub fn main() -> ExitCode { function init_logging (line 169) | fn init_logging(early_dcx: &EarlyDiagCtxt) { function opts (line 199) | fn opts() -> Vec { function usage (line 695) | fn usage(argv0: &str) { function wrap_return (line 707) | pub(crate) fn wrap_return(dcx: DiagCtxtHandle<'_>, res: Result<(), Strin... function run_renderer (line 714) | fn run_renderer< function run_merge_finalize (line 749) | fn run_merge_finalize(opt: config::RenderOptions) -> Result<(), error::E... function main_args (line 772) | fn main_args(early_dcx: &mut EarlyDiagCtxt, at_args: &[String]) { function dump_feature_usage_metrics (line 951) | fn dump_feature_usage_metrics(tcx: TyCtxt<'_>, metrics_dir: &Path) { FILE: src/librustdoc/lint.rs function init_lints (line 20) | pub(crate) fn init_lints( function register_lints (line 215) | pub(crate) fn register_lints(_sess: &Session, lint_store: &mut LintStore) { FILE: src/librustdoc/markdown.rs function extract_leading_metadata (line 24) | fn extract_leading_metadata(s: &str) -> (Vec<&str>, &str) { function render_and_write (line 46) | pub(crate) fn render_and_write>( FILE: src/librustdoc/passes/calculate_doc_coverage.rs constant CALCULATE_DOC_COVERAGE (line 21) | pub(crate) const CALCULATE_DOC_COVERAGE: Pass = Pass { function calculate_doc_coverage (line 27) | fn calculate_doc_coverage(krate: clean::Crate, ctx: &mut DocContext<'_>)... type ItemCount (line 37) | struct ItemCount { method count_item (line 45) | fn count_item( method percentage (line 67) | fn percentage(&self) -> Option { method examples_percentage (line 75) | fn examples_percentage(&self) -> Option { type Output (line 85) | type Output = Self; method sub (line 87) | fn sub(self, rhs: Self) -> Self { method add_assign (line 98) | fn add_assign(&mut self, rhs: Self) { type CoverageCalculator (line 106) | struct CoverageCalculator<'a, 'b> { function limit_filename_len (line 111) | fn limit_filename_len(filename: String) -> String { function to_json (line 122) | fn to_json(&self) -> String { function print_results (line 133) | fn print_results(&self) { function visit_item (line 194) | fn visit_item(&mut self, i: &clean::Item) { FILE: src/librustdoc/passes/check_doc_test_visibility.rs constant CHECK_DOC_TEST_VISIBILITY (line 22) | pub(crate) const CHECK_DOC_TEST_VISIBILITY: Pass = Pass { type DocTestVisibilityLinter (line 28) | struct DocTestVisibilityLinter<'a, 'tcx> { function check_doc_test_visibility (line 32) | pub(crate) fn check_doc_test_visibility(krate: Crate, cx: &mut DocContex... function visit_item (line 39) | fn visit_item(&mut self, item: &Item) { type Tests (line 46) | pub(crate) struct Tests { method visit_test (line 51) | fn visit_test(&mut self, _: String, config: LangString, _: MdRelLine) { function should_have_doc_example (line 58) | pub(crate) fn should_have_doc_example(cx: &DocContext<'_>, item: &clean:... function look_for_tests (line 119) | pub(crate) fn look_for_tests(cx: &DocContext<'_>, dox: &str, item: &Item) { FILE: src/librustdoc/passes/collect_intra_doc_links.rs constant COLLECT_INTRA_DOC_LINKS (line 41) | pub(crate) const COLLECT_INTRA_DOC_LINKS: Pass = function collect_intra_doc_links (line 44) | pub(crate) fn collect_intra_doc_links<'a, 'tcx>( function filter_assoc_items_by_name_and_namespace (line 57) | fn filter_assoc_items_by_name_and_namespace( type Res (line 69) | pub(crate) enum Res { method descr (line 77) | fn descr(self) -> &'static str { method article (line 84) | fn article(self) -> &'static str { method name (line 91) | fn name(self, tcx: TyCtxt<'_>) -> Symbol { method def_id (line 98) | fn def_id(self, tcx: TyCtxt<'_>) -> Option { method from_def_id (line 105) | fn from_def_id(tcx: TyCtxt<'_>, def_id: DefId) -> Res { method disambiguator_suggestion (line 110) | fn disambiguator_suggestion(self) -> Suggestion { type Error (line 152) | type Error = (); method try_from (line 154) | fn try_from(res: ResolveRes) -> Result { type ResolveRes (line 74) | type ResolveRes = rustc_hir::def::Res; type UnresolvedPath (line 169) | struct UnresolvedPath<'a> { type ResolutionFailure (line 185) | enum ResolutionFailure<'a> { type UrlFragment (line 200) | pub(crate) enum UrlFragment { type ResolutionInfo (line 209) | pub(crate) struct ResolutionInfo { type DiagnosticInfo (line 218) | pub(crate) struct DiagnosticInfo<'a> { type OwnedDiagnosticInfo (line 225) | pub(crate) struct OwnedDiagnosticInfo { method from (line 233) | fn from(f: DiagnosticInfo<'_>) -> Self { method as_info (line 244) | pub(crate) fn as_info(&self) -> DiagnosticInfo<'_> { type LinkCollector (line 254) | pub(crate) struct LinkCollector<'a, 'tcx> { type AmbiguousLinks (line 272) | pub(crate) struct AmbiguousLinks { function variant_field (line 285) | fn variant_field<'path>( function resolve_path (line 348) | fn resolve_path( function resolve (line 384) | fn resolve<'path>( function full_res (line 465) | fn full_res(tcx: TyCtxt<'_>, (base, assoc_item): (Res, Option)) -... function resolve_primitive_inherent_assoc_item (line 470) | fn resolve_primitive_inherent_assoc_item<'tcx>( function resolve_self_ty (line 485) | fn resolve_self_ty<'tcx>( function ty_to_res (line 521) | fn ty_to_res<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>) -> Option { function primitive_type_to_ty (line 561) | fn primitive_type_to_ty<'tcx>(tcx: TyCtxt<'tcx>, prim: PrimitiveType) ->... function resolve_associated_item (line 594) | fn resolve_associated_item<'tcx>( function is_assoc_item_on_alias_page (line 647) | fn is_assoc_item_on_alias_page<'tcx>(tcx: TyCtxt<'tcx>, assoc_did: DefId... function resolve_assoc_on_primitive (line 655) | fn resolve_assoc_on_primitive<'tcx>( function resolve_assoc_on_adt (line 679) | fn resolve_assoc_on_adt<'tcx>( function resolve_assoc_on_simple_type (line 725) | fn resolve_assoc_on_simple_type<'tcx>( function resolve_structfield (line 759) | fn resolve_structfield<'tcx>(adt_def: ty::AdtDef<'tcx>, item_name: Symbo... function resolve_associated_trait_item (line 774) | fn resolve_associated_trait_item<'tcx>( function trait_assoc_to_impl_assoc_item (line 815) | fn trait_assoc_to_impl_assoc_item<'tcx>( function trait_impls_for (line 833) | fn trait_impls_for<'tcx>( function is_derive_trait_collision (line 875) | fn is_derive_trait_collision(ns: &PerNS, Resolut... function visit_item (line 890) | fn visit_item(&mut self, item: &Item) { type PreprocessingError (line 896) | enum PreprocessingError { method report (line 904) | fn report(&self, cx: &DocContext<'_>, diag_info: DiagnosticInfo<'_>) { type PreprocessingInfo (line 918) | struct PreprocessingInfo { type PreprocessedMarkdownLink (line 926) | pub(crate) struct PreprocessedMarkdownLink( function preprocess_link (line 937) | fn preprocess_link( function preprocessed_markdown_links (line 1060) | fn preprocessed_markdown_links(s: &str) -> Vec { function resolve_links (line 1068) | fn resolve_links(&mut self, item: &Item) { function save_link (line 1154) | pub(crate) fn save_link(&mut self, item_id: ItemId, link: ItemLink) { function resolve_link (line 1161) | fn resolve_link( function validate_link (line 1223) | fn validate_link(&self, original_did: DefId) -> bool { function resolve_ambiguities (line 1259) | pub(crate) fn resolve_ambiguities(&mut self) { function compute_link (line 1318) | fn compute_link( function verify_disambiguator (line 1402) | fn verify_disambiguator( function report_disambiguator_mismatch (line 1450) | fn report_disambiguator_mismatch( function report_rawptr_assoc_feature_gate (line 1477) | fn report_rawptr_assoc_feature_gate( function resolve_with_disambiguator_cached (line 1502) | fn resolve_with_disambiguator_cached( function resolve_with_disambiguator (line 1565) | fn resolve_with_disambiguator( function range_between_backticks (line 1671) | fn range_between_backticks(ori_link_range: &MarkdownLinkRange, dox: &str... function should_ignore_link_with_disambiguators (line 1694) | fn should_ignore_link_with_disambiguators(link: &str) -> bool { function should_ignore_link (line 1700) | fn should_ignore_link(path_str: &str) -> bool { type Disambiguator (line 1706) | enum Disambiguator { method from_str (line 1723) | fn from_str(link: &str) -> Result, (String,... method ns (line 1790) | fn ns(self) -> Namespace { method article (line 1802) | fn article(self) -> &'static str { method descr (line 1810) | fn descr(self) -> &'static str { type Suggestion (line 1822) | enum Suggestion { method descr (line 1832) | fn descr(&self) -> Cow<'static, str> { method as_help (line 1840) | fn as_help(&self, path_str: &str) -> String { method as_help_span (line 1849) | fn as_help_span( function report_diagnostic (line 1912) | fn report_diagnostic( function resolution_failure (line 1998) | fn resolution_failure( function report_multiple_anchors (line 2242) | fn report_multiple_anchors(cx: &DocContext<'_>, diag_info: DiagnosticInf... function report_anchor_conflict (line 2247) | fn report_anchor_conflict(cx: &DocContext<'_>, diag_info: DiagnosticInfo... function anchor_failure (line 2254) | fn anchor_failure( function disambiguator_error (line 2273) | fn disambiguator_error( function report_malformed_generics (line 2289) | fn report_malformed_generics( function ambiguity_error (line 2328) | fn ambiguity_error( function suggest_disambiguator (line 2412) | fn suggest_disambiguator( function privacy_error (line 2442) | fn privacy_error(cx: &DocContext<'_>, diag_info: &DiagnosticInfo<'_>, pa... function resolve_primitive (line 2468) | fn resolve_primitive(path_str: &str, ns: Namespace) -> Option { FILE: src/librustdoc/passes/collect_trait_impls.rs constant COLLECT_TRAIT_IMPLS (line 18) | pub(crate) const COLLECT_TRAIT_IMPLS: Pass = Pass { function collect_trait_impls (line 24) | pub(crate) fn collect_trait_impls(mut krate: Crate, cx: &mut DocContext<... type SyntheticImplCollector (line 221) | struct SyntheticImplCollector<'a, 'tcx> { function visit_item (line 227) | fn visit_item(&mut self, i: &Item) { type ItemAndAliasCollector (line 242) | struct ItemAndAliasCollector<'cache> { function new (line 248) | fn new(cache: &'cache Cache) -> Self { function visit_item (line 254) | fn visit_item(&mut self, i: &Item) { type BadImplStripper (line 267) | struct BadImplStripper<'a> { function keep_impl (line 274) | fn keep_impl(&self, ty: &Type, is_deref: bool) -> bool { function keep_impl_with_def_id (line 287) | fn keep_impl_with_def_id(&self, item_id: ItemId) -> bool { FILE: src/librustdoc/passes/lint.rs constant RUN_LINTS (line 15) | pub(crate) const RUN_LINTS: Pass = type Linter (line 18) | struct Linter<'a, 'tcx> { function run_lints (line 22) | pub(crate) fn run_lints(krate: Crate, cx: &mut DocContext<'_>) -> Crate { function visit_item (line 28) | fn visit_item(&mut self, item: &Item) { FILE: src/librustdoc/passes/lint/bare_urls.rs function visit_item (line 19) | pub(super) fn visit_item(cx: &DocContext<'_>, item: &Item, hir_id: HirId... function find_raw_urls (line 91) | fn find_raw_urls( FILE: src/librustdoc/passes/lint/check_code_block_syntax.rs function visit_item (line 21) | pub(crate) fn visit_item(cx: &DocContext<'_>, item: &clean::Item, dox: &... function check_rust_syntax (line 31) | fn check_rust_syntax( type Buffer (line 162) | struct Buffer { type BufferEmitter (line 167) | struct BufferEmitter { method emit_diagnostic (line 172) | fn emit_diagnostic(&mut self, diag: DiagInner) { method source_map (line 183) | fn source_map(&self) -> Option<&SourceMap> { FILE: src/librustdoc/passes/lint/html_tags.rs function visit_item (line 17) | pub(crate) fn visit_item(cx: &DocContext<'_>, item: &Item, hir_id: HirId... constant ALLOWED_UNCLOSED (line 187) | const ALLOWED_UNCLOSED: &[&str] = &[ function is_implicitly_self_closing (line 193) | fn is_implicitly_self_closing(tag_name: &str) -> bool { function extract_path_backwards (line 197) | fn extract_path_backwards(text: &str, end_pos: usize) -> Option { function extract_path_forward (line 221) | fn extract_path_forward(text: &str, start_pos: usize) -> Option { function is_valid_for_html_tag_name (line 249) | fn is_valid_for_html_tag_name(c: char, is_empty: bool) -> bool { type TagParser (line 259) | struct TagParser { method new (line 279) | fn new() -> Self { method drop_tag (line 292) | fn drop_tag(&mut self, range: Range, f: &impl Fn(String, &Range... method handle_lt_in_tag (line 324) | fn handle_lt_in_tag( method extract_html_tag (line 345) | fn extract_html_tag( method extract_opening_tag (line 414) | fn extract_opening_tag( method tag_parsed (line 485) | fn tag_parsed(&mut self) { method extract_tags (line 491) | fn extract_tags( FILE: src/librustdoc/passes/lint/html_tags/tests.rs function test_extract_tags_nested_unclosed (line 6) | fn test_extract_tags_nested_unclosed() { function test_extract_tags_taglike_in_attr (line 18) | fn test_extract_tags_taglike_in_attr() { function test_extract_tags_taglike_in_multiline_attr (line 29) | fn test_extract_tags_taglike_in_multiline_attr() { function test_extract_tags_taglike_in_multievent_attr (line 40) | fn test_extract_tags_taglike_in_multievent_attr() { function test_extract_tags_taglike_in_multiline_multievent_attr (line 56) | fn test_extract_tags_taglike_in_multiline_multievent_attr() { FILE: src/librustdoc/passes/lint/redundant_explicit_links.rs type LinkData (line 21) | struct LinkData { function visit_item (line 27) | pub(crate) fn visit_item(cx: &DocContext<'_>, item: &Item, hir_id: HirId) { function check_redundant_explicit_link_for_did (line 38) | fn check_redundant_explicit_link_for_did( function check_redundant_explicit_link (line 77) | fn check_redundant_explicit_link<'md>( function check_inline_or_reference_unknown_redundancy (line 146) | fn check_inline_or_reference_unknown_redundancy( function check_reference_redundancy (line 246) | fn check_reference_redundancy( function find_resolution (line 350) | fn find_resolution(resolutions: &DocLinkResMap, path: &str) -> Option>( function offset_explicit_range (line 401) | fn offset_explicit_range(md: &str, link_range: Range, open: u8, c... function offset_reference_def_range (line 441) | fn offset_reference_def_range( FILE: src/librustdoc/passes/lint/unescaped_backticks.rs function visit_item (line 15) | pub(crate) fn visit_item(cx: &DocContext<'_>, item: &Item, hir_id: HirId... type PrevCodeGuess (line 236) | enum PrevCodeGuess { method is_confident (line 261) | fn is_confident(&self) -> bool { type Element (line 275) | struct Element { method new (line 291) | const fn new(element_range: Range) -> Self { function guess_start_of_code (line 302) | fn guess_start_of_code(dox: &str, range: Range) -> Option { function guess_end_of_code (line 332) | fn guess_end_of_code(dox: &str, range: Range) -> Option { function can_suggest_backtick (line 374) | fn can_suggest_backtick(dox: &str, index: usize) -> bool { function clamp_start (line 382) | fn clamp_start(index: usize, ranges: &[Range]) -> Option { function clamp_end (line 397) | fn clamp_end(index: usize, ranges: &[Range]) -> Option { function suggest_insertion (line 412) | fn suggest_insertion( FILE: src/librustdoc/passes/mod.rs type Pass (line 48) | pub(crate) struct Pass { type ConditionalPass (line 56) | pub(crate) struct ConditionalPass { method always (line 110) | pub(crate) const fn always(pass: Pass) -> Self { method new (line 114) | pub(crate) const fn new(pass: Pass, condition: Condition) -> Self { type Condition (line 63) | pub(crate) enum Condition { constant PASSES (line 74) | pub(crate) const PASSES: &[Pass] = &[ constant DEFAULT_PASSES (line 89) | pub(crate) const DEFAULT_PASSES: &[ConditionalPass] = &[ constant COVERAGE_PASSES (line 103) | pub(crate) const COVERAGE_PASSES: &[ConditionalPass] = &[ function defaults (line 120) | pub(crate) fn defaults(show_coverage: bool) -> &'static [ConditionalPass] { FILE: src/librustdoc/passes/propagate_doc_cfg.rs constant PROPAGATE_DOC_CFG (line 13) | pub(crate) const PROPAGATE_DOC_CFG: Pass = Pass { function propagate_doc_cfg (line 19) | pub(crate) fn propagate_doc_cfg(cr: Crate, cx: &mut DocContext<'_>) -> C... type CfgPropagator (line 28) | struct CfgPropagator<'a, 'tcx> { function add_only_cfg_attributes (line 39) | fn add_only_cfg_attributes(attrs: &mut Vec, new_attrs: &[Attr... function merge_with_parent_attributes (line 57) | fn merge_with_parent_attributes(&mut self, item: &mut Item) { method fold_item (line 84) | fn fold_item(&mut self, mut item: Item) -> Option { FILE: src/librustdoc/passes/propagate_stability.rs constant PROPAGATE_STABILITY (line 17) | pub(crate) const PROPAGATE_STABILITY: Pass = Pass { function propagate_stability (line 23) | pub(crate) fn propagate_stability(cr: Crate, cx: &mut DocContext<'_>) ->... type StabilityPropagator (line 28) | struct StabilityPropagator<'a, 'tcx> { method fold_item (line 34) | fn fold_item(&mut self, mut item: Item) -> Option { function merge_stability (line 131) | fn merge_stability( FILE: src/librustdoc/passes/strip_aliased_non_local.rs constant STRIP_ALIASED_NON_LOCAL (line 9) | pub(crate) const STRIP_ALIASED_NON_LOCAL: Pass = Pass { function strip_aliased_non_local (line 15) | fn strip_aliased_non_local(krate: clean::Crate, cx: &mut DocContext<'_>)... type AliasedNonLocalStripper (line 20) | struct AliasedNonLocalStripper<'tcx> { method fold_item (line 25) | fn fold_item(&mut self, i: Item) -> Option { type NonLocalStripper (line 38) | struct NonLocalStripper<'tcx> { method fold_item (line 43) | fn fold_item(&mut self, i: Item) -> Option { FILE: src/librustdoc/passes/strip_hidden.rs constant STRIP_HIDDEN (line 16) | pub(crate) const STRIP_HIDDEN: Pass = Pass { function strip_hidden (line 23) | pub(crate) fn strip_hidden(krate: clean::Crate, cx: &mut DocContext<'_>)... type Stripper (line 51) | struct Stripper<'a, 'tcx> { function set_last_reexport_then_fold_item (line 60) | fn set_last_reexport_then_fold_item(&mut self, i: Item) -> Item { function set_is_in_hidden_item_and_fold (line 70) | fn set_is_in_hidden_item_and_fold(&mut self, is_in_hidden_item: bool, i:... function recurse_in_impl_or_exported_macro (line 80) | fn recurse_in_impl_or_exported_macro(&mut self, i: Item) -> Item { method fold_item (line 89) | fn fold_item(&mut self, i: Item) -> Option { FILE: src/librustdoc/passes/strip_priv_imports.rs constant STRIP_PRIV_IMPORTS (line 9) | pub(crate) const STRIP_PRIV_IMPORTS: Pass = Pass { function strip_priv_imports (line 15) | pub(crate) fn strip_priv_imports(krate: clean::Crate, cx: &mut DocContex... FILE: src/librustdoc/passes/strip_private.rs constant STRIP_PRIVATE (line 9) | pub(crate) const STRIP_PRIVATE: Pass = Pass { function strip_private (line 18) | pub(crate) fn strip_private(mut krate: clean::Crate, cx: &mut DocContext... FILE: src/librustdoc/passes/stripper.rs type Stripper (line 15) | pub(crate) struct Stripper<'a, 'tcx> { function is_item_reachable (line 27) | fn is_item_reachable( method fold_item (line 41) | fn fold_item(&mut self, i: Item) -> Option { type ImplStripper (line 176) | pub(crate) struct ImplStripper<'a, 'tcx> { function should_keep_impl (line 187) | fn should_keep_impl(&self, item: &Item, for_def_id: DefId) -> bool { method fold_item (line 208) | fn fold_item(&mut self, i: Item) -> Option { type ImportStripper (line 267) | pub(crate) struct ImportStripper<'tcx> { function import_should_be_hidden (line 274) | fn import_should_be_hidden(&self, i: &Item, imp: &clean::Import) -> bool { method fold_item (line 285) | fn fold_item(&mut self, i: Item) -> Option { FILE: src/librustdoc/scrape_examples.rs type ScrapeExamplesOptions (line 25) | pub(crate) struct ScrapeExamplesOptions { method new (line 32) | pub(crate) fn new(matches: &getopts::Matches, dcx: DiagCtxtHandle<'_>)... type SyntaxRange (line 60) | pub(crate) struct SyntaxRange { method new (line 66) | fn new(span: rustc_span::Span, file: &SourceFile) -> Option { type CallLocation (line 78) | pub(crate) struct CallLocation { method new (line 85) | fn new( type CallData (line 100) | pub(crate) struct CallData { type FnCallLocations (line 108) | pub(crate) type FnCallLocations = FxIndexMap; type AllCallLocations (line 109) | pub(crate) type AllCallLocations = FxIndexMap { type NestedFilter (line 124) | type NestedFilter = nested_filter::OnlyBodies; function maybe_tcx (line 126) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function visit_expr (line 130) | fn visit_expr(&mut self, ex: &'tcx hir::Expr<'tcx>) { function run (line 272) | pub(crate) fn run( function load_call_locations (line 349) | pub(crate) fn load_call_locations( FILE: src/librustdoc/theme.rs type CssPath (line 13) | pub(crate) struct CssPath { function get_string (line 19) | fn get_string(iter: &mut Peekable>, string_start: char, buffer... function get_inside_paren (line 31) | fn get_inside_paren( function skip_comment (line 47) | fn skip_comment(iter: &mut Peekable>) { function skip_line_comment (line 56) | fn skip_line_comment(iter: &mut Peekable>) { function handle_common_chars (line 64) | fn handle_common_chars(c: char, buffer: &mut String, iter: &mut Peekable... function parse_property_name (line 80) | fn parse_property_name(iter: &mut Peekable>) -> Result>) -> (String, bool) { function parse_rules (line 118) | fn parse_rules( function parse_selectors (line 177) | pub(crate) fn parse_selectors( function load_css_paths (line 204) | pub(crate) fn load_css_paths(content: &str) -> Result>( FILE: src/librustdoc/theme/tests.rs function test_comments_in_rules (line 4) | fn test_comments_in_rules() { function test_text (line 52) | fn test_text() { function test_comparison (line 65) | fn test_comparison() { function check_empty_css (line 90) | fn check_empty_css() { function check_invalid_css (line 96) | fn check_invalid_css() { function test_with_minification (line 102) | fn test_with_minification() { function test_media (line 115) | fn test_media() { function test_css_variables (line 148) | fn test_css_variables() { function test_weird_rule_value (line 173) | fn test_weird_rule_value() { FILE: src/librustdoc/visit.rs type DocVisitor (line 9) | pub(crate) trait DocVisitor<'a>: Sized { method visit_item (line 10) | fn visit_item(&mut self, item: &'a Item) { method visit_inner_recur (line 15) | fn visit_inner_recur(&mut self, kind: &'a ItemKind) { method visit_item_recur (line 59) | fn visit_item_recur(&mut self, item: &'a Item) { method visit_mod (line 66) | fn visit_mod(&mut self, m: &'a Module) { method visit_crate (line 71) | fn visit_crate(&mut self, c: &'a Crate) { FILE: src/librustdoc/visit_ast.rs type Module (line 28) | pub(crate) struct Module<'hir> { function new (line 74) | pub(crate) fn new( function where_outer (line 94) | pub(crate) fn where_outer(&self, tcx: TyCtxt<'_>) -> Span { function def_id_to_path (line 100) | fn def_id_to_path(tcx: TyCtxt<'_>, did: DefId) -> Vec { type RustdocVisitor (line 106) | pub(crate) struct RustdocVisitor<'a, 'tcx> { function new (line 119) | pub(crate) fn new(cx: &'a mut core::DocContext<'tcx>) -> RustdocVisitor<... function store_path (line 143) | fn store_path(&mut self, did: DefId) { function visit (line 148) | pub(crate) fn visit(mut self) -> Module<'tcx> { function visit_mod_contents (line 188) | fn visit_mod_contents(&mut self, def_id: LocalDefId, m: &'tcx hir::Mod<'... function maybe_inline_local (line 224) | fn maybe_inline_local( function reexport_public_and_not_hidden (line 354) | fn reexport_public_and_not_hidden( function add_impl_to_current_mod (line 376) | fn add_impl_to_current_mod(&mut self, item: &'tcx hir::Item<'_>, impl_: ... function add_to_current_mod (line 389) | fn add_to_current_mod( function visit_item_inner (line 424) | fn visit_item_inner( function visit_foreign_item_inner (line 551) | fn visit_foreign_item_inner( function enter_mod (line 566) | fn enter_mod( type NestedFilter (line 586) | type NestedFilter = nested_filter::All; function maybe_tcx (line 588) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function visit_item (line 592) | fn visit_item(&mut self, i: &'tcx hir::Item<'tcx>) { function visit_mod (line 607) | fn visit_mod(&mut self, _: &hir::Mod<'tcx>, _: Span, _: hir::HirId) { function visit_use (line 611) | fn visit_use(&mut self, _: &hir::UsePath<'tcx>, _: hir::HirId) { function visit_path (line 615) | fn visit_path(&mut self, _: &hir::Path<'tcx>, _: hir::HirId) { function visit_label (line 619) | fn visit_label(&mut self, _: &rustc_ast::Label) { function visit_infer (line 623) | fn visit_infer( function visit_lifetime (line 632) | fn visit_lifetime(&mut self, _: &hir::Lifetime) { function visit_body (line 636) | fn visit_body(&mut self, b: &hir::Body<'tcx>) { FILE: src/librustdoc/visit_lib.rs type RustdocEffectiveVisibilities (line 10) | pub(crate) struct RustdocEffectiveVisibilities { function lib_embargo_visit_item (line 31) | pub(crate) fn lib_embargo_visit_item(cx: &mut DocContext<'_>, def_id: De... type LibEmbargoVisitor (line 45) | struct LibEmbargoVisitor<'a, 'tcx> { function visit_mod (line 55) | fn visit_mod(&mut self, def_id: DefId) { function visit_item (line 69) | fn visit_item(&mut self, def_id: DefId) { FILE: src/rustdoc-json-types/lib.rs type FxHashMap (line 103) | pub type FxHashMap = HashMap; constant FORMAT_VERSION (line 118) | pub const FORMAT_VERSION: u32 = 57; type Crate (line 128) | pub struct Crate { type Target (line 153) | pub struct Target { type TargetFeature (line 185) | pub struct TargetFeature { type ExternalCrate (line 211) | pub struct ExternalCrate { type ItemSummary (line 241) | pub struct ItemSummary { type Item (line 264) | pub struct Item { type Attribute (line 310) | pub enum Attribute { type AttributeRepr (line 356) | pub struct AttributeRepr { type ReprKind (line 378) | pub enum ReprKind { type Span (line 395) | pub struct Span { type Deprecation (line 409) | pub struct Deprecation { type Visibility (line 421) | pub enum Visibility { type DynTrait (line 445) | pub struct DynTrait { type PolyTrait (line 462) | pub struct PolyTrait { type GenericArgs (line 494) | pub enum GenericArgs { type GenericArg (line 526) | pub enum GenericArg { type Constant (line 557) | pub struct Constant { type AssocItemConstraint (line 589) | pub struct AssocItemConstraint { type AssocItemConstraintKind (line 604) | pub enum AssocItemConstraintKind { type Id (line 634) | pub struct Id(pub u32); type ItemKind (line 644) | pub enum ItemKind { type ItemEnum (line 721) | pub enum ItemEnum { method item_kind (line 841) | pub fn item_kind(&self) -> ItemKind { type Module (line 876) | pub struct Module { type Union (line 893) | pub struct Union { type Struct (line 912) | pub struct Struct { type StructKind (line 928) | pub enum StructKind { type Enum (line 966) | pub struct Enum { type Variant (line 983) | pub struct Variant { type VariantKind (line 995) | pub enum VariantKind { type Discriminant (line 1039) | pub struct Discriminant { type FunctionHeader (line 1059) | pub struct FunctionHeader { type Abi (line 1081) | pub enum Abi { type Function (line 1110) | pub struct Function { type Generics (line 1125) | pub struct Generics { type GenericParamDef (line 1136) | pub struct GenericParamDef { type GenericParamDefKind (line 1163) | pub enum GenericParamDefKind { type WherePredicate (line 1241) | pub enum WherePredicate { type GenericBound (line 1289) | pub enum GenericBound { type TraitBoundModifier (line 1321) | pub enum TraitBoundModifier { type PreciseCapturingArg (line 1338) | pub enum PreciseCapturingArg { type Term (line 1357) | pub enum Term { type Type (line 1393) | pub enum Type { type Path (line 1501) | pub struct Path { type FunctionPointer (line 1532) | pub struct FunctionPointer { type FunctionSignature (line 1550) | pub struct FunctionSignature { type Trait (line 1570) | pub struct Trait { type TraitAlias (line 1596) | pub struct TraitAlias { type Impl (line 1607) | pub struct Impl { type Use (line 1648) | pub struct Use { type ProcMacro (line 1667) | pub struct ProcMacro { type MacroKind (line 1693) | pub enum MacroKind { type TypeAlias (line 1706) | pub struct TypeAlias { type Static (line 1718) | pub struct Static { type Primitive (line 1750) | pub struct Primitive { FILE: src/rustdoc-json-types/tests.rs function test_struct_info_roundtrip (line 4) | fn test_struct_info_roundtrip() { function test_union_info_roundtrip (line 23) | fn test_union_info_roundtrip() { function test_rkyv_roundtrip (line 61) | fn test_rkyv_roundtrip() { function rkyv_roundtrip (line 129) | fn rkyv_roundtrip(value: &T) FILE: src/tools/build-manifest/build.rs type RustcTargets (line 6) | pub(crate) struct RustcTargets { function collect_rustc_targets (line 14) | fn collect_rustc_targets() -> RustcTargets { function main (line 51) | fn main() { FILE: src/tools/build-manifest/src/checksum.rs type Checksums (line 14) | pub(crate) struct Checksums { method new (line 20) | pub(crate) fn new() -> Result> { method store_cache (line 33) | pub(crate) fn store_cache(&self) -> Result<(), Box> { method fill_missing_checksums (line 40) | pub(crate) fn fill_missing_checksums(&mut self, manifest: &mut Manifes... method find_missing_checksums (line 48) | fn find_missing_checksums(&mut self, manifest: &mut Manifest) -> HashS... method replace_checksums (line 62) | fn replace_checksums(&mut self, manifest: &mut Manifest) { method collect_checksums (line 75) | fn collect_checksums(&mut self, files: &HashSet) { function hash (line 94) | fn hash(path: &Path) -> Result> { FILE: src/tools/build-manifest/src/main.rs function is_nightly_only (line 34) | fn is_nightly_only(pkg: &PkgType) -> bool { type Builder (line 60) | struct Builder { method build (line 103) | fn build(&mut self) { method build_manifest (line 148) | fn build_manifest(&mut self) -> Manifest { method add_packages_to (line 168) | fn add_packages_to(&mut self, manifest: &mut Manifest) { method add_artifacts_to (line 174) | fn add_artifacts_to(&mut self, manifest: &mut Manifest) { method add_profiles_to (line 195) | fn add_profiles_to(&mut self, manifest: &mut Manifest) { method add_renames_to (line 232) | fn add_renames_to(&self, manifest: &mut Manifest) { method rust_package (line 243) | fn rust_package(&mut self, manifest: &Manifest) -> Package { method target_host_combination (line 261) | fn target_host_combination(&mut self, host: &str, manifest: &Manifest)... method profile (line 352) | fn profile( method extend_profile (line 364) | fn extend_profile( method package (line 375) | fn package(&mut self, pkg: &PkgType, dst: &mut BTreeMap String { method write_channel_files (line 452) | fn write_channel_files(&mut self, channel_name: &str, manifest: &Manif... method write (line 462) | fn write(&mut self, contents: &str, channel_name: &str, suffix: &str) { method write_shipped_files (line 470) | fn write_shipped_files(&self, path: &Path) { function main (line 71) | fn main() { FILE: src/tools/build-manifest/src/manifest.rs type Manifest (line 11) | pub(crate) struct Manifest { method add_artifact (line 21) | pub(crate) fn add_artifact(&mut self, name: &str, f: impl FnOnce(&mut ... type Package (line 29) | pub(crate) struct Package { type Rename (line 36) | pub(crate) struct Rename { type Artifact (line 41) | pub(crate) struct Artifact { method add_file (line 46) | pub(crate) fn add_file(&mut self, builder: &mut Builder, target: &str,... method add_tarball (line 55) | pub(crate) fn add_tarball(&mut self, builder: &mut Builder, target: &s... type ArtifactFile (line 71) | pub(crate) struct ArtifactFile { type Target (line 77) | pub(crate) struct Target { method from_compressed_tar (line 88) | pub(crate) fn from_compressed_tar(builder: &mut Builder, base_path: &s... method unavailable (line 110) | pub(crate) fn unavailable() -> Self { type Component (line 116) | pub(crate) struct Component { method from_pkg (line 122) | pub(crate) fn from_pkg(pkg: &PkgType, target: &str) -> Self { type FileHash (line 128) | pub(crate) enum FileHash { method serialize (line 134) | fn serialize(&self, serializer: S) -> Result Opt... function record_shipped_file (line 151) | fn record_shipped_file(builder: &mut Builder, path: PathBuf) -> Option String { method should_use_rust_version (line 105) | fn should_use_rust_version(&self) -> bool { method targets (line 132) | pub(crate) fn targets(&self) -> &[&str] { method target_independent (line 169) | fn target_independent(&self) -> bool { method use_docs_fallback (line 174) | pub(crate) fn use_docs_fallback(&self) -> bool { type VersionInfo (line 180) | pub(crate) struct VersionInfo { type Versions (line 186) | pub(crate) struct Versions { method new (line 193) | pub(crate) fn new(channel: &str, dist_path: &Path) -> Result &str { method version (line 201) | pub(crate) fn version(&mut self, mut package: &PkgType) -> Result Result Resul... method archive_name (line 279) | pub(crate) fn archive_name( method tarball_name (line 300) | pub(crate) fn tarball_name(&self, package: &PkgType, target: &str) -> ... method rustc_version (line 304) | pub(crate) fn rustc_version(&self) -> &str { FILE: src/tools/bump-stage0/src/main.rs constant PATH (line 9) | const PATH: &str = "src/stage0"; constant COMPILER_COMPONENTS (line 10) | const COMPILER_COMPONENTS: &[&str] = &["rustc", "rust-std", "cargo", "cl... constant RUSTFMT_COMPONENTS (line 11) | const RUSTFMT_COMPONENTS: &[&str] = &["rustfmt-preview", "rustc"]; type Tool (line 13) | struct Tool { method new (line 24) | fn new(compiler_date: Option, rustfmt_date: Option) ->... method update_stage0_file (line 53) | fn update_stage0_file(mut self) -> Result<(), Error> { method detect_compiler (line 126) | fn detect_compiler(&mut self) -> Result { method detect_rustfmt (line 163) | fn detect_rustfmt(&mut self) -> Result, Error> { method collect_checksums (line 183) | fn collect_checksums(&mut self, manifest: &Manifest, components: &[&st... function main (line 225) | fn main() -> Result<(), Error> { function fetch_manifest (line 231) | fn fetch_manifest( function http_get (line 255) | fn http_get(url: &str) -> Result, Error> { type Channel (line 272) | enum Channel { type Manifest (line 279) | struct Manifest { type ManifestPackage (line 286) | struct ManifestPackage { type ManifestTargetPackage (line 294) | struct ManifestTargetPackage { type ManifestArtifact (line 302) | struct ManifestArtifact { type ManifestTargetArtifact (line 308) | struct ManifestTargetArtifact { FILE: src/tools/cargotest/main.rs type Test (line 5) | struct Test { constant TEST_REPOS (line 17) | const TEST_REPOS: &[Test] = &[ function main (line 102) | fn main() { function test_repo (line 115) | fn test_repo(cargo: &Path, out_dir: &Path, test: &Test) { function clone_repo (line 127) | fn clone_repo(test: &Test, out_dir: &Path) -> PathBuf { function run_cargo_test (line 174) | fn run_cargo_test( FILE: src/tools/clippy/build.rs function main (line 1) | fn main() { FILE: src/tools/clippy/clippy_config/src/conf.rs constant DEFAULT_DOC_VALID_IDENTS (line 25) | const DEFAULT_DOC_VALID_IDENTS: &[&str] = &[ constant DEFAULT_DISALLOWED_NAMES (line 53) | const DEFAULT_DISALLOWED_NAMES: &[&str] = &["foo", "baz", "quux"]; constant DEFAULT_ALLOWED_IDENTS_BELOW_MIN_CHARS (line 54) | const DEFAULT_ALLOWED_IDENTS_BELOW_MIN_CHARS: &[&str] = &["i", "j", "x",... constant DEFAULT_ALLOWED_PREFIXES (line 55) | const DEFAULT_ALLOWED_PREFIXES: &[&str] = &["to", "as", "into", "from", ... constant DEFAULT_ALLOWED_TRAITS_WITH_RENAMED_PARAMS (line 56) | const DEFAULT_ALLOWED_TRAITS_WITH_RENAMED_PARAMS: &[&str] = constant DEFAULT_MODULE_ITEM_ORDERING_GROUPS (line 58) | const DEFAULT_MODULE_ITEM_ORDERING_GROUPS: &[(&str, &[SourceItemOrdering... constant DEFAULT_TRAIT_ASSOC_ITEM_KINDS_ORDER (line 71) | const DEFAULT_TRAIT_ASSOC_ITEM_KINDS_ORDER: &[SourceItemOrderingTraitAss... constant DEFAULT_SOURCE_ITEM_ORDERING (line 76) | const DEFAULT_SOURCE_ITEM_ORDERING: &[SourceItemOrderingCategory] = { type TryConf (line 84) | struct TryConf { method from_toml_error (line 92) | fn from_toml_error(file: &SourceFile, error: &toml::de::Error) -> Self { type ConfError (line 103) | struct ConfError { method from_toml (line 110) | fn from_toml(file: &SourceFile, error: &toml::de::Error) -> Self { method spanned (line 115) | fn spanned( function sanitize_explanation (line 130) | pub fn sanitize_explanation(raw_docs: &str) -> String { function union (line 328) | fn union(x: &Range, y: &Range) -> Range { function span_from_toml_range (line 335) | fn span_from_toml_range(file: &SourceFile, span: Range) -> Span { function lookup_conf_file (line 928) | pub fn lookup_conf_file() -> io::Result<(Option, Vec)> { function deserialize (line 976) | fn deserialize(file: &SourceFile) -> TryConf { function extend_vec_if_indicator_present (line 1033) | fn extend_vec_if_indicator_present(vec: &mut Vec, default: &[&st... method read (line 1040) | pub fn read(sess: &Session, path: &io::Result<(Option, Vec, Vec(msg: T) -> Self { method unknown_field (line 1131) | fn unknown_field(field: &str, expected: &'static [&'static str]) -> Se... type Suggestion (line 1110) | struct Suggestion { method fmt (line 1118) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function calculate_dimensions (line 1176) | fn calculate_dimensions(fields: &[&str]) -> (usize, Vec) { function suggest_candidate (line 1210) | fn suggest_candidate<'a, I>(value: &str, candidates: I) -> Option<&'a str> function configs_are_tested (line 1232) | fn configs_are_tested() { FILE: src/tools/clippy/clippy_config/src/metadata.rs type ClippyConfiguration (line 5) | pub struct ClippyConfiguration { method fmt (line 14) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method to_markdown_paragraph (line 24) | pub fn to_markdown_paragraph(&self) -> String { method to_markdown_link (line 36) | pub fn to_markdown_link(&self) -> String { FILE: src/tools/clippy/clippy_config/src/types.rs type Rename (line 16) | pub struct Rename { type DisallowedPathWithoutReplacement (line 21) | pub type DisallowedPathWithoutReplacement = DisallowedPath; type DisallowedPath (line 24) | pub struct DisallowedPath { function deserialize (line 42) | fn deserialize(deserializer: D) -> Result type DisallowedPathEnum (line 64) | enum DisallowedPathEnum { method path (line 105) | pub fn path(&self) -> &str { method reason (line 111) | fn reason(&self) -> Option<&str> { method replacement (line 118) | fn replacement(&self) -> Option<&str> { method allow_invalid (line 125) | fn allow_invalid(&self) -> bool { function path (line 76) | pub fn path(&self) -> &str { function diag_amendment (line 80) | pub fn diag_amendment(&self, span: Span) -> impl FnOnce(&mut Diag<'_, ()... function span (line 95) | pub fn span(&self) -> Span { function set_span (line 99) | pub fn set_span(&mut self, span: Span) { function create_disallowed_map (line 135) | pub fn create_disallowed_map( type MatchLintBehaviour (line 199) | pub enum MatchLintBehaviour { type MacroMatcher (line 206) | pub struct MacroMatcher { method deserialize (line 212) | fn deserialize(deser: D) -> Result type SourceItemOrderingCategory (line 273) | pub enum SourceItemOrderingCategory { type SourceItemOrdering (line 285) | pub struct SourceItemOrdering(Vec); method contains (line 288) | pub fn contains(&self, category: &SourceItemOrderingCategory) -> bool { method from (line 297) | fn from(value: T) -> Self { method fmt (line 303) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method deserialize (line 309) | fn deserialize(deserializer: D) -> Result method serialize (line 330) | fn serialize(&self, serializer: S) -> Result type SourceItemOrderingModuleItemKind (line 341) | pub enum SourceItemOrderingModuleItemKind { method all_variants (line 361) | pub fn all_variants() -> Vec { type SourceItemOrderingModuleItemGroupings (line 390) | pub struct SourceItemOrderingModuleItemGroupings { method build_lut (line 397) | fn build_lut( method build_back_lut (line 409) | fn build_back_lut( method grouping_name_of (line 421) | pub fn grouping_name_of(&self, item: &SourceItemOrderingModuleItemKind... method grouping_names (line 425) | pub fn grouping_names(&self) -> Vec { method is_grouping (line 429) | pub fn is_grouping(&self, grouping: &str) -> bool { method module_level_order_of (line 433) | pub fn module_level_order_of(&self, item: &SourceItemOrderingModuleIte... method from (line 439) | fn from(value: &[(&str, &[SourceItemOrderingModuleItemKind])]) -> Self { method fmt (line 449) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method deserialize (line 455) | fn deserialize(deserializer: D) -> Result method serialize (line 502) | fn serialize(&self, serializer: S) -> Result type SourceItemOrderingTraitAssocItemKind (line 513) | pub enum SourceItemOrderingTraitAssocItemKind { method all_variants (line 520) | pub fn all_variants() -> Vec { type SourceItemOrderingTraitAssocItemKinds (line 535) | pub struct SourceItemOrderingTraitAssocItemKinds(Vec... method from (line 547) | fn from(value: T) -> Self { method fmt (line 553) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method deserialize (line 559) | fn deserialize(deserializer: D) -> Result method serialize (line 589) | fn serialize(&self, serializer: S) -> Result type SourceItemOrderingWithinModuleItemGroupings (line 605) | pub enum SourceItemOrderingWithinModuleItemGroupings { method ordered_within (line 617) | pub fn ordered_within(&self, grouping_name: &String) -> bool { method deserialize (line 635) | fn deserialize(deserializer: D) -> Result type StringOrVecOfString (line 629) | enum StringOrVecOfString { method serialize (line 662) | fn serialize(&self, serializer: S) -> Result type PubUnderscoreFieldsBehaviour (line 697) | pub enum PubUnderscoreFieldsBehaviour { type InherentImplLintScope (line 704) | pub enum InherentImplLintScope { FILE: src/tools/clippy/clippy_dev/src/deprecate_lint.rs function deprecate (line 17) | pub fn deprecate<'cx>(cx: ParseCx<'cx>, clippy_version: Version, name: &... function uplift (line 64) | pub fn uplift<'cx, 'env: 'cx>(cx: ParseCx<'cx>, clippy_version: Version,... function remove_lint_declaration (line 116) | fn remove_lint_declaration(name: &str, path: &Path, lints: &mut Vec(cx: ParseCx<'cx>, clippy_version: Versi... function uplift (line 47) | pub fn uplift<'cx, 'env: 'cx>(cx: ParseCx<'cx>, clippy_version: Version,... function rename (line 96) | pub fn rename<'cx, 'env: 'cx>(cx: ParseCx<'cx>, clippy_version: Version,... function remove_lint_declaration (line 163) | fn remove_lint_declaration(name: &str, lint: &ActiveLint<'_>, data: &Lin... function update_rename_targets (line 197) | fn update_rename_targets<'cx>(data: &mut LintData<'cx>, old_name: &str, ... function create_ignored_prefixes (line 209) | fn create_ignored_prefixes<'cx>(name: &str, data: &LintData<'cx>) -> Vec... function collect_ui_test_names (line 217) | fn collect_ui_test_names(lint: &str, ignored_prefixes: &[&str], dst: &mu... function collect_ui_toml_test_names (line 233) | fn collect_ui_toml_test_names(lint: &str, ignored_prefixes: &[&str], dst... function rename_test_files (line 250) | fn rename_test_files(old_name: &str, new_name: &str, ignored_prefixes: &... function delete_test_files (line 285) | fn delete_test_files(lint: &str, ignored_prefixes: &[&str]) { function snake_to_pascal (line 312) | fn snake_to_pascal(s: &str) -> String { function uplift_update_fn (line 331) | fn uplift_update_fn<'a>( function rename_update_fn (line 368) | fn rename_update_fn<'a>( FILE: src/tools/clippy/clippy_dev/src/fmt.rs type Error (line 17) | pub enum Error { method from (line 24) | fn from(error: io::Error) -> Self { method display (line 30) | fn display(&self) { type ClippyConf (line 45) | struct ClippyConf<'a> { function offset_to_line (line 52) | fn offset_to_line(text: &str, offset: usize) -> usize { function fmt_conf (line 67) | fn fmt_conf(check: bool) -> Result<(), Error> { function fmt_syms (line 235) | fn fmt_syms(update_mode: UpdateMode) { function run_rustfmt (line 266) | fn run_rustfmt(update_mode: UpdateMode) { function run (line 331) | pub fn run(update_mode: UpdateMode) { FILE: src/tools/clippy/clippy_dev/src/generate.rs constant GENERATED_FILE_COMMENT (line 10) | const GENERATED_FILE_COMMENT: &str = "// This file was generated by `car... constant DOCS_LINK (line 14) | const DOCS_LINK: &str = "https://rust-lang.github.io/rust-clippy/master/... function gen_decls (line 18) | pub fn gen_decls(&self, update_mode: UpdateMode) { function gen_mac (line 196) | pub fn gen_mac(&self, dst: &mut String) { function write_comment_lines (line 225) | fn write_comment_lines(s: &str, prefix: &str, dst: &mut String) -> bool { type ListFmt (line 238) | enum ListFmt { function write_list (line 243) | fn write_list<'a>( function gen_sorted_lints_file (line 263) | pub fn gen_sorted_lints_file( FILE: src/tools/clippy/clippy_dev/src/lint.rs function run (line 10) | pub fn run<'a>(path: &str, edition: &str, args: impl Iterator Result { type Dev (line 112) | struct Dev { type DevCommand (line 118) | enum DevCommand { type SetupCommand (line 269) | struct SetupCommand { type SetupSubcommand (line 275) | enum SetupSubcommand { type RemoveCommand (line 329) | struct RemoveCommand { type RemoveSubcommand (line 335) | enum RemoveSubcommand { type SyncCommand (line 345) | struct SyncCommand { type SyncSubcommand (line 351) | enum SyncSubcommand { type ReleaseCommand (line 358) | struct ReleaseCommand { type ReleaseSubcommand (line 364) | enum ReleaseSubcommand { FILE: src/tools/clippy/clippy_dev/src/new_lint.rs type Pass (line 11) | pub enum Pass { method fmt (line 17) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type LintData (line 25) | struct LintData<'a> { type Context (line 33) | trait Context { method context (line 34) | fn context>(self, text: C) -> Self; method context (line 38) | fn context>(self, text: C) -> Self { function create (line 54) | pub fn create( function create_lint (line 93) | fn create_lint(lint: &LintData<'_>, enable_msrv: bool) -> io::Result<()> { function create_test (line 106) | fn create_test(lint: &LintData<'_>, msrv: bool) -> io::Result<()> { function add_lint (line 156) | fn add_lint(lint: &LintData<'_>, enable_msrv: bool) -> io::Result<()> { function write_file (line 180) | fn write_file, C: AsRef<[u8]>>(path: P, contents: C) -> i... function to_camel_case (line 192) | fn to_camel_case(name: &str) -> String { function get_test_file_contents (line 204) | fn get_test_file_contents(lint_name: &str, msrv: bool) -> String { function get_manifest_contents (line 238) | fn get_manifest_contents(lint_name: &str, hint: &str) -> String { function get_lint_file_contents (line 253) | fn get_lint_file_contents(lint: &LintData<'_>, enable_msrv: bool) -> Str... function get_lint_declaration (line 340) | fn get_lint_declaration(version: Version, name_upper: &str, category: &s... function create_lint_for_ty (line 370) | fn create_lint_for_ty(lint: &LintData<'_>, enable_msrv: bool, ty: &str) ... function setup_mod_file (line 448) | fn setup_mod_file(path: &Path, lint: &LintData<'_>) -> io::Result<&'stat... function parse_mod_file (line 519) | fn parse_mod_file(path: &Path, contents: &str) -> (&'static str, usize) { function test_camel_case (line 550) | fn test_camel_case() { FILE: src/tools/clippy/clippy_dev/src/parse.rs type ParseCxImpl (line 13) | pub struct ParseCxImpl<'cx> { type ParseCx (line 18) | pub type ParseCx<'cx> = &'cx mut ParseCxImpl<'cx>; function new_parse_cx (line 21) | pub fn new_parse_cx<'env, T>(f: impl for<'cx> FnOnce(&'cx mut Scoped<'cx... type StrBuf (line 31) | pub struct StrBuf(String); method with_capacity (line 34) | pub fn with_capacity(cap: usize) -> Self { method alloc_display (line 39) | pub fn alloc_display<'cx>(&mut self, arena: &'cx DroplessArena, value:... method alloc_ascii_lower (line 47) | pub fn alloc_ascii_lower<'cx>(&mut self, arena: &'cx DroplessArena, s:... method alloc_replaced (line 56) | pub fn alloc_replaced<'cx>( method with (line 81) | pub fn with(&mut self, f: impl FnOnce(&mut String) -> T) -> T { type VecBuf (line 87) | pub struct VecBuf(Vec); function with_capacity (line 90) | pub fn with_capacity(cap: usize) -> Self { function with (line 95) | pub fn with(&mut self, f: impl FnOnce(&mut Vec) -> R) -> R { type LintTool (line 102) | pub enum LintTool { method prefix (line 108) | pub fn prefix(self) -> &'static str { type LintName (line 117) | pub struct LintName<'cx> { function new_rustc (line 122) | pub fn new_rustc(name: &'cx str) -> Self { function new_clippy (line 129) | pub fn new_clippy(name: &'cx str) -> Self { method fmt (line 137) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ActiveLint (line 143) | pub struct ActiveLint<'cx> { type DeprecatedLint (line 150) | pub struct DeprecatedLint<'cx> { type RenamedLint (line 155) | pub struct RenamedLint<'cx> { type Lint (line 160) | pub enum Lint<'cx> { type LintPassMac (line 167) | pub enum LintPassMac { method name (line 172) | pub fn name(self) -> &'static str { type LintPass (line 180) | pub struct LintPass<'cx> { type LintData (line 192) | pub struct LintData<'cx> { function split_by_lint_file (line 198) | pub fn split_by_lint_file<'s>( function parse_lint_decls (line 224) | pub fn parse_lint_decls(&mut self) -> LintData<'cx> { function parse_lint_src_file (line 279) | fn parse_lint_src_file(&mut self, path: &Path, contents: &str, module: &... function read_deprecated_lints (line 390) | fn read_deprecated_lints(&mut self, data: &mut LintData<'cx>) { function parse_str_lit (line 462) | fn parse_str_lit(&mut self, s: &str) -> &'cx str { function parse_str_single_line (line 487) | fn parse_str_single_line(&mut self, path: &Path, s: &str) -> &'cx str { function parse_clippy_lint_name (line 497) | fn parse_clippy_lint_name(&mut self, path: &Path, s: &str) -> &'cx str { function parse_lint_name (line 507) | fn parse_lint_name(&mut self, path: &Path, s: &str) -> LintName<'cx> { FILE: src/tools/clippy/clippy_dev/src/parse/cursor.rs type Pat (line 11) | pub enum Pat<'a> { type Capture (line 39) | pub struct Capture { constant EMPTY (line 44) | pub const EMPTY: Self = Self { pos: 0, len: 0 }; type Cursor (line 48) | pub struct Cursor<'txt> { function new (line 56) | pub fn new(text: &'txt str) -> Self { function get_text (line 68) | pub fn get_text(&self, capture: Capture) -> &'txt str { function peek_text (line 75) | pub fn peek_text(&self) -> &'txt str { function peek_len (line 81) | pub fn peek_len(&self) -> u32 { function peek (line 88) | pub fn peek(&self) -> TokenKind { function pos (line 95) | pub fn pos(&self) -> u32 { function at_end (line 101) | pub fn at_end(&self) -> bool { function step (line 107) | pub fn step(&mut self) { function match_impl (line 119) | fn match_impl(&mut self, pat: Pat<'_>, captures: &mut slice::IterMut<'_,... function find_ident (line 247) | pub fn find_ident(&mut self, ident: &str) -> Option { function find_any_ident (line 266) | pub fn find_any_ident(&mut self) -> Option { function match_ident (line 285) | pub fn match_ident(&mut self, s: &str) -> Option { function capture_ident (line 301) | pub fn capture_ident(&mut self) -> Option { function find_pat (line 322) | pub fn find_pat(&mut self, pat: Pat<'_>) -> bool { function match_all (line 343) | pub fn match_all(&mut self, pats: &[Pat<'_>], captures: &mut [Capture]) ... function match_pat (line 354) | pub fn match_pat(&mut self, pat: Pat<'_>) -> bool { FILE: src/tools/clippy/clippy_dev/src/release.rs function bump_version (line 12) | pub fn bump_version(mut version: Version) { FILE: src/tools/clippy/clippy_dev/src/serve.rs constant PYTHON (line 11) | const PYTHON: &str = "python"; constant PYTHON (line 14) | const PYTHON: &str = "python3"; function run (line 19) | pub fn run(port: u16, lint: Option) -> ! { function log_err_and_continue (line 61) | fn log_err_and_continue(res: Result, path: &Path) ->... function mtime (line 71) | fn mtime(path: &str) -> SystemTime { function is_metadata_outdated (line 77) | fn is_metadata_outdated(time: SystemTime) -> bool { FILE: src/tools/clippy/clippy_dev/src/setup/git_hook.rs constant REPO_GIT_DIR (line 8) | const REPO_GIT_DIR: &str = ".git"; constant HOOK_SOURCE_FILE (line 9) | const HOOK_SOURCE_FILE: &str = "util/etc/pre-commit.sh"; constant HOOK_TARGET_FILE (line 10) | const HOOK_TARGET_FILE: &str = ".git/hooks/pre-commit"; function install_hook (line 12) | pub fn install_hook(force_override: bool) { function check_precondition (line 35) | fn check_precondition(force_override: bool) -> bool { function remove_hook (line 58) | pub fn remove_hook() { function delete_git_hook_file (line 69) | fn delete_git_hook_file(path: &Path) -> bool { FILE: src/tools/clippy/clippy_dev/src/setup/intellij.rs constant RUSTC_PATH_SECTION (line 11) | const RUSTC_PATH_SECTION: &str = "[target.'cfg(NOT_A_PLATFORM)'.dependen... constant DEPENDENCIES_SECTION (line 12) | const DEPENDENCIES_SECTION: &str = "[dependencies]"; constant CLIPPY_PROJECTS (line 14) | const CLIPPY_PROJECTS: &[ClippyProjectInfo] = &[ type ClippyProjectInfo (line 21) | struct ClippyProjectInfo { method new (line 29) | const fn new(name: &'static str, cargo_file: &'static str, lib_rs_file... function setup_rustc_src (line 38) | pub fn setup_rustc_src(rustc_path: &str) { function check_and_get_rustc_dir (line 52) | fn check_and_get_rustc_dir(rustc_path: &str) -> Result { function inject_deps_into_project (line 84) | fn inject_deps_into_project(rustc_source_dir: &Path, project: &ClippyPro... function read_project_file (line 102) | fn read_project_file(file_path: &str) -> Result { function inject_deps_into_manifest (line 118) | fn inject_deps_into_manifest( function remove_rustc_src (line 167) | pub fn remove_rustc_src() { function remove_rustc_src_from_project (line 173) | fn remove_rustc_src_from_project(project: &ClippyProjectInfo) -> bool { FILE: src/tools/clippy/clippy_dev/src/setup/toolchain.rs function create (line 9) | pub fn create(standalone: bool, force: bool, release: bool, name: &str) { function install_bin (line 60) | fn install_bin(bin: &str, dest: &Path, standalone: bool, release: bool) { FILE: src/tools/clippy/clippy_dev/src/setup/vscode.rs constant VSCODE_DIR (line 4) | const VSCODE_DIR: &str = ".vscode"; constant TASK_SOURCE_FILE (line 5) | const TASK_SOURCE_FILE: &str = "util/etc/vscode-tasks.json"; constant TASK_TARGET_FILE (line 6) | const TASK_TARGET_FILE: &str = ".vscode/tasks.json"; function install_tasks (line 8) | pub fn install_tasks(force_override: bool) { function check_install_precondition (line 22) | fn check_install_precondition(force_override: bool) -> bool { function remove_tasks (line 56) | pub fn remove_tasks() { function delete_vs_task_file (line 68) | fn delete_vs_task_file(path: &Path) -> bool { function try_delete_vs_directory_if_empty (line 79) | fn try_delete_vs_directory_if_empty() { FILE: src/tools/clippy/clippy_dev/src/sync.rs function update_nightly (line 5) | pub fn update_nightly() { FILE: src/tools/clippy/clippy_dev/src/utils.rs type Scoped (line 16) | pub struct Scoped<'inner, 'outer: 'inner, T>(T, PhantomData<&'inner mut ... function new (line 18) | pub fn new(value: T) -> Self { type Target (line 23) | type Target = T; method deref (line 24) | fn deref(&self) -> &Self::Target { method deref_mut (line 29) | fn deref_mut(&mut self) -> &mut Self::Target { type ErrAction (line 35) | pub enum ErrAction { method as_str (line 45) | fn as_str(self) -> &'static str { function panic_action (line 60) | pub fn panic_action(err: &impl Display, action: ErrAction, path: &Path) ... function expect_action (line 65) | pub fn expect_action(res: Result, action: ErrAction,... type File (line 73) | pub struct File<'a> { function open (line 80) | pub fn open(path: &'a (impl AsRef + ?Sized), options: &mut OpenOpt... function open_if_exists (line 90) | pub fn open_if_exists(path: &'a (impl AsRef + ?Sized), options: &m... function open_read_to_cleared_string (line 101) | pub fn open_read_to_cleared_string<'dst>( function read_append_to_string (line 110) | pub fn read_append_to_string<'dst>(&mut self, dst: &'dst mut String) -> ... function read_to_cleared_string (line 116) | pub fn read_to_cleared_string<'dst>(&mut self, dst: &'dst mut String) ->... function replace_contents (line 123) | pub fn replace_contents(&mut self, data: &[u8]) { function cargo_cmd (line 137) | pub fn cargo_cmd() -> Command { type Version (line 146) | pub struct Version { method rust_display (line 167) | pub fn rust_display(self) -> impl Display { method toml_display (line 179) | pub fn toml_display(self) -> impl Display { type Err (line 151) | type Err = (); method from_str (line 152) | fn from_str(s: &str) -> Result { type TomlPart (line 190) | enum TomlPart<'a> { function toml_iter (line 195) | fn toml_iter(s: &str) -> impl Iterator)> { type CargoPackage (line 214) | pub struct CargoPackage<'a> { function parse_cargo_package (line 221) | pub fn parse_cargo_package(s: &str) -> CargoPackage<'_> { type ClippyInfo (line 263) | pub struct ClippyInfo { method search_for_manifest (line 270) | pub fn search_for_manifest() -> Self { type UpdateStatus (line 304) | pub enum UpdateStatus { method from_changed (line 310) | pub fn from_changed(value: bool) -> Self { method is_changed (line 315) | pub fn is_changed(self) -> bool { type UpdateMode (line 321) | pub enum UpdateMode { method from_check (line 327) | pub fn from_check(check: bool) -> Self { method is_check (line 332) | pub fn is_check(self) -> bool { type FileUpdater (line 338) | pub struct FileUpdater { method update_file_checked_inner (line 344) | fn update_file_checked_inner( method update_file_inner (line 368) | fn update_file_inner(&mut self, path: &Path, update: &mut dyn FnMut(&P... method update_file_checked (line 378) | pub fn update_file_checked( method update_file (line 389) | pub fn update_file( function update_text_region (line 400) | pub fn update_text_region( function update_text_region_fn (line 424) | pub fn update_text_region_fn( function try_rename_file (line 433) | pub fn try_rename_file(old_name: &Path, new_name: &Path) -> bool { function try_rename_dir (line 455) | pub fn try_rename_dir(old_name: &Path, new_name: &Path) -> bool { function run_exit_on_err (line 481) | pub fn run_exit_on_err(path: &(impl AsRef + ?Sized), cmd: &mut Com... function run_with_output (line 494) | pub fn run_with_output(path: &(impl AsRef + ?Sized), cmd: &mut Com... function split_args_for_threads (line 517) | pub fn split_args_for_threads( function delete_file_if_exists (line 579) | pub fn delete_file_if_exists(path: &Path) -> bool { function delete_dir_if_exists (line 588) | pub fn delete_dir_if_exists(path: &Path) { function walk_dir_no_dot_or_target (line 597) | pub fn walk_dir_no_dot_or_target(p: impl AsRef) -> impl Iterator( FILE: src/tools/clippy/clippy_dummy/build.rs function main (line 4) | fn main() { function foo (line 14) | fn foo() -> Result<()> { FILE: src/tools/clippy/clippy_dummy/src/main.rs function main (line 1) | fn main() { FILE: src/tools/clippy/clippy_lints/src/absolute_paths.rs type AbsolutePaths (line 58) | pub struct AbsolutePaths { method new (line 64) | pub fn new(conf: &'static Conf) -> Self { method check_path (line 80) | fn check_path(&mut self, cx: &LateContext<'tcx>, path: &Path<'tcx>, hi... FILE: src/tools/clippy/clippy_lints/src/almost_complete_range.rs type AlmostCompleteRange (line 34) | pub struct AlmostCompleteRange { method new (line 38) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 45) | fn check_expr(&mut self, cx: &EarlyContext<'_>, e: &Expr) { method check_pat (line 73) | fn check_pat(&mut self, cx: &EarlyContext<'_>, p: &Pat) { function is_incomplete_range (line 103) | fn is_incomplete_range(start: &Expr, end: &Expr) -> bool { FILE: src/tools/clippy/clippy_lints/src/approx_const.rs constant KNOWN_CONSTS (line 45) | const KNOWN_CONSTS: [(f64, &str, usize, Option); 19] = [ type ApproxConstant (line 67) | pub struct ApproxConstant { method new (line 72) | pub fn new(conf: &'static Conf) -> Self { method check_lit (line 78) | fn check_lit(&mut self, cx: &LateContext<'_>, _hir_id: HirId, lit: Lit... method check_known_consts (line 94) | fn check_known_consts(&self, cx: &LateContext<'_>, span: Span, s: symb... function count_digits_after_dot (line 116) | fn count_digits_after_dot(input: &str) -> usize { function is_approx_const (line 127) | fn is_approx_const(constant: f64, value: &str, f_value: f64, min_digits:... FILE: src/tools/clippy/clippy_lints/src/arbitrary_source_item_ordering.rs type ArbitrarySourceItemOrdering (line 171) | pub struct ArbitrarySourceItemOrdering { method new (line 183) | pub fn new(conf: &'static Conf) -> Self { method lint_impl_item (line 199) | fn lint_impl_item(&self, cx: &LateContext<'_>, item: ImplItemId, befor... method lint_member_name (line 214) | fn lint_member_name(cx: &T, ident: Ident, before_ident... method lint_member_item (line 225) | fn lint_member_item(cx: &LateContext<'_>, item: &Item<'_>, before_item... method lint_trait_item (line 250) | fn lint_trait_item(&self, cx: &LateContext<'_>, item: TraitItemId, bef... method check_item (line 266) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx... method check_mod (line 365) | fn check_mod(&mut self, cx: &LateContext<'tcx>, module: &'tcx Mod<'tcx... function convert_assoc_item_kind (line 471) | fn convert_assoc_item_kind(cx: &LateContext<'_>, owner_id: OwnerId) -> S... function convert_module_item_kind (line 489) | fn convert_module_item_kind(value: &ItemKind<'_>) -> SourceItemOrderingM... function get_item_name (line 526) | fn get_item_name(item: &Item<'_>) -> Option { FILE: src/tools/clippy/clippy_lints/src/arc_with_non_send_sync.rs method check_expr (line 46) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/as_conversions.rs method check_expr (line 61) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/asm_syntax.rs type AsmStyle (line 12) | enum AsmStyle { method fmt (line 18) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Output (line 27) | type Output = AsmStyle; method not (line 29) | fn not(self) -> AsmStyle { function check_asm_syntax (line 37) | fn check_asm_syntax( method check_expr (line 129) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { method check_item (line 135) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { method check_expr (line 143) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { method check_item (line 149) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { FILE: src/tools/clippy/clippy_lints/src/assertions_on_constants.rs type AssertionsOnConstants (line 37) | pub struct AssertionsOnConstants { method new (line 41) | pub fn new(conf: &Conf) -> Self { method check_expr (line 47) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { function as_bool_lit (line 85) | fn as_bool_lit(e: &Expr<'_>) -> Option { FILE: src/tools/clippy/clippy_lints/src/assertions_on_result_states.rs method check_expr (line 51) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { function type_suitable_to_unwrap (line 100) | fn type_suitable_to_unwrap<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -... FILE: src/tools/clippy/clippy_lints/src/assigning_clones.rs type AssigningClones (line 58) | pub struct AssigningClones { method new (line 63) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 69) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { function clone_source_borrows_from_dest (line 155) | fn clone_source_borrows_from_dest(cx: &LateContext<'_>, lhs: &Expr<'_>, ... type CloneTrait (line 202) | enum CloneTrait { type CallKind (line 208) | enum CallKind { function build_sugg (line 213) | fn build_sugg<'tcx>( FILE: src/tools/clippy/clippy_lints/src/async_yields_async.rs method check_expr (line 51) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/attrs/allow_attributes.rs function check (line 10) | pub fn check<'cx>(cx: &EarlyContext<'cx>, attr: &'cx Attribute) { FILE: src/tools/clippy/clippy_lints/src/attrs/allow_attributes_without_reason.rs function check (line 9) | pub(super) fn check<'cx>(cx: &EarlyContext<'cx>, name: Symbol, items: &[... FILE: src/tools/clippy/clippy_lints/src/attrs/blanket_clippy_restriction_lints.rs function check (line 10) | pub(super) fn check(cx: &EarlyContext<'_>, name: Symbol, items: &[MetaIt... function check_command_line (line 25) | pub(super) fn check_command_line(cx: &EarlyContext<'_>) { FILE: src/tools/clippy/clippy_lints/src/attrs/deprecated_cfg_attr.rs function check (line 9) | pub(super) fn check(cx: &EarlyContext<'_>, attr: &Attribute, msrv: &Msrv... function check_clippy (line 52) | pub(super) fn check_clippy(cx: &EarlyContext<'_>, attr: &Attribute) { function check_deprecated_cfg_recursively (line 62) | fn check_deprecated_cfg_recursively(cx: &EarlyContext<'_>, attr: &rustc_... function check_cargo_clippy_attr (line 75) | fn check_cargo_clippy_attr(cx: &EarlyContext<'_>, item: &rustc_ast::Meta... FILE: src/tools/clippy/clippy_lints/src/attrs/deprecated_semver.rs function check (line 10) | pub(super) fn check(cx: &EarlyContext<'_>, span: Span, lit: &MetaItemLit) { FILE: src/tools/clippy/clippy_lints/src/attrs/duplicated_attributes.rs function emit_if_duplicated (line 11) | fn emit_if_duplicated( function check_duplicated_attr (line 30) | fn check_duplicated_attr( function check (line 82) | pub fn check(cx: &EarlyContext<'_>, attrs: &[Attribute]) { FILE: src/tools/clippy/clippy_lints/src/attrs/inline_always.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, span: Span, name: Symbol, attr... FILE: src/tools/clippy/clippy_lints/src/attrs/mixed_attributes_style.rs type SimpleAttrKind (line 11) | enum SimpleAttrKind { method from (line 18) | fn from(value: &AttrKind) -> Self { function check (line 35) | pub(super) fn check(cx: &EarlyContext<'_>, item_span: Span, attrs: &[Att... function lint_mixed_attrs (line 67) | fn lint_mixed_attrs(cx: &EarlyContext<'_>, attrs: &[Attribute]) { function attr_in_same_src_as_item (line 82) | fn attr_in_same_src_as_item(source_map: &SourceMap, item_src: &Arc Self { method check_item (line 513) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { method check_impl_item (line 523) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Impl... method check_trait_item (line 529) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Tra... type EarlyAttributes (line 536) | pub struct EarlyAttributes { method new (line 541) | pub fn new(conf: &'static Conf) -> Self { method check_attribute (line 549) | fn check_attribute(&mut self, cx: &EarlyContext<'_>, attr: &Attribute) { type PostExpansionEarlyAttributes (line 558) | pub struct PostExpansionEarlyAttributes { method new (line 563) | pub fn new(conf: &'static Conf) -> Self { method check_crate (line 571) | fn check_crate(&mut self, cx: &EarlyContext<'_>, krate: &ast::Crate) { method check_attribute (line 576) | fn check_attribute(&mut self, cx: &EarlyContext<'_>, attr: &Attribute) { method check_item (line 625) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &'_ ast::Item) { FILE: src/tools/clippy/clippy_lints/src/attrs/non_minimal_cfg.rs function check (line 9) | pub(super) fn check(cx: &EarlyContext<'_>, attr: &Attribute) { function check_nested_cfg (line 17) | fn check_nested_cfg(cx: &EarlyContext<'_>, items: &[MetaItemInner]) { FILE: src/tools/clippy/clippy_lints/src/attrs/repr_attributes.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, item_span: Span, attrs: &[Attr... FILE: src/tools/clippy/clippy_lints/src/attrs/should_panic_without_expect.rs function check (line 10) | pub(super) fn check(cx: &EarlyContext<'_>, attr: &Attribute) { FILE: src/tools/clippy/clippy_lints/src/attrs/unnecessary_clippy_cfg.rs function check (line 10) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/attrs/useless_attribute.rs function check (line 10) | pub(super) fn check(cx: &EarlyContext<'_>, item: &Item, attrs: &[Attribu... FILE: src/tools/clippy/clippy_lints/src/attrs/utils.rs function is_word (line 11) | pub(super) fn is_word(nmi: &MetaItemInner, expected: Symbol) -> bool { function is_lint_level (line 19) | pub(super) fn is_lint_level(symbol: Symbol, attr_id: AttrId) -> bool { function is_relevant_item (line 23) | pub(super) fn is_relevant_item(cx: &LateContext<'_>, item: &Item<'_>) ->... function is_relevant_impl (line 31) | pub(super) fn is_relevant_impl(cx: &LateContext<'_>, item: &ImplItem<'_>... function is_relevant_trait (line 38) | pub(super) fn is_relevant_trait(cx: &LateContext<'_>, item: &TraitItem<'... function is_relevant_block (line 48) | fn is_relevant_block(cx: &LateContext<'_>, typeck_results: &ty::TypeckRe... function is_relevant_expr (line 64) | fn is_relevant_expr(cx: &LateContext<'_>, typeck_results: &ty::TypeckRes... function extract_clippy_lint (line 79) | pub(super) fn extract_clippy_lint(lint: &MetaItemInner) -> Option { function namespace_and_lint (line 88) | pub(super) fn namespace_and_lint(lint: &MetaItemInner) -> (Option, conf: &'static Conf) -> Self { method check_expr (line 200) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr... method check_interior_types (line 214) | fn check_interior_types(&self, cx: &LateContext<'_>, coroutine: &Corou... function emit_invalid_type (line 268) | fn emit_invalid_type( function is_mutex_guard (line 283) | fn is_mutex_guard(cx: &LateContext<'_>, def_id: DefId) -> bool { function is_refcell_ref (line 290) | fn is_refcell_ref(cx: &LateContext<'_>, def_id: DefId) -> bool { FILE: src/tools/clippy/clippy_lints/src/blocks_in_conditions.rs constant BRACED_EXPR_MESSAGE (line 52) | const BRACED_EXPR_MESSAGE: &str = "omit braces around single expression ... method check_expr (line 55) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/bool_assert_comparison.rs function extract_bool_lit (line 40) | fn extract_bool_lit(e: &Expr<'_>) -> Option { function is_impl_not_trait_with_bool_out (line 52) | fn is_impl_not_trait_with_bool_out<'tcx>(cx: &LateContext<'tcx>, ty: Ty<... method check_expr (line 74) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/bool_comparison.rs method check_expr (line 39) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { function check_comparison (line 105) | fn check_comparison<'a, 'tcx>( function suggest_bool_comparison (line 151) | fn suggest_bool_comparison<'a, 'tcx>( function fetch_bool_expr (line 171) | fn fetch_bool_expr(expr: &Expr<'_>) -> Option { FILE: src/tools/clippy/clippy_lints/src/bool_to_int_with_if.rs method check_expr (line 49) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { function as_int_bool_lit (line 102) | fn as_int_bool_lit(expr: &Expr<'_>) -> Option { FILE: src/tools/clippy/clippy_lints/src/booleans.rs constant METHODS_WITH_NEGATION (line 80) | const METHODS_WITH_NEGATION: [(Option, Symbol, Symbol); 3]... type NonminimalBool (line 86) | pub struct NonminimalBool { method new (line 91) | pub fn new(conf: &'static Conf) -> Self { method check_fn (line 97) | fn check_fn( method check_expr (line 109) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... function inverted_bin_op_eq_str (line 125) | fn inverted_bin_op_eq_str(op: BinOpKind) -> Option<&'static str> { function bin_op_eq_str (line 133) | fn bin_op_eq_str(op: BinOpKind) -> Option<&'static str> { function check_inverted_bool_in_condition (line 141) | fn check_inverted_bool_in_condition( function check_simplify_not (line 199) | fn check_simplify_not(cx: &LateContext<'_>, msrv: Msrv, expr: &Expr<'_>) { type NonminimalBoolVisitor (line 233) | struct NonminimalBoolVisitor<'a, 'tcx> { type Hir2Qmm (line 239) | struct Hir2Qmm<'a, 'tcx, 'v> { function extract (line 245) | fn extract(&mut self, op: BinOpKind, a: &[&'v Expr<'_>], mut v: Vec) -> Result { type SuggestContext (line 325) | struct SuggestContext<'a, 'tcx, 'v> { function recurse (line 333) | fn recurse(&mut self, suggestion: &Bool) -> Option<()> { function simplify_not (line 403) | fn simplify_not(cx: &LateContext<'_>, curr_msrv: Msrv, expr: &Expr<'_>) ... function suggest (line 473) | fn suggest(cx: &LateContext<'_>, msrv: Msrv, suggestion: &Bool, terminal... function simple_negate (line 484) | fn simple_negate(b: Bool) -> Bool { type Stats (line 507) | struct Stats { function terminal_stats (line 513) | fn terminal_stats(b: &Bool) -> Stats { function bool_expr (line 540) | fn bool_expr(&self, e: &'tcx Expr<'_>) { function visit_expr (line 647) | fn visit_expr(&mut self, e: &'tcx Expr<'_>) { function implements_ord (line 672) | fn implements_ord(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/borrow_deref_ref.rs method check_expr (line 54) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'tcx>) { function potentially_bound_to_mutable_ref (line 131) | fn potentially_bound_to_mutable_ref<'tcx>(cx: &LateContext<'tcx>, expr: ... FILE: src/tools/clippy/clippy_lints/src/box_default.rs method check_expr (line 39) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { function is_plain_default (line 73) | fn is_plain_default(cx: &LateContext<'_>, arg_path: &Expr<'_>) -> bool { function is_local_vec_expn (line 85) | fn is_local_vec_expn(cx: &LateContext<'_>, expr: &Expr<'_>, ref_expr: &E... type InferVisitor (line 92) | struct InferVisitor(bool); method visit_infer (line 95) | fn visit_infer(&mut self, inf_id: HirId, _inf_span: Span, _kind: Infer... method visit_ty (line 100) | fn visit_ty(&mut self, t: &Ty<'_, AmbigArg>) { function given_type (line 108) | fn given_type(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/byte_char_slices.rs method check_expr (line 34) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { function is_byte_char_slices (line 52) | fn is_byte_char_slices(expr: &Expr) -> Option { FILE: src/tools/clippy/clippy_lints/src/cargo/common_metadata.rs function check (line 8) | pub(super) fn check(cx: &LateContext<'_>, metadata: &Metadata, ignore_pu... function missing_warning (line 40) | fn missing_warning(cx: &LateContext<'_>, package: &cargo_metadata::Packa... function is_empty_str (line 45) | fn is_empty_str>(value: Option<&T>) -> bool { function is_empty_vec (line 49) | fn is_empty_vec(value: &[String]) -> bool { FILE: src/tools/clippy/clippy_lints/src/cargo/feature_name.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, metadata: &Metadata) { function is_negative_prefix (line 45) | fn is_negative_prefix(s: &str) -> bool { function lint (line 49) | fn lint(cx: &LateContext<'_>, feature: &str, substring: &str, is_prefix:... function test_prefixes_sorted (line 83) | fn test_prefixes_sorted() { FILE: src/tools/clippy/clippy_lints/src/cargo/lint_groups_priority.rs function toml_span (line 12) | fn toml_span(range: Range, file: &SourceFile) -> Span { type LintConfig (line 21) | struct LintConfig<'a> { function priority (line 27) | fn priority(&self) -> i64 { function is_implicit (line 31) | fn is_implicit(&self) -> bool { function parse (line 35) | fn parse(value: &'a Spanned>) -> Option { function check_table (line 55) | fn check_table(cx: &LateContext<'_>, table: &DeTable<'_>, known_groups: ... type LintTbls (line 112) | struct LintTbls<'a> { function get_lint_tbls (line 116) | fn get_lint_tbls<'a>(tbl: &'a DeTable<'a>) -> LintTbls<'a> { function check (line 131) | pub fn check(cx: &LateContext<'_>) { FILE: src/tools/clippy/clippy_lints/src/cargo/mod.rs type Cargo (line 225) | pub struct Cargo { method new (line 231) | pub fn new(conf: &'static Conf) -> Self { method check_crate (line 240) | fn check_crate(&mut self, cx: &LateContext<'_>) { FILE: src/tools/clippy/clippy_lints/src/cargo/multiple_crate_versions.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, metadata: &Metadata, allowed_d... function is_normal_dep (line 60) | fn is_normal_dep(nodes: &[Node], local_id: &PackageId, dep_id: &PackageI... FILE: src/tools/clippy/clippy_lints/src/cargo/wildcard_dependencies.rs function check (line 8) | pub(super) fn check(cx: &LateContext<'_>, metadata: &Metadata) { FILE: src/tools/clippy/clippy_lints/src/casts/as_pointer_underscore.rs function check (line 5) | pub fn check<'tcx>(cx: &LateContext<'tcx>, ty_into: Ty<'_>, cast_to_hir:... FILE: src/tools/clippy/clippy_lints/src/casts/as_ptr_cast_mut.rs function check (line 12) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &E... FILE: src/tools/clippy/clippy_lints/src/casts/as_underscore.rs function check (line 9) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... FILE: src/tools/clippy/clippy_lints/src/casts/borrow_as_ptr.rs function check (line 14) | pub(super) fn check<'tcx>( function check_implicit_cast (line 61) | pub(super) fn check_implicit_cast(cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/casts/cast_abs_to_unsigned.rs function check (line 12) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/casts/cast_enum_constructor.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &E... FILE: src/tools/clippy/clippy_lints/src/casts/cast_lossless.rs function check (line 15) | pub(super) fn check( function should_lint (line 79) | fn should_lint(cx: &LateContext<'_>, cast_from: Ty<'_>, cast_to: Ty<'_>,... FILE: src/tools/clippy/clippy_lints/src/casts/cast_nan_to_int.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &E... function is_known_nan (line 22) | fn is_known_nan(cx: &LateContext<'_>, e: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/casts/cast_possible_truncation.rs function constant_int (line 17) | fn constant_int(cx: &LateContext<'_>, expr: &Expr<'_>) -> Option { function get_constant_bits (line 25) | fn get_constant_bits(cx: &LateContext<'_>, expr: &Expr<'_>) -> Option, nbits: u64, expr: &Expr<'_>, s... function check (line 86) | pub(super) fn check( function offer_suggestion (line 179) | fn offer_suggestion( FILE: src/tools/clippy/clippy_lints/src/casts/cast_possible_wrap.rs constant ALLOWED_POINTER_SIZES (line 12) | const ALLOWED_POINTER_SIZES: [u64; 3] = [16, 32, 64]; type EmitState (line 16) | enum EmitState { function check (line 22) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/casts/cast_precision_loss.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_from: Ty... FILE: src/tools/clippy/clippy_lints/src/casts/cast_ptr_alignment.rs function check (line 11) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'_>, cast_... function check_cast_method (line 15) | pub(super) fn check_cast_method(cx: &LateContext<'_>, expr: &Expr<'_>) { function lint_cast_ptr_alignment (line 28) | fn lint_cast_ptr_alignment<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'_>... function is_used_as_unaligned (line 53) | fn is_used_as_unaligned(cx: &LateContext<'_>, e: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/casts/cast_sign_loss.rs constant METHODS_RET_POSITIVE (line 23) | const METHODS_RET_POSITIVE: &[Symbol] = &[ constant METHODS_POW (line 37) | const METHODS_POW: &[Symbol] = &[sym::pow, sym::saturating_pow, sym::che... constant METHODS_UNWRAP (line 40) | const METHODS_UNWRAP: &[Symbol] = &[sym::unwrap, sym::unwrap_unchecked, ... function check (line 42) | pub(super) fn check<'cx>( function should_lint (line 79) | fn should_lint<'cx>(cx: &LateContext<'cx>, cast_op: &Expr<'_>, cast_from... function get_const_signed_int_eval (line 108) | fn get_const_signed_int_eval<'cx>( function get_const_unsigned_int_eval (line 123) | fn get_const_unsigned_int_eval<'cx>( type Sign (line 139) | enum Sign { function expr_sign (line 145) | fn expr_sign<'cx, 'tcx>(cx: &LateContext<'cx>, mut expr: &'tcx Expr<'tcx... function pow_call_result_sign (line 189) | fn pow_call_result_sign(cx: &LateContext<'_>, base: &Expr<'_>, exponent:... function expr_muldiv_sign (line 218) | fn expr_muldiv_sign(cx: &LateContext<'_>, expr: &Expr<'_>) -> Sign { function expr_add_sign (line 249) | fn expr_add_sign(cx: &LateContext<'_>, expr: &Expr<'_>) -> Sign { function exprs_with_muldiv_binop_peeled (line 290) | fn exprs_with_muldiv_binop_peeled<'e>(expr: &'e Expr<'_>) -> Vec<&'e Exp... function exprs_with_add_binop_peeled (line 339) | fn exprs_with_add_binop_peeled<'e>(expr: &'e Expr<'_>) -> Vec<&'e Expr<'... FILE: src/tools/clippy/clippy_lints/src/casts/cast_slice_different_sizes.rs function check (line 12) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>, msr... function is_child_of_cast (line 63) | fn is_child_of_cast(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function get_raw_slice_ty_mut (line 82) | fn get_raw_slice_ty_mut(ty: Ty<'_>) -> Option> { type CastChainInfo (line 92) | struct CastChainInfo<'tcx> { function expr_cast_chain_tys (line 105) | fn expr_cast_chain_tys<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) ... FILE: src/tools/clippy/clippy_lints/src/casts/cast_slice_from_raw_parts.rs type RawPartsKind (line 15) | enum RawPartsKind { function raw_parts_kind (line 20) | fn raw_parts_kind(cx: &LateContext<'_>, did: DefId) -> Option, expr: &Expr<'_>, cast_expr: &E... function check_implicit_cast (line 61) | pub(super) fn check_implicit_cast(cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/casts/char_lit_as_u8.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_from_exp... FILE: src/tools/clippy/clippy_lints/src/casts/confusing_method_to_numeric_cast.rs function get_primitive_ty_name (line 13) | fn get_primitive_ty_name(ty: Ty<'_>) -> Option<&'static str> { function get_const_name_and_ty_name (line 23) | fn get_const_name_and_ty_name( function check (line 60) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &E... FILE: src/tools/clippy/clippy_lints/src/casts/fn_to_numeric_cast.rs function check (line 10) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &E... FILE: src/tools/clippy/clippy_lints/src/casts/fn_to_numeric_cast_any.rs function check (line 10) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &E... FILE: src/tools/clippy/clippy_lints/src/casts/fn_to_numeric_cast_with_truncation.rs function check (line 10) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, cast_expr: &E... FILE: src/tools/clippy/clippy_lints/src/casts/manual_dangling_ptr.rs function check (line 13) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, from: &Expr<'... function is_expr_const_aligned (line 49) | fn is_expr_const_aligned(cx: &LateContext<'_>, expr: &Expr<'_>, to: &Ty<... function is_align_of_call (line 57) | fn is_align_of_call(cx: &LateContext<'_>, fun: &Expr<'_>, to: &Ty<'_>) -... function is_literal_aligned (line 69) | fn is_literal_aligned(cx: &LateContext<'_>, lit: &Spanned, to: ... FILE: src/tools/clippy/clippy_lints/src/casts/mod.rs type Casts (line 880) | pub struct Casts { method new (line 885) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 891) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_body (line 958) | fn check_body(&mut self, cx: &LateContext<'tcx>, body: &rustc_hir::Bod... FILE: src/tools/clippy/clippy_lints/src/casts/needless_type_cast.rs type BindingInfo (line 16) | struct BindingInfo<'a> { type UsageInfo (line 22) | struct UsageInfo<'a> { function check (line 27) | pub(super) fn check<'a>(cx: &LateContext<'a>, body: &Body<'a>) { function collect_binding_from_let (line 56) | fn collect_binding_from_let<'a>( function collect_binding_from_local (line 86) | fn collect_binding_from_local<'a>( function contains_unsafe (line 117) | fn contains_unsafe(expr: &Expr<'_>) -> bool { function has_generic_return_type (line 129) | fn has_generic_return_type(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function is_generic_res (line 182) | fn is_generic_res(cx: &LateContext<'_>, res: Res) -> bool { function is_cast_in_generic_context (line 193) | fn is_cast_in_generic_context<'a>(cx: &LateContext<'a>, cast_expr: &Expr... function can_coerce_to_target_type (line 237) | fn can_coerce_to_target_type(expr: &Expr<'_>) -> bool { function check_binding_usages (line 249) | fn check_binding_usages<'a>(cx: &LateContext<'a>, body: &Body<'a>, hir_i... FILE: src/tools/clippy/clippy_lints/src/casts/ptr_as_ptr.rs type OmitFollowedCastReason (line 14) | enum OmitFollowedCastReason<'a> { function corresponding_item (line 21) | fn corresponding_item(&self) -> Option<&QPath<'_>> { function check (line 29) | pub(super) fn check<'tcx>( function qpath_span_without_turbofish (line 104) | fn qpath_span_without_turbofish(qpath: &QPath<'_>) -> Span { FILE: src/tools/clippy/clippy_lints/src/casts/ptr_cast_constness.rs function check (line 13) | pub(super) fn check<'tcx>( function check_null_ptr_cast_method (line 79) | pub(super) fn check_null_ptr_cast_method(cx: &LateContext<'_>, expr: &Ex... FILE: src/tools/clippy/clippy_lints/src/casts/ref_as_ptr.rs function check (line 12) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/casts/unnecessary_cast.rs function check (line 20) | pub(super) fn check<'tcx>( function lint_unnecessary_cast (line 210) | fn lint_unnecessary_cast( function get_numeric_literal (line 245) | fn get_numeric_literal<'e>(expr: &'e Expr<'e>) -> Option { function fp_ty_mantissa_nbits (line 261) | fn fp_ty_mantissa_nbits(typ: Ty<'_>) -> u32 { function is_cast_from_ty_alias (line 273) | fn is_cast_from_ty_alias<'tcx>(cx: &LateContext<'tcx>, expr: impl Visita... FILE: src/tools/clippy/clippy_lints/src/casts/utils.rs function int_ty_to_nbits (line 6) | pub(super) fn int_ty_to_nbits(tcx: TyCtxt<'_>, ty: Ty<'_>) -> Option { function enum_value_nbits (line 15) | pub(super) fn enum_value_nbits(value: EnumValue) -> u64 { function enum_ty_to_nbits (line 24) | pub(super) fn enum_ty_to_nbits(adt: AdtDef<'_>, tcx: TyCtxt<'_>) -> u64 { type CastTo (line 64) | pub(super) enum CastTo { function is_signedness_cast (line 71) | pub(super) fn is_signedness_cast(cast_from: Ty<'_>, cast_to: Ty<'_>) -> ... FILE: src/tools/clippy/clippy_lints/src/casts/zero_ptr.rs function check (line 11) | pub fn check(cx: &LateContext<'_>, expr: &Expr<'_>, from: &Expr<'_>, to:... FILE: src/tools/clippy/clippy_lints/src/cfg_not_test.rs method check_attribute (line 36) | fn check_attribute(&mut self, cx: &EarlyContext<'_>, attr: &rustc_ast::A... function contains_not_test (line 58) | fn contains_not_test(cfg: &CfgEntry, not: bool) -> bool { FILE: src/tools/clippy/clippy_lints/src/checked_conversions.rs type CheckedConversions (line 39) | pub struct CheckedConversions { method new (line 44) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 50) | fn check_expr(&mut self, cx: &LateContext<'_>, item: &Expr<'_>) { type Conversion (line 100) | struct Conversion<'a> { type ConversionType (line 108) | enum ConversionType { method try_new (line 176) | fn try_new(from: Symbol, to: Symbol) -> Option { function read_le_ge (line 115) | fn read_le_ge<'tcx>( function combine (line 129) | pub fn combine(self, other: Self, cx: &LateContext<'_>) -> Option) -> bool { function has_compatible_to_type (line 147) | fn has_compatible_to_type(&self, other: &Self) -> bool { function try_new (line 155) | fn try_new(expr_to_cast: &'a Expr<'_>, from_type: Symbol, to_type: Symbo... function new_any (line 164) | fn new_any(expr_to_cast: &'a Expr<'_>) -> Conversion<'a> { function check_upper_bound (line 194) | fn check_upper_bound<'tcx>(lt: &'tcx Expr<'tcx>, gt: &'tcx Expr<'tcx>) -... function check_lower_bound (line 203) | fn check_lower_bound<'tcx>(lt: &'tcx Expr<'tcx>, gt: &'tcx Expr<'tcx>) -... function check_lower_bound_zero (line 208) | fn check_lower_bound_zero<'a>(candidate: &'a Expr<'_>, check: &'a Expr<'... function check_lower_bound_min (line 213) | fn check_lower_bound_min<'a>(candidate: &'a Expr<'_>, check: &'a Expr<'_... function get_types_from_cast (line 222) | fn get_types_from_cast( function get_implementing_type (line 278) | fn get_implementing_type(path: &QPath<'_>, candidates: &[Symbol], functi... function int_ty_to_sym (line 291) | fn int_ty_to_sym(path: &QPath<'_>) -> Option { constant UINTS (line 302) | const UINTS: &[Symbol] = &[sym::u8, sym::u16, sym::u32, sym::u64, sym::u... constant SINTS (line 303) | const SINTS: &[Symbol] = &[sym::i8, sym::i16, sym::i32, sym::i64, sym::i... constant INTS (line 304) | const INTS: &[Symbol] = &[ FILE: src/tools/clippy/clippy_lints/src/cloned_ref_to_slice_refs.rs type ClonedRefToSliceRefs (line 49) | pub struct ClonedRefToSliceRefs<'a> { function new (line 53) | pub fn new(conf: &'a Conf) -> Self { function check_expr (line 59) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/coerce_container_to_any.rs method check_expr (line 53) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { function is_ref_dyn_any (line 102) | fn is_ref_dyn_any(tcx: TyCtxt<'_>, ty: Ty<'_>) -> bool { function is_dyn_any (line 109) | fn is_dyn_any(tcx: TyCtxt<'_>, ty: Ty<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/cognitive_complexity.rs type CognitiveComplexity (line 45) | pub struct CognitiveComplexity { method new (line 50) | pub fn new(conf: &'static Conf) -> Self { method check (line 58) | fn check<'tcx>( method check_fn (line 138) | fn check_fn( method check_attributes (line 164) | fn check_attributes(&mut self, cx: &LateContext<'tcx>, attrs: &'tcx [A... method check_attributes_post (line 167) | fn check_attributes_post(&mut self, cx: &LateContext<'tcx>, attrs: &'t... FILE: src/tools/clippy/clippy_lints/src/collapsible_if.rs type CollapsibleIf (line 84) | pub struct CollapsibleIf { method new (line 90) | pub fn new(conf: &'static Conf) -> Self { method check_collapsible_else_if (line 97) | fn check_collapsible_else_if(&self, cx: &LateContext<'_>, then_span: S... method check_collapsible_if_if (line 166) | fn check_collapsible_if_if(&self, cx: &LateContext<'_>, expr: &Expr<'_... method eligible_condition (line 217) | fn eligible_condition(&self, cx: &LateContext<'_>, cond: &Expr<'_>) ->... method check_significant_tokens_and_expect_attrs (line 226) | fn check_significant_tokens_and_expect_attrs( method check_expr (line 262) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { function single_inner_if_else (line 284) | fn single_inner_if_else(expr: &Expr<'_>) -> bool { function expr_block (line 298) | fn expr_block<'tcx>(block: &Block<'tcx>) -> Option<&'tcx Expr<'tcx>> { function parens_around (line 307) | pub(super) fn parens_around(expr: &Expr<'_>) -> Vec<(Span, String)> { function span_extract_keyword (line 320) | fn span_extract_keyword(cx: &impl HasSession, span: Span, keyword: &str)... function peel_parens (line 336) | pub(super) fn peel_parens(cx: &impl HasSession, mut span: Span) -> (Span... function peel_parens_str (line 354) | fn peel_parens_str(snippet: &str) -> Option<(usize, &str, usize)> { FILE: src/tools/clippy/clippy_lints/src/collection_is_never_read.rs method check_local (line 47) | fn check_local(&mut self, cx: &LateContext<'tcx>, local: &'tcx LetStmt<'... function match_acceptable_type (line 59) | fn match_acceptable_type(cx: &LateContext<'_>, local: &LetStmt<'_>) -> b... function has_no_read_access (line 77) | fn has_no_read_access<'tcx, T: Visitable<'tcx>>(cx: &LateContext<'tcx>, ... FILE: src/tools/clippy/clippy_lints/src/comparison_chain.rs method check_expr (line 59) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function kind_is_cmp (line 143) | fn kind_is_cmp(kind: BinOpKind) -> bool { FILE: src/tools/clippy/clippy_lints/src/copy_iterator.rs method check_item (line 38) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/crate_in_macro_def.rs method check_item (line 56) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { function is_macro_export (line 74) | fn is_macro_export(attr: &Attribute) -> bool { function contains_unhygienic_crate_reference (line 84) | fn contains_unhygienic_crate_reference(tts: &TokenStream) -> Option { function is_crate_keyword (line 106) | fn is_crate_keyword(tt: &TokenTree) -> Option { function is_token (line 121) | fn is_token(tt: &TokenTree, kind: &TokenKind) -> bool { FILE: src/tools/clippy/clippy_lints/src/create_dir.rs method check_expr (line 35) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/dbg_macro.rs type DbgMacro (line 38) | pub struct DbgMacro { method new (line 47) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 57) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { method check_crate_post (line 130) | fn check_crate_post(&mut self, _: &LateContext<'_>) { function is_coroutine_desugar (line 135) | fn is_coroutine_desugar(expr: &Expr<'_>) -> bool { function is_async_move_desugar (line 145) | fn is_async_move_desugar<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<&'tcx E... function first_dbg_macro_in_expansion (line 164) | fn first_dbg_macro_in_expansion(cx: &LateContext<'_>, span: Span) -> Opt... FILE: src/tools/clippy/clippy_lints/src/default.rs type Default (line 75) | pub struct Default { method check_expr (line 81) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_block (line 111) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &Block<'tcx>) { function field_reassigned_by_stmt (line 254) | fn field_reassigned_by_stmt<'tcx>(this: &Stmt<'tcx>, binding_name: Symbo... function is_update_syntax_base (line 272) | fn is_update_syntax_base<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<... FILE: src/tools/clippy/clippy_lints/src/default_constructed_unit_structs.rs function is_alias (line 53) | fn is_alias(ty: hir::Ty<'_>) -> bool { method check_expr (line 62) | fn check_expr<'tcx>(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::... FILE: src/tools/clippy/clippy_lints/src/default_instead_of_iter_empty.rs method check_expr (line 35) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function make_sugg (line 62) | fn make_sugg( FILE: src/tools/clippy/clippy_lints/src/default_numeric_fallback.rs method check_body (line 54) | fn check_body(&mut self, cx: &LateContext<'tcx>, body: &Body<'tcx>) { type NumericFallbackVisitor (line 66) | struct NumericFallbackVisitor<'a, 'tcx> { function new (line 74) | fn new(cx: &'a LateContext<'tcx>, is_parent_const: bool) -> Self { function check_lit (line 86) | fn check_lit(&self, lit: Lit, lit_ty: Ty<'tcx>, emit_hir_id: HirId) { function visit_expr (line 125) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { function visit_pat (line 223) | fn visit_pat(&mut self, pat: &'tcx Pat<'_>) { function visit_stmt (line 237) | fn visit_stmt(&mut self, stmt: &'tcx Stmt<'_>) { function fn_sig_opt (line 250) | fn fn_sig_opt<'tcx>(cx: &LateContext<'tcx>, hir_id: HirId) -> Option) -> Self { method from (line 271) | fn from(v: Option>) -> Self { FILE: src/tools/clippy/clippy_lints/src/default_union_representation.rs method check_item (line 55) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { function is_union_with_two_non_zst_fields (line 81) | fn is_union_with_two_non_zst_fields<'tcx>(cx: &LateContext<'tcx>, item: ... function is_zst (line 91) | fn is_zst<'tcx>(cx: &LateContext<'tcx>, field: &FieldDef, args: ty::Gene... function has_c_repr_attr (line 100) | fn has_c_repr_attr(cx: &LateContext<'_>, hir_id: HirId) -> bool { FILE: src/tools/clippy/clippy_lints/src/dereference.rs type Dereferencing (line 153) | pub struct Dereferencing<'tcx> { type StateData (line 180) | struct StateData<'tcx> { type DerefedBorrow (line 186) | struct DerefedBorrow { type State (line 194) | enum State { type RefOp (line 220) | enum RefOp { type RefPat (line 226) | struct RefPat { function check_expr (line 241) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function check_pat (line 614) | fn check_pat(&mut self, cx: &LateContext<'tcx>, pat: &'tcx Pat<'_>) { function check_body_post (line 657) | fn check_body_post(&mut self, cx: &LateContext<'tcx>, body: &Body<'_>) { function check_item (line 682) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { function check_item_post (line 689) | fn check_item_post(&mut self, _cx: &LateContext<'_>, item: &Item<'_>) { function is_deref_or_derefmut_impl (line 697) | fn is_deref_or_derefmut_impl(cx: &LateContext<'_>, item: &Item<'_>) -> b... function try_parse_ref_op (line 708) | fn try_parse_ref_op<'tcx>( function deref_method_same_type (line 748) | fn deref_method_same_type<'tcx>(result_ty: Ty<'tcx>, arg_ty: Ty<'tcx>) -... function is_in_method_chain (line 759) | fn is_in_method_chain<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'tcx>)... type TyCoercionStability (line 784) | enum TyCoercionStability { method is_deref_stable (line 790) | fn is_deref_stable(self) -> bool { method is_reborrow_stable (line 794) | fn is_reborrow_stable(self) -> bool { method for_defined_ty (line 798) | fn for_defined_ty<'tcx>(cx: &LateContext<'tcx>, ty: DefinedTy<'tcx>, f... method for_hir_ty (line 819) | fn for_hir_ty<'tcx>(ty: &'tcx hir::Ty<'tcx>) -> Self { method for_mir_ty (line 872) | fn for_mir_ty<'tcx>(tcx: TyCtxt<'tcx>, def_site_def_id: Option,... function ty_contains_infer (line 933) | fn ty_contains_infer(ty: &hir::Ty<'_>) -> bool { function ty_contains_field (line 956) | fn ty_contains_field(ty: Ty<'_>, name: Symbol) -> bool { function in_deref_impl (line 965) | fn in_deref_impl(&self) -> bool { function check_local_usage (line 969) | fn check_local_usage(&mut self, cx: &LateContext<'tcx>, e: &Expr<'tcx>, ... function report (line 1029) | fn report( FILE: src/tools/clippy/clippy_lints/src/derivable_impls.rs type DerivableImpls (line 61) | pub struct DerivableImpls { method new (line 66) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 230) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { function is_path_self (line 71) | fn is_path_self(e: &Expr<'_>) -> bool { function contains_trait_object (line 79) | fn contains_trait_object(ty: Ty<'_>) -> bool { function determine_derive_macro (line 88) | fn determine_derive_macro(cx: &LateContext<'_>, is_const: bool) -> Optio... function check_struct (line 95) | fn check_struct<'tcx>( function extract_enum_variant (line 160) | fn extract_enum_variant<'tcx>( function check_enum (line 187) | fn check_enum<'tcx>( FILE: src/tools/clippy/clippy_lints/src/derive/derive_ord_xor_partial_ord.rs function check (line 11) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/derive/derive_partial_eq_without_eq.rs function check (line 14) | pub(super) fn check<'tcx>( function ty_implements_eq_trait (line 53) | fn ty_implements_eq_trait<'tcx>(tcx: TyCtxt<'tcx>, ty: Ty<'tcx>, eq_trai... function typing_env_for_derived_eq (line 58) | fn typing_env_for_derived_eq(tcx: TyCtxt<'_>, did: DefId, eq_trait_id: D... FILE: src/tools/clippy/clippy_lints/src/derive/derived_hash_with_manual_eq.rs function check (line 10) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/derive/expl_impl_clone_on_copy.rs function check (line 11) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/derive/mod.rs method check_item (line 196) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/derive/unsafe_derive_deserialize.rs function check (line 16) | pub(super) fn check<'tcx>( type UnsafeVisitor (line 54) | struct UnsafeVisitor<'a, 'tcx> { type Result (line 59) | type Result = ControlFlow<()>; type NestedFilter (line 60) | type NestedFilter = nested_filter::All; function visit_fn (line 62) | fn visit_fn( function visit_expr (line 79) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) -> Self::Result { function maybe_tcx (line 94) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { FILE: src/tools/clippy/clippy_lints/src/disallowed_fields.rs type DisallowedFields (line 61) | pub struct DisallowedFields { method new (line 66) | pub fn new(tcx: TyCtxt<'_>, conf: &'static Conf) -> Self { method check_expr (line 80) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_pat (line 108) | fn check_pat(&mut self, cx: &LateContext<'tcx>, pat: &'tcx Pat<'_>) { FILE: src/tools/clippy/clippy_lints/src/disallowed_macros.rs type DisallowedMacros (line 68) | pub struct DisallowedMacros { method new (line 81) | pub fn new(tcx: TyCtxt<'_>, conf: &'static Conf, early_macro_cache: At... method check (line 98) | fn check(&mut self, cx: &LateContext<'_>, span: Span, derive_src: Opti... method check_crate (line 131) | fn check_crate(&mut self, cx: &LateContext<'_>) { method check_expr (line 140) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { method check_stmt (line 148) | fn check_stmt(&mut self, cx: &LateContext<'_>, stmt: &Stmt<'_>) { method check_ty (line 152) | fn check_ty(&mut self, cx: &LateContext<'_>, ty: &Ty<'_, AmbigArg>) { method check_pat (line 156) | fn check_pat(&mut self, cx: &LateContext<'_>, pat: &Pat<'_>) { method check_item (line 160) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { method check_foreign_item (line 173) | fn check_foreign_item(&mut self, cx: &LateContext<'_>, item: &ForeignI... method check_impl_item (line 178) | fn check_impl_item(&mut self, cx: &LateContext<'_>, item: &ImplItem<'_... method check_trait_item (line 185) | fn check_trait_item(&mut self, cx: &LateContext<'_>, item: &TraitItem<... method check_path (line 189) | fn check_path(&mut self, cx: &LateContext<'_>, path: &Path<'_>, _: Hir... FILE: src/tools/clippy/clippy_lints/src/disallowed_methods.rs type DisallowedMethods (line 66) | pub struct DisallowedMethods { method new (line 71) | pub fn new(tcx: TyCtxt<'_>, conf: &'static Conf) -> Self { method check_expr (line 90) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/disallowed_names.rs type DisallowedNames (line 31) | pub struct DisallowedNames { method new (line 36) | pub fn new(conf: &'static Conf) -> Self { method check_pat (line 44) | fn check_pat(&mut self, cx: &LateContext<'tcx>, pat: &'tcx Pat<'_>) { FILE: src/tools/clippy/clippy_lints/src/disallowed_script_idents.rs type DisallowedScriptIdents (line 50) | pub struct DisallowedScriptIdents { method new (line 55) | pub fn new(conf: &'static Conf) -> Self { method check_crate (line 68) | fn check_crate(&mut self, cx: &EarlyContext<'_>, _: &ast::Crate) { FILE: src/tools/clippy/clippy_lints/src/disallowed_types.rs type DisallowedTypes (line 62) | pub struct DisallowedTypes { method new (line 68) | pub fn new(tcx: TyCtxt<'_>, conf: &'static Conf) -> Self { method check_res_emit (line 80) | fn check_res_emit(&self, cx: &LateContext<'_>, res: &Res, span: Span) { method check_item (line 110) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx... method check_ty (line 118) | fn check_ty(&mut self, cx: &LateContext<'tcx>, ty: &'tcx Ty<'tcx, Ambi... method check_poly_trait_ref (line 124) | fn check_poly_trait_ref(&mut self, cx: &LateContext<'tcx>, poly: &'tcx... function def_kind_predicate (line 96) | pub fn def_kind_predicate(def_kind: DefKind) -> bool { FILE: src/tools/clippy/clippy_lints/src/doc/broken_link.rs function check (line 17) | pub fn check(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>, doc: &st... function warn_if_broken_link (line 21) | fn warn_if_broken_link(cx: &LateContext<'_>, bl: &PullDownBrokenLink<'_>... function report_broken_link (line 71) | fn report_broken_link(cx: &LateContext<'_>, frag_span: Span, offset: usi... FILE: src/tools/clippy/clippy_lints/src/doc/doc_comment_double_space_linebreaks.rs function check (line 8) | pub fn check(cx: &LateContext<'_>, collected_breaks: &[Span]) { FILE: src/tools/clippy/clippy_lints/src/doc/doc_paragraphs_missing_punctuation.rs constant MSG (line 9) | const MSG: &str = "doc paragraphs should end with a terminal punctuation... constant PUNCTUATION_SUGGESTION (line 10) | const PUNCTUATION_SUGGESTION: char = '.'; function check (line 12) | pub fn check(cx: &LateContext<'_>, doc: &str, fragments: Fragments<'_>) { function is_missing_punctuation (line 48) | fn is_missing_punctuation(doc_string: &str) -> Vec { function trim_trailing_symbols (line 125) | fn trim_trailing_symbols(s: &str) -> &str { type MissingPunctuation (line 141) | enum MissingPunctuation { FILE: src/tools/clippy/clippy_lints/src/doc/doc_suspicious_footnotes.rs function check (line 13) | pub fn check(cx: &LateContext<'_>, doc: &str, range: Range, fragm... function all_numbers_upto_brace (line 117) | fn all_numbers_upto_brace(text: &str, i: usize) -> Option { FILE: src/tools/clippy/clippy_lints/src/doc/include_in_doc_without_cfg.rs function check (line 9) | pub fn check(cx: &EarlyContext<'_>, attrs: &[Attribute]) { FILE: src/tools/clippy/clippy_lints/src/doc/lazy_continuation.rs function map_container_to_text (line 10) | fn map_container_to_text(c: &super::Container) -> &'static str { function check (line 18) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/doc/link_with_quotes.rs function check (line 8) | pub fn check(cx: &LateContext<'_>, trimmed_text: &str, range: Range, body_id: BodyId) -> Option { FILE: src/tools/clippy/clippy_lints/src/doc/mod.rs type Documentation (line 730) | pub struct Documentation { method new (line 736) | pub fn new(conf: &'static Conf) -> Self { method check_attributes (line 751) | fn check_attributes(&mut self, cx: &LateContext<'tcx>, attrs: &'tcx [A... method check_attributes (line 745) | fn check_attributes(&mut self, cx: &EarlyContext<'_>, attrs: &[rustc_ast... type Fragments (line 818) | struct Fragments<'a> { function span (line 827) | fn span(self, cx: &LateContext<'_>, range: Range) -> Option { type DocHeaders (line 833) | struct DocHeaders { function check_attrs (line 847) | fn check_attrs(cx: &LateContext<'_>, valid_idents: &FxHashSet, a... type Container (line 941) | enum Container { function check_for_code_clusters (line 950) | fn check_for_code_clusters<'a, Events: Iterator Self { method default (line 1017) | fn default() -> Self { function check_doc (line 1080) | fn check_doc<'a, Events: Iterator, Ran... function looks_like_refdef (line 1324) | fn looks_like_refdef(doc: &str, range: Range) -> Option(mut tokens: impl Iterator, text: &str, offset: usize, fragments:... FILE: src/tools/clippy/clippy_lints/src/doc/suspicious_doc_comments.rs function check (line 12) | pub fn check(cx: &LateContext<'_>, attrs: &[Attribute]) -> bool { function collect_doc_replacements (line 36) | fn collect_doc_replacements(attrs: &[Attribute]) -> Vec<(Span, String)> { FILE: src/tools/clippy/clippy_lints/src/doc/test_attr_in_doctest.rs function check (line 8) | pub fn check(cx: &LateContext<'_>, text: &str, offset: usize, fragments:... FILE: src/tools/clippy/clippy_lints/src/doc/too_long_first_doc_paragraph.rs function check (line 12) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/double_parens.rs method check_expr (line 44) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { function check_source (line 104) | fn check_source(cx: &EarlyContext<'_>, inner: &Expr) -> bool { FILE: src/tools/clippy/clippy_lints/src/drop_forget_ref.rs constant DROP_NON_DROP_SUMMARY (line 75) | const DROP_NON_DROP_SUMMARY: &str = "call to `std::mem::drop` with a val... constant FORGET_NON_DROP_SUMMARY (line 77) | const FORGET_NON_DROP_SUMMARY: &str = "call to `std::mem::forget` with a... method check_expr (line 81) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function is_single_call_in_arm (line 143) | fn is_single_call_in_arm<'tcx>(cx: &LateContext<'tcx>, arg: &'tcx Expr<'... FILE: src/tools/clippy/clippy_lints/src/duplicate_mod.rs type Modules (line 51) | struct Modules { type DuplicateMod (line 58) | pub struct DuplicateMod { method check_item (line 65) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { method check_crate_post (line 81) | fn check_crate_post(&mut self, cx: &EarlyContext<'_>, _: &Crate) { FILE: src/tools/clippy/clippy_lints/src/duration_suboptimal_units.rs type DurationSuboptimalUnits (line 53) | pub struct DurationSuboptimalUnits { method new (line 59) | pub fn new(tcx: TyCtxt<'_>, conf: &'static Conf) -> Self { method check_expr (line 70) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &'_ Expr<'_>) { method promote (line 117) | fn promote(&self, cx: &LateContext<'_>, constructor_name: Symbol, valu... type Unit (line 143) | struct Unit { constant UNITS (line 159) | const UNITS: [Unit; 6] = [ constant EXTENDED_UNITS (line 194) | const EXTENDED_UNITS: [Unit; 2] = [ FILE: src/tools/clippy/clippy_lints/src/else_if_without_else.rs method check_expr (line 49) | fn check_expr(&mut self, cx: &EarlyContext<'_>, item: &Expr) { FILE: src/tools/clippy/clippy_lints/src/empty_drop.rs method check_item (line 38) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/empty_enums.rs method check_item (line 61) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/empty_line_after.rs type ItemInfo (line 97) | struct ItemInfo { type EmptyLineAfter (line 104) | pub struct EmptyLineAfter { method new (line 109) | pub fn new() -> Self { method check_gaps (line 308) | fn check_gaps(&self, cx: &EarlyContext<'_>, gaps: &[Gap<'_>], id: Node... method suggest_inner (line 401) | fn suggest_inner(&self, diag: &mut Diag<'_, ()>, kind: StopKind, gaps:... method check_item_kind (line 428) | fn check_item_kind( type StopKind (line 115) | enum StopKind { method is_doc (line 121) | fn is_doc(self) -> bool { type Stop (line 127) | struct Stop { method is_outer_attr_only (line 136) | fn is_outer_attr_only(&self) -> bool { method convert_to_inner (line 177) | fn convert_to_inner(&self) -> Option<(Span, String)> { method comment_out (line 191) | fn comment_out(&self, cx: &EarlyContext<'_>, suggestions: &mut Vec<(Sp... method from_attr (line 213) | fn from_attr(cx: &EarlyContext<'_>, attr: &Attribute) -> Option { type Gap (line 242) | struct Gap<'a> { function new (line 253) | fn new(cx: &EarlyContext<'_>, prev_chunk: &'a [Stop], next_chunk: &'a [S... function contiguous_empty_lines (line 293) | fn contiguous_empty_lines(&self) -> impl Iterator + '_ { method check_crate (line 500) | fn check_crate(&mut self, _: &EarlyContext<'_>, krate: &Crate) { method check_item_post (line 514) | fn check_item_post(&mut self, _: &EarlyContext<'_>, _: &Item) { method check_impl_item_post (line 517) | fn check_impl_item_post(&mut self, _: &EarlyContext<'_>, _: &Item, _: &Item, item: &Item, item: &Item, item: &Item) { FILE: src/tools/clippy/clippy_lints/src/empty_with_brackets.rs type Usage (line 86) | enum Usage { type EmptyWithBrackets (line 93) | pub struct EmptyWithBrackets { method check_item (line 99) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { method check_variant (line 125) | fn check_variant(&mut self, cx: &LateContext<'_>, variant: &Variant<'_... method check_expr (line 147) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { method check_pat (line 168) | fn check_pat(&mut self, cx: &LateContext<'_>, pat: &Pat<'_>) { method check_crate_post (line 176) | fn check_crate_post(&mut self, cx: &LateContext<'_>) { method add_enum_variant (line 232) | fn add_enum_variant(&mut self, local_def_id: LocalDefId) { method update_enum_variant_usage (line 250) | fn update_enum_variant_usage(&mut self, def_id: LocalDefId, parenthese... function has_brackets (line 268) | fn has_brackets(var_data: &VariantData<'_>) -> bool { function has_no_fields (line 272) | fn has_no_fields(cx: &LateContext<'_>, var_data: &VariantData<'_>, brace... function call_parentheses_span (line 281) | fn call_parentheses_span(tcx: TyCtxt<'_>, expr: &Expr<'_>) -> Option, expr: &Expr<'_>... function check_pat_for_enum_as_function (line 317) | fn check_pat_for_enum_as_function(cx: &LateContext<'_>, pat: &Pat<'_>) -... FILE: src/tools/clippy/clippy_lints/src/endian_bytes.rs constant HOST_NAMES (line 72) | const HOST_NAMES: [Symbol; 2] = [sym::from_ne_bytes, sym::to_ne_bytes]; constant LITTLE_NAMES (line 73) | const LITTLE_NAMES: [Symbol; 2] = [sym::from_le_bytes, sym::to_le_bytes]; constant BIG_NAMES (line 74) | const BIG_NAMES: [Symbol; 2] = [sym::from_be_bytes, sym::to_be_bytes]; type LintKind (line 77) | enum LintKind { method allowed (line 90) | fn allowed(&self, cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { method as_lint (line 94) | fn as_lint(&self) -> &'static Lint { method as_name (line 102) | fn as_name(&self, prefix: Prefix) -> Symbol { type Prefix (line 84) | enum Prefix { method check_expr (line 114) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { function maybe_lint_endian_bytes (line 135) | fn maybe_lint_endian_bytes(cx: &LateContext<'_>, expr: &Expr<'_>, prefix... FILE: src/tools/clippy/clippy_lints/src/entry.rs method check_expr (line 67) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { type MapType (line 218) | enum MapType { method name (line 223) | fn name(self) -> &'static str { method entry_path (line 229) | fn entry_path(self) -> &'static str { type ContainsExpr (line 247) | struct ContainsExpr<'tcx> { function try_parse_contains (line 262) | fn try_parse_contains<'tcx>(cx: &LateContext<'_>, expr: &'tcx Expr<'_>) ... type InsertExpr (line 307) | struct InsertExpr<'tcx> { function try_parse_insert (line 319) | fn try_parse_insert<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) ... type Edit (line 336) | enum Edit<'tcx> { function as_insertion (line 343) | fn as_insertion(self) -> Option> { type Insertion (line 348) | struct Insertion<'tcx> { type InsertSearcher (line 362) | struct InsertSearcher<'cx, 'tcx> { function visit_cond_arm (line 397) | fn visit_cond_arm(&mut self, e: &'tcx Expr<'_>) -> bool { function visit_non_tail_expr (line 409) | fn visit_non_tail_expr(&mut self, e: &'tcx Expr<'_>) { function visit_insert_expr_arguments (line 418) | fn visit_insert_expr_arguments(&mut self, e: &InsertExpr<'tcx>) { function visit_stmt (line 430) | fn visit_stmt(&mut self, stmt: &'tcx Stmt<'_>) { function visit_block (line 466) | fn visit_block(&mut self, block: &'tcx Block<'_>) { function visit_expr (line 495) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { function visit_pat (line 590) | fn visit_pat(&mut self, p: &'tcx Pat<'tcx>) { function is_any_expr_in_map_used (line 600) | fn is_any_expr_in_map_used<'tcx>( type InsertSearchResults (line 615) | struct InsertSearchResults<'tcx> { function as_single_insertion (line 622) | fn as_single_insertion(&self) -> Option> { function snippet (line 626) | fn snippet( function snippet_occupied (line 657) | fn snippet_occupied(&self, cx: &LateContext<'_>, span: Span, app: &mut A... function snippet_vacant (line 671) | fn snippet_vacant(&self, cx: &LateContext<'_>, span: Span, app: &mut App... function snippet_closure (line 694) | fn snippet_closure(&self, cx: &LateContext<'_>, mut span: Span, app: &mu... function find_insert_calls (line 722) | fn find_insert_calls<'tcx>( function is_mutex_guard (line 765) | fn is_mutex_guard(cx: &LateContext<'_>, def_id: DefId) -> bool { FILE: src/tools/clippy/clippy_lints/src/enum_clike.rs method check_item (line 37) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/equatable_if_let.rs function is_unary_pattern (line 44) | fn is_unary_pattern(pat: &Pat<'_>) -> bool { function is_structural_partial_eq (line 64) | fn is_structural_partial_eq<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>, ... function contains_type_mismatch (line 75) | fn contains_type_mismatch(cx: &LateContext<'_>, pat: &Pat<'_>) -> bool { method check_expr (line 105) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/error_impl_error.rs method check_item (line 39) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { function is_visible_outside_module (line 82) | fn is_visible_outside_module(cx: &LateContext<'_>, def_id: LocalDefId) -... FILE: src/tools/clippy/clippy_lints/src/escape.rs type BoxedLocal (line 16) | pub struct BoxedLocal { method new (line 21) | pub fn new(conf: &'static Conf) -> Self { method check_fn (line 67) | fn check_fn( function is_non_trait_box (line 55) | fn is_non_trait_box(ty: Ty<'_>) -> bool { type EscapeDelegate (line 59) | struct EscapeDelegate<'a, 'tcx> { function is_argument (line 124) | fn is_argument(tcx: TyCtxt<'_>, id: HirId) -> bool { function consume (line 137) | fn consume(&mut self, cmt: &PlaceWithHirId<'tcx>, _: HirId) { function use_cloned (line 146) | fn use_cloned(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId) {} function borrow (line 148) | fn borrow(&mut self, cmt: &PlaceWithHirId<'tcx>, _: HirId, _: ty::Borrow... function mutate (line 157) | fn mutate(&mut self, cmt: &PlaceWithHirId<'tcx>, _: HirId) { function fake_read (line 180) | fn fake_read(&mut self, _: &PlaceWithHirId<'tcx>, _: FakeReadCause, _: H... function is_large_box (line 184) | fn is_large_box(&self, ty: Ty<'tcx>) -> bool { FILE: src/tools/clippy/clippy_lints/src/eta_reduction.rs method check_expr (line 74) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { function check_closure (line 90) | fn check_closure<'tcx>(cx: &LateContext<'tcx>, outer_receiver: Option<&E... function check_inputs (line 299) | fn check_inputs( function check_sig (line 320) | fn check_sig<'tcx>(closure_sig: FnSig<'tcx>, call_sig: FnSig<'tcx>) -> b... function has_late_bound_to_non_late_bound_regions (line 328) | fn has_late_bound_to_non_late_bound_regions(from_sig: FnSig<'_>, to_sig:... function ty_has_static (line 384) | fn ty_has_static(ty: Ty<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/excessive_bools.rs type ExcessiveBools (line 96) | pub struct ExcessiveBools { method new (line 102) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 132) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx... method check_trait_item (line 153) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, trait_item: &'t... method check_fn (line 163) | fn check_fn( function has_n_bools (line 110) | fn has_n_bools<'tcx>(iter: impl Iterator>, mut cou... function check_fn_decl (line 118) | fn check_fn_decl(cx: &LateContext<'_>, decl: &FnDecl<'_>, sp: Span, max:... FILE: src/tools/clippy/clippy_lints/src/excessive_nesting.rs type ExcessiveNesting (line 67) | pub struct ExcessiveNesting { method new (line 73) | pub fn new(conf: &'static Conf) -> Self { method check_node_id (line 80) | pub fn check_node_id(&self, cx: &EarlyContext<'_>, span: Span, node_id... method check_crate (line 95) | fn check_crate(&mut self, cx: &EarlyContext<'_>, krate: &Crate) { method check_block (line 111) | fn check_block(&mut self, cx: &EarlyContext<'_>, block: &Block) { method check_item (line 115) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { type NestingVisitor (line 120) | struct NestingVisitor<'conf, 'cx> { function check_indent (line 127) | fn check_indent(&mut self, span: Span, id: NodeId) -> bool { function visit_block (line 141) | fn visit_block(&mut self, block: &Block) { function visit_item (line 162) | fn visit_item(&mut self, item: &Item) { FILE: src/tools/clippy/clippy_lints/src/exhaustive_items.rs method check_item (line 71) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/exit.rs method check_expr (line 58) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/explicit_write.rs type ExplicitWrite (line 44) | pub struct ExplicitWrite { method new (line 49) | pub fn new(format_args: FormatArgsStorage) -> Self { method check_expr (line 55) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function look_in_block (line 118) | fn look_in_block<'tcx, 'hir>(cx: &LateContext<'tcx>, kind: &'tcx ExprKin... FILE: src/tools/clippy/clippy_lints/src/extra_unused_type_parameters.rs type ExtraUnusedTypeParameters (line 45) | pub struct ExtraUnusedTypeParameters { method new (line 50) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 259) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx... method check_impl_item (line 277) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Impl... type TypeWalker (line 59) | struct TypeWalker<'cx, 'tcx> { function new (line 73) | fn new(cx: &'cx LateContext<'tcx>, generics: &'tcx Generics<'tcx>) -> Se... function get_bound_span (line 92) | fn get_bound_span(&self, param: &'tcx GenericParam<'tcx>) -> Span { function emit_help (line 98) | fn emit_help(&self, spans: Vec, msg: String, help: &'static str) { function emit_sugg (line 102) | fn emit_sugg(&self, spans: Vec, msg: String, help: &'static str) { function emit_lint (line 109) | fn emit_lint(&self) { function bound_to_trait_def_id (line 196) | fn bound_to_trait_def_id(bound: &GenericBound<'_>) -> Option { type NestedFilter (line 201) | type NestedFilter = nested_filter::OnlyBodies; function visit_ty (line 203) | fn visit_ty(&mut self, t: &'tcx Ty<'tcx, AmbigArg>) { function visit_where_predicate (line 211) | fn visit_where_predicate(&mut self, predicate: &'tcx WherePredicate<'tcx... function maybe_tcx (line 249) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function is_empty_body (line 254) | fn is_empty_body(cx: &LateContext<'_>, body: BodyId) -> bool { FILE: src/tools/clippy/clippy_lints/src/fallible_impl_from.rs method check_item (line 53) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::Item<'... function lint_impl_body (line 64) | fn lint_impl_body(cx: &LateContext<'_>, item_def_id: hir::OwnerId, impl_... FILE: src/tools/clippy/clippy_lints/src/field_scoped_visibility_modifiers.rs method check_item (line 55) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { FILE: src/tools/clippy/clippy_lints/src/float_literal.rs type FloatLiteral (line 66) | pub struct FloatLiteral { method new (line 71) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 79) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr... function max_digits (line 177) | fn max_digits(fty: FloatTy) -> u32 { function count_digits (line 188) | fn count_digits(s: &str) -> usize { type FloatFormat (line 199) | enum FloatFormat { method new (line 206) | fn new(s: &str) -> Self { method format (line 215) | fn format(&self, f: T) -> String function maybe_let_stmt (line 227) | fn maybe_let_stmt<'a>(cx: &LateContext<'a>, expr: &hir::Expr<'_>) -> Opt... FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/custom_abs.rs function is_testing_positive (line 17) | fn is_testing_positive(cx: &LateContext<'_>, expr: &Expr<'_>, test: &Exp... function is_testing_negative (line 30) | fn is_testing_negative(cx: &LateContext<'_>, expr: &Expr<'_>, test: &Exp... function is_zero (line 43) | fn is_zero(cx: &LateContext<'_>, expr: &Expr<'_>, ctxt: SyntaxContext) -... function are_negated (line 58) | fn are_negated<'a>(cx: &LateContext<'_>, expr1: &'a Expr<'a>, expr2: &'a... function check (line 72) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/expm1.rs function check (line 15) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/hypot.rs function detect (line 13) | pub(super) fn detect(cx: &LateContext<'_>, receiver: &Expr<'_>, app: &mu... function check (line 69) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, receiver: &Ex... FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/lib.rs function prepare_receiver_sugg (line 9) | pub(super) fn prepare_receiver_sugg<'a>( FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/ln1p.rs function check (line 13) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, receiver: &Ex... FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/log_base.rs function get_specialized_log_method (line 16) | fn get_specialized_log_method(cx: &LateContext<'_>, base: &Expr<'_>, ctx... function check (line 30) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, receiver: &Ex... FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/log_division.rs function are_same_base_logs (line 11) | fn are_same_base_logs(cx: &LateContext<'_>, expr_a: &Expr<'_>, expr_b: &... function check (line 24) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/mod.rs method check_expr (line 109) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/mul_add.rs function is_float_mul_expr (line 12) | fn is_float_mul_expr<'a>(cx: &LateContext<'_>, expr: &'a Expr<'a>) -> Op... function check (line 29) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/powf.rs function get_integer_from_float_constant (line 19) | fn get_integer_from_float_constant(value: &Constant) -> Option { function check (line 39) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, receiver: &Ex... FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/powi.rs function check (line 13) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, receiver: &Ex... FILE: src/tools/clippy/clippy_lints/src/floating_point_arithmetic/radians.rs function check (line 15) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/format.rs type UselessFormat (line 44) | pub struct UselessFormat { method new (line 49) | pub fn new(format_args: FormatArgsStorage) -> Self { method check_expr (line 55) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function span_useless_format_empty (line 107) | fn span_useless_format_empty(cx: &LateContext<'_>, span: Span, sugg: Str... function span_useless_format (line 119) | fn span_useless_format(cx: &LateContext<'_>, span: Span, sugg: String, a... FILE: src/tools/clippy/clippy_lints/src/format_args.rs type FormatArgs (line 271) | pub struct FormatArgs<'tcx> { function new (line 281) | pub fn new(tcx: TyCtxt<'tcx>, conf: &'static Conf, format_args: FormatAr... function check_expr (line 295) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { type FormatArgsExpr (line 322) | struct FormatArgsExpr<'a, 'tcx> { function check_trailing_comma (line 336) | fn check_trailing_comma(&self) { function check_templates (line 358) | fn check_templates(&mut self) { function check_unused_format_specifier (line 395) | fn check_unused_format_specifier(&self, placeholder: &FormatPlaceholder,... function check_uninlined_args (line 445) | fn check_uninlined_args(&self) { function check_one_arg (line 499) | fn check_one_arg(&self, pos: &FormatArgPosition, usage: FormatParamUsage... function check_format_in_format_args (line 527) | fn check_format_in_format_args(&self, name: Symbol, arg: &Expr<'_>) { function check_to_string_in_format_args (line 550) | fn check_to_string_in_format_args(&self, name: Symbol, value: &Expr<'_>) { function check_unnecessary_debug_formatting (line 596) | fn check_unnecessary_debug_formatting(&self, name: Symbol, value: &Expr<... function format_arg_positions (line 634) | fn format_arg_positions(&self) -> impl Iterator bool { function can_display_format (line 661) | fn can_display_format(&self, ty: Ty<'tcx>) -> bool { function has_pointer_debug (line 684) | fn has_pointer_debug(&mut self, ty: Ty<'tcx>, depth: usize) -> bool { function make_ty_msrv_map (line 737) | fn make_ty_msrv_map(tcx: TyCtxt<'_>) -> FxHashMap, Option(mut ty: Ty<'tcx>, mut iter: I) -> (usize... FILE: src/tools/clippy/clippy_lints/src/format_impl.rs type FormatTraitNames (line 96) | struct FormatTraitNames { type FormatImpl (line 103) | pub struct FormatImpl { method new (line 110) | pub fn new(format_args: FormatArgsStorage) -> Self { method check_impl_item (line 119) | fn check_impl_item(&mut self, cx: &LateContext<'_>, impl_item: &ImplIt... method check_impl_item_post (line 123) | fn check_impl_item_post(&mut self, cx: &LateContext<'_>, impl_item: &I... method check_expr (line 130) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { type FormatImplExpr (line 145) | struct FormatImplExpr<'a, 'tcx> { function check_to_string_in_display (line 153) | fn check_to_string_in_display(&self) { function check_self_in_format_args (line 181) | fn check_self_in_format_args(&self) { function check_format_arg_self (line 212) | fn check_format_arg_self(&self, arg: &Expr<'_>) { function check_print_in_format_impl (line 229) | fn check_print_in_format_impl(&self) { function is_format_trait_impl (line 258) | fn is_format_trait_impl(cx: &LateContext<'_>, impl_item: &ImplItem<'_>) ... FILE: src/tools/clippy/clippy_lints/src/format_push_string.rs type FormatPushString (line 47) | pub(crate) struct FormatPushString { method new (line 72) | pub(crate) fn new(format_args: FormatArgsStorage) -> Self { method find_formats (line 76) | fn find_formats<'tcx>(&self, cx: &LateContext<'_>, e: &'tcx Expr<'tcx>... method check_expr (line 123) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { type FormatSearchResults (line 51) | enum FormatSearchResults { function is_string (line 192) | fn is_string(cx: &LateContext<'_>, e: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/formatting.rs method check_block (line 149) | fn check_block(&mut self, cx: &EarlyContext<'_>, block: &Block) { method check_expr (line 157) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { function check_assign (line 166) | fn check_assign(cx: &EarlyContext<'_>, expr: &Expr) { function check_unop (line 195) | fn check_unop(cx: &EarlyContext<'_>, expr: &Expr) { function check_else (line 227) | fn check_else(cx: &EarlyContext<'_>, expr: &Expr) { function has_unary_equivalent (line 279) | fn has_unary_equivalent(bin_op: BinOpKind) -> bool { function indentation (line 284) | fn indentation(cx: &EarlyContext<'_>, span: Span) -> usize { function check_array (line 289) | fn check_array(cx: &EarlyContext<'_>, expr: &Expr) { function check_missing_else (line 314) | fn check_missing_else(cx: &EarlyContext<'_>, first: &Expr, second: &Expr) { function is_block (line 345) | fn is_block(expr: &Expr) -> bool { function is_if (line 350) | fn is_if(expr: &Expr) -> bool { FILE: src/tools/clippy/clippy_lints/src/four_forward_slashes.rs method check_item (line 42) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { function contains_bare_cr (line 113) | fn contains_bare_cr(text: &str) -> bool { FILE: src/tools/clippy/clippy_lints/src/from_over_into.rs type FromOverInto (line 57) | pub struct FromOverInto { method new (line 62) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 68) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { type SelfFinder (line 125) | struct SelfFinder<'a, 'tcx> { type Result (line 134) | type Result = ControlFlow<()>; type NestedFilter (line 135) | type NestedFilter = OnlyBodies; function maybe_tcx (line 137) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function visit_path (line 141) | fn visit_path(&mut self, path: &Path<'tcx>, _id: HirId) -> Self::Result { function visit_name (line 157) | fn visit_name(&mut self, name: Symbol) -> Self::Result { function convert_to_from (line 166) | fn convert_to_from( FILE: src/tools/clippy/clippy_lints/src/from_raw_with_void_ptr.rs method check_expr (line 42) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { function def_id_matches_type (line 66) | fn def_id_matches_type(cx: &LateContext<'_>, def_id: DefId) -> Option<&'... FILE: src/tools/clippy/clippy_lints/src/from_str_radix_10.rs method check_expr (line 46) | fn check_expr(&mut self, cx: &LateContext<'tcx>, exp: &Expr<'tcx>) { function is_ty_stringish (line 91) | fn is_ty_stringish(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/functions/duplicate_underscore_argument.rs function check (line 10) | pub(super) fn check(cx: &EarlyContext<'_>, fn_kind: FnKind<'_>) { FILE: src/tools/clippy/clippy_lints/src/functions/impl_trait_in_params.rs function report (line 12) | fn report(cx: &LateContext<'_>, param: &GenericParam<'_>, generics: &Gen... function check_fn (line 40) | pub(super) fn check_fn<'tcx>(cx: &LateContext<'_>, kind: &'tcx FnKind<'_... function check_impl_item (line 53) | pub(super) fn check_impl_item(cx: &LateContext<'_>, impl_item: &ImplItem... function check_trait_item (line 70) | pub(super) fn check_trait_item(cx: &LateContext<'_>, trait_item: &TraitI... FILE: src/tools/clippy/clippy_lints/src/functions/misnamed_getters.rs function check_fn (line 14) | pub fn check_fn(cx: &LateContext<'_>, kind: FnKind<'_>, decl: &FnDecl<'_... FILE: src/tools/clippy/clippy_lints/src/functions/mod.rs method check_fn (line 494) | fn check_fn(&mut self, cx: &EarlyContext<'_>, fn_kind: visit::FnKind<'_>... type Functions (line 499) | pub struct Functions { method new (line 512) | pub fn new(tcx: TyCtxt<'_>, conf: &'static Conf) -> Self { method check_fn (line 534) | fn check_fn( method check_item (line 561) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::Item... method check_impl_item (line 572) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir:... method check_trait_item (line 585) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir... method check_expr (line 600) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr... FILE: src/tools/clippy/clippy_lints/src/functions/must_use.rs function check_item (line 25) | pub(super) fn check_item<'tcx>(cx: &LateContext<'tcx>, item: &'tcx hir::... function check_impl_item (line 63) | pub(super) fn check_impl_item<'tcx>(cx: &LateContext<'tcx>, item: &'tcx ... function check_trait_item (line 95) | pub(super) fn check_trait_item<'tcx>(cx: &LateContext<'tcx>, item: &'tcx... function check_needless_must_use (line 133) | fn check_needless_must_use( function check_must_use_candidate (line 195) | fn check_must_use_candidate<'tcx>( function returns_unit (line 233) | fn returns_unit(decl: &hir::FnDecl<'_>) -> bool { function has_mutable_arg (line 244) | fn has_mutable_arg(cx: &LateContext<'_>, body: &hir::Body<'_>) -> bool { function is_mutable_pat (line 249) | fn is_mutable_pat(cx: &LateContext<'_>, pat: &hir::Pat<'_>, tys: &mut De... function is_mutable_ty (line 260) | fn is_mutable_ty<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>, tys: &mut D... function is_mutated_static (line 278) | fn is_mutated_static(e: &hir::Expr<'_>) -> bool { function mutates_static (line 289) | fn mutates_static<'tcx>(cx: &LateContext<'tcx>, body: &'tcx hir::Body<'_... FILE: src/tools/clippy/clippy_lints/src/functions/not_unsafe_ptr_arg_deref.rs function check_fn (line 16) | pub(super) fn check_fn<'tcx>( function check_trait_item (line 32) | pub(super) fn check_trait_item<'tcx>(cx: &LateContext<'tcx>, item: &'tcx... function check_raw_ptr (line 39) | fn check_raw_ptr<'tcx>( function raw_ptr_arg (line 78) | fn raw_ptr_arg(cx: &LateContext<'_>, arg: &hir::Param<'_>) -> Option, raw_ptrs: &HirIdSet, arg: &hir::Expr<... FILE: src/tools/clippy/clippy_lints/src/functions/ref_option.rs function check_ty (line 14) | fn check_ty<'a>(cx: &LateContext<'a>, param: &hir::Ty<'a>, param_ty: Ty<... function check_fn_sig (line 42) | fn check_fn_sig<'a>(cx: &LateContext<'a>, decl: &FnDecl<'a>, span: Span,... function check_fn (line 66) | pub(crate) fn check_fn<'a>( function check_trait_item (line 120) | pub(super) fn check_trait_item<'a>( FILE: src/tools/clippy/clippy_lints/src/functions/renamed_function_params.rs function check_impl_item (line 12) | pub(super) fn check_impl_item(cx: &LateContext<'_>, item: &ImplItem<'_>,... type RenamedFnArgs (line 48) | struct RenamedFnArgs(Vec<(Span, String)>); method new (line 53) | fn new(default_idents: &mut I1, current_idents: &mut I2) -> Self method multi_span (line 79) | fn multi_span(&self) -> MultiSpan { function is_from_ignored_trait (line 89) | fn is_from_ignored_trait(of_trait: &TraitRef<'_>, ignored_traits: &DefId... FILE: src/tools/clippy/clippy_lints/src/functions/result.rs function result_err_ty (line 18) | fn result_err_ty<'tcx>( function check_item (line 39) | pub(super) fn check_item<'tcx>( function check_impl_item (line 57) | pub(super) fn check_impl_item<'tcx>( function check_trait_item (line 77) | pub(super) fn check_trait_item<'tcx>( function check_result_unit_err (line 95) | fn check_result_unit_err(cx: &LateContext<'_>, err_ty: Ty<'_>, fn_header... function check_result_large_err (line 108) | fn check_result_large_err<'tcx>( function check_expr (line 177) | pub(super) fn check_expr<'tcx>( FILE: src/tools/clippy/clippy_lints/src/functions/too_many_arguments.rs function check_fn (line 13) | pub(super) fn check_fn( function check_trait_item (line 30) | pub(super) fn check_trait_item(cx: &LateContext<'_>, item: &hir::TraitIt... function check_arg_number (line 44) | fn check_arg_number(cx: &LateContext<'_>, decl: &hir::FnDecl<'_>, fn_spa... FILE: src/tools/clippy/clippy_lints/src/functions/too_many_lines.rs function check_fn (line 11) | pub(super) fn check_fn( FILE: src/tools/clippy/clippy_lints/src/future_not_send.rs method check_fn (line 65) | fn check_fn( type TyParamAtTopLevelVisitor (line 145) | struct TyParamAtTopLevelVisitor; type Result (line 147) | type Result = ControlFlow; method visit_ty (line 148) | fn visit_ty(&mut self, ty: Ty<'tcx>) -> Self::Result { FILE: src/tools/clippy/clippy_lints/src/if_let_mutex.rs method check_expr (line 53) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { function mutex_lock_call (line 90) | fn mutex_lock_call<'tcx>( FILE: src/tools/clippy/clippy_lints/src/if_not_else.rs method check_expr (line 52) | fn check_expr(&mut self, cx: &LateContext<'_>, e: &Expr<'_>) { function make_sugg (line 107) | fn make_sugg<'a>( FILE: src/tools/clippy/clippy_lints/src/if_then_some_else_none.rs type IfThenSomeElseNone (line 55) | pub struct IfThenSomeElseNone { method new (line 60) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 66) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... FILE: src/tools/clippy/clippy_lints/src/ifs/branches_sharing_code.rs function check (line 20) | pub(super) fn check<'tcx>( type BlockEq (line 103) | struct BlockEq { method start_span (line 113) | fn start_span(&self, b: &Block<'_>, sm: &SourceMap) -> Option { method end_span (line 121) | fn end_span(&self, b: &Block<'_>, sm: &SourceMap) -> Option { function eq_binding_names (line 133) | fn eq_binding_names(cx: &LateContext<'_>, s: &Stmt<'_>, names: &[(HirId,... function modifies_any_local (line 164) | fn modifies_any_local<'tcx>(cx: &LateContext<'tcx>, s: &'tcx Stmt<'_>, l... function eq_stmts (line 180) | fn eq_stmts( function scan_block_for_eq (line 203) | fn scan_block_for_eq<'tcx>( function adjust_by_closest_callsite (line 380) | fn adjust_by_closest_callsite<'tcx>( function check_for_warn_of_moved_symbol (line 398) | fn check_for_warn_of_moved_symbol(cx: &LateContext<'_>, symbols: &[(HirI... function is_expr_parent_assignment (line 426) | fn is_expr_parent_assignment(cx: &LateContext<'_>, expr: &Expr<'_>) -> b... FILE: src/tools/clippy/clippy_lints/src/ifs/if_same_then_else.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, conds: &[&Expr<'_>], blocks: &... FILE: src/tools/clippy/clippy_lints/src/ifs/ifs_same_cond.rs function method_caller_is_mutable (line 10) | fn method_caller_is_mutable<'tcx>( function check (line 26) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, conds: &[&Expr<'_>], i... FILE: src/tools/clippy/clippy_lints/src/ifs/mod.rs type CopyAndPaste (line 157) | pub struct CopyAndPaste<'tcx> { function new (line 162) | pub fn new(tcx: TyCtxt<'tcx>, conf: &'static Conf) -> Self { function check_expr (line 170) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/ifs/same_functions_in_if_cond.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, conds: &[&Expr<'_>]) { FILE: src/tools/clippy/clippy_lints/src/ignored_unit_patterns.rs method check_pat (line 40) | fn check_pat(&mut self, cx: &LateContext<'tcx>, pat: &'tcx hir::Pat<'tcx... FILE: src/tools/clippy/clippy_lints/src/impl_hash_with_borrow_str_and_bytes.rs method check_item (line 79) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/implicit_hasher.rs method check_item (line 62) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { type ImplicitHasherType (line 204) | enum ImplicitHasherType<'tcx> { function new (line 211) | fn new(cx: &LateContext<'tcx>, hir_ty: &hir::Ty<'tcx>) -> Option { function type_name (line 246) | fn type_name(&self) -> &'static str { function type_arguments (line 253) | fn type_arguments(&self) -> String { function ty (line 260) | fn ty(&self) -> Ty<'tcx> { function span (line 266) | fn span(&self) -> Span { type ImplicitHasherTypeVisitor (line 273) | struct ImplicitHasherTypeVisitor<'a, 'tcx> { function new (line 279) | fn new(cx: &'a LateContext<'tcx>) -> Self { function visit_ty (line 285) | fn visit_ty(&mut self, t: &'tcx hir::Ty<'_, AmbigArg>) { type ImplicitHasherConstructorVisitor (line 295) | struct ImplicitHasherConstructorVisitor<'a, 'b, 'tcx> { function new (line 303) | fn new(cx: &'a LateContext<'tcx>, target: &'b ImplicitHasherType<'tcx>) ... type NestedFilter (line 314) | type NestedFilter = nested_filter::OnlyBodies; function visit_body (line 316) | fn visit_body(&mut self, body: &Body<'tcx>) { function visit_expr (line 322) | fn visit_expr(&mut self, e: &'tcx Expr<'_>) { function maybe_tcx (line 365) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { FILE: src/tools/clippy/clippy_lints/src/implicit_return.rs function lint_return (line 46) | fn lint_return(cx: &LateContext<'_>, emission_place: HirId, span: Span) { function lint_break (line 61) | fn lint_break(cx: &LateContext<'_>, emission_place: HirId, break_span: S... type LintLocation (line 82) | enum LintLocation { method still_parent (line 89) | fn still_parent(self, b: bool) -> Self { method is_parent (line 93) | fn is_parent(self) -> bool { function get_call_site (line 99) | fn get_call_site(span: Span, ctxt: SyntaxContext) -> Option { function lint_implicit_returns (line 103) | fn lint_implicit_returns( method check_fn (line 222) | fn check_fn( FILE: src/tools/clippy/clippy_lints/src/implicit_saturating_add.rs method check_expr (line 43) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { function get_int_max (line 99) | fn get_int_max(ty: Ty<'_>) -> Option { function get_const (line 118) | fn get_const<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) -> Option<... function invert_op (line 132) | fn invert_op(op: BinOpKind) -> Option { FILE: src/tools/clippy/clippy_lints/src/implicit_saturating_sub.rs type ImplicitSaturatingSub (line 87) | pub struct ImplicitSaturatingSub { method new (line 92) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 98) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... function check_manual_check (line 123) | fn check_manual_check<'tcx>( function check_gt (line 176) | fn check_gt( function is_side_effect_free (line 202) | fn is_side_effect_free(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function check_subtraction (line 207) | fn check_subtraction( function check_with_condition (line 306) | fn check_with_condition<'tcx>( function subtracts_one (line 381) | fn subtracts_one<'a>(cx: &LateContext<'_>, expr: &'a Expr<'a>) -> Option... function print_lint_and_sugg (line 402) | fn print_lint_and_sugg(cx: &LateContext<'_>, var_name: Symbol, expr: &Ex... FILE: src/tools/clippy/clippy_lints/src/implied_bounds_in_impls.rs function emit_lint (line 53) | fn emit_lint( function try_resolve_type (line 143) | fn try_resolve_type<'tcx>( function is_same_generics (line 179) | fn is_same_generics<'tcx>( type ImplTraitBound (line 216) | struct ImplTraitBound<'tcx> { function collect_supertrait_bounds (line 235) | fn collect_supertrait_bounds<'tcx>(cx: &LateContext<'tcx>, bounds: Gener... function find_bound_in_supertraits (line 264) | fn find_bound_in_supertraits<'a, 'tcx>( function check (line 290) | fn check<'tcx>(cx: &LateContext<'tcx>, bounds: GenericBounds<'tcx>) { method check_generics (line 328) | fn check_generics(&mut self, cx: &LateContext<'tcx>, generics: &rustc_hi... method check_ty (line 341) | fn check_ty(&mut self, cx: &LateContext<'tcx>, ty: &rustc_hir::Ty<'tcx, ... FILE: src/tools/clippy/clippy_lints/src/incompatible_msrv.rs type Availability (line 77) | enum Availability { type StdCrates (line 83) | struct StdCrates([Option; 6]); method new (line 85) | fn new(tcx: TyCtxt<'_>) -> Self { method contains (line 102) | fn contains(&self, krate: CrateNum) -> bool { type IncompatibleMsrv (line 107) | pub struct IncompatibleMsrv { method new (line 119) | pub fn new(tcx: TyCtxt<'_>, conf: &'static Conf) -> Self { method get_def_id_availability (line 132) | fn get_def_id_availability(&mut self, tcx: TyCtxt<'_>, def_id: DefId, ... method emit_lint_if_under_msrv (line 168) | fn emit_lint_if_under_msrv( method check_expr (line 220) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... method check_ty (line 256) | fn check_ty(&mut self, cx: &LateContext<'tcx>, hir_ty: &'tcx hir::Ty<'... function is_under_cfg_attribute (line 269) | fn is_under_cfg_attribute(cx: &LateContext<'_>, hir_id: HirId) -> bool { FILE: src/tools/clippy/clippy_lints/src/inconsistent_struct_constructor.rs type InconsistentStructConstructor (line 71) | pub struct InconsistentStructConstructor { method new (line 76) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 84) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr... function is_consistent_order (line 139) | fn is_consistent_order<'tcx>(fields: &'tcx [hir::ExprField<'tcx>], def_o... function suggestion (line 152) | fn suggestion<'tcx>( function field_with_attrs_span (line 186) | fn field_with_attrs_span(tcx: TyCtxt<'_>, field: &hir::ExprField<'_>) ->... FILE: src/tools/clippy/clippy_lints/src/index_refutable_slice.rs type IndexRefutableSlice (line 58) | pub struct IndexRefutableSlice { method new (line 64) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 73) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr... function find_slice_values (line 90) | fn find_slice_values(cx: &LateContext<'_>, pat: &hir::Pat<'_>) -> FxInde... function lint_slice (line 129) | fn lint_slice(cx: &LateContext<'_>, slice: &SliceLintInformation) { type SliceLintInformation (line 180) | struct SliceLintInformation { method new (line 188) | fn new(ident: Ident, needs_ref: bool) -> Self { function filter_lintable_slices (line 198) | fn filter_lintable_slices<'tcx>( type SliceIndexLintingVisitor (line 215) | struct SliceIndexLintingVisitor<'a, 'tcx> { type NestedFilter (line 222) | type NestedFilter = nested_filter::OnlyBodies; function maybe_tcx (line 224) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function visit_expr (line 228) | fn visit_expr(&mut self, expr: &'tcx hir::Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/indexing_slicing.rs type IndexingSlicing (line 97) | pub struct IndexingSlicing { method new (line 103) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 112) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function to_const_range (line 236) | fn to_const_range(cx: &LateContext<'_>, range: higher::Range<'_>, array_... function ty_has_applicable_get_function (line 263) | fn ty_has_applicable_get_function<'tcx>( FILE: src/tools/clippy/clippy_lints/src/ineffective_open_options.rs method check_expr (line 46) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/infallible_try_from.rs method check_item (line 47) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/infinite_iter.rs method check_expr (line 56) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { type Finiteness (line 69) | enum Finiteness { method and (line 79) | fn and(self, b: Self) -> Self { method or (line 88) | fn or(self, b: Self) -> Self { method from (line 98) | fn from(b: bool) -> Self { type Heuristic (line 106) | enum Heuristic { constant HEURISTICS (line 124) | const HEURISTICS: [(Symbol, usize, Heuristic, Finiteness); 19] = [ function is_infinite (line 146) | fn is_infinite(cx: &LateContext<'_>, expr: &Expr<'_>) -> Finiteness { constant POSSIBLY_COMPLETING_METHODS (line 188) | const POSSIBLY_COMPLETING_METHODS: [(Symbol, usize); 6] = [ constant COMPLETING_METHODS (line 199) | const COMPLETING_METHODS: [(Symbol, usize); 12] = [ function complete_infinite_iter (line 214) | fn complete_infinite_iter(cx: &LateContext<'_>, expr: &Expr<'_>) -> Fini... FILE: src/tools/clippy/clippy_lints/src/inherent_impl.rs type MultipleInherentImpl (line 52) | pub struct MultipleInherentImpl { method new (line 57) | pub fn new(conf: &'static Conf) -> Self { method check_crate_post (line 72) | fn check_crate_post(&mut self, cx: &LateContext<'tcx>) { type Criterion (line 65) | enum Criterion { function get_impl_span (line 166) | fn get_impl_span(cx: &LateContext<'_>, id: LocalDefId) -> Option { type IdOrSpan (line 180) | enum IdOrSpan { FILE: src/tools/clippy/clippy_lints/src/inherent_to_string.rs method check_impl_item (line 97) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, impl_item: &'tcx I... function show_lint (line 120) | fn show_lint(cx: &LateContext<'_>, item: &ImplItem<'_>) { FILE: src/tools/clippy/clippy_lints/src/init_numbered_fields.rs method check_expr (line 45) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/inline_fn_without_body.rs method check_trait_item (line 32) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Trait... FILE: src/tools/clippy/clippy_lints/src/int_plus_one.rs type LeOrGe (line 47) | enum LeOrGe { type Error (line 53) | type Error = (); method try_from (line 54) | fn try_from(value: BinOpKind) -> Result { method is_one (line 64) | fn is_one(expr: &Expr) -> bool { method is_neg_one (line 73) | fn is_neg_one(expr: &Expr) -> bool { method as_x_plus_one (line 82) | fn as_x_plus_one(expr: &Expr) -> Option<&Expr> { method as_x_minus_one (line 98) | fn as_x_minus_one(expr: &Expr) -> Option<&Expr> { method check_binop (line 111) | fn check_binop<'tcx>(le_or_ge: LeOrGe, lhs: &'tcx Expr, rhs: &'tcx Expr)... method emit_warning (line 128) | fn emit_warning(cx: &EarlyContext<'_>, expr: &Expr, new_lhs: &Expr, le_o... method check_expr (line 151) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { FILE: src/tools/clippy/clippy_lints/src/item_name_repetitions.rs type ItemNameRepetitions (line 166) | pub struct ItemNameRepetitions { method new (line 189) | pub fn new(conf: &'static Conf) -> Self { method is_allowed_prefix (line 201) | fn is_allowed_prefix(&self, prefix: &str) -> bool { method check_variants (line 213) | fn check_variants(&self, cx: &LateContext<'_>, item: &Item<'_>, def: &... method check_fields (line 235) | fn check_fields(&self, cx: &LateContext<'_>, item: &Item<'_>, fields: ... method check_enum_common_affix (line 244) | fn check_enum_common_affix(cx: &LateContext<'_>, item: &Item<'_>, def:... method check_struct_common_affix (line 294) | fn check_struct_common_affix(&self, cx: &LateContext<'_>, item: &Item<... method check_struct_name_repetition (line 367) | fn check_struct_name_repetition(&self, cx: &LateContext<'_>, item: &It... method check_item_post (line 472) | fn check_item_post(&mut self, _: &LateContext<'_>, item: &Item<'_>) { method check_body (line 479) | fn check_body(&mut self, _: &LateContext<'_>, _: &Body<'_>) { method check_body_post (line 485) | fn check_body_post(&mut self, _: &LateContext<'_>, _: &Body<'_>) { method check_item (line 491) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { type ModInfo (line 177) | struct ModInfo { function have_no_extra_prefix (line 207) | fn have_no_extra_prefix(prefixes: &[&str]) -> bool { function check_enum_start (line 414) | fn check_enum_start(cx: &LateContext<'_>, item_name: &str, variant: &Var... function check_enum_end (line 433) | fn check_enum_end(cx: &LateContext<'_>, item_name: &str, variant: &Varia... function check_enum_tuple_path_match (line 452) | fn check_enum_tuple_path_match(variant_name: &str, variant_data: Variant... FILE: src/tools/clippy/clippy_lints/src/items_after_statements.rs method check_block (line 53) | fn check_block(&mut self, cx: &LateContext<'_>, block: &Block<'_>) { FILE: src/tools/clippy/clippy_lints/src/items_after_test_module.rs function cfg_test_module (line 46) | fn cfg_test_module<'tcx>(cx: &LateContext<'tcx>, item: &Item<'tcx>) -> b... method check_mod (line 60) | fn check_mod(&mut self, cx: &LateContext<'_>, module: &Mod<'_>, _: HirId) { FILE: src/tools/clippy/clippy_lints/src/iter_not_returning_iterator.rs method check_trait_item (line 45) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Trait... method check_impl_item (line 53) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx ImplIt... function check_sig (line 66) | fn check_sig(cx: &LateContext<'_>, name: Symbol, sig: &FnSig<'_>, fn_id:... FILE: src/tools/clippy/clippy_lints/src/iter_over_hash_type.rs method check_expr (line 41) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &'_ rustc_hir::Expr... FILE: src/tools/clippy/clippy_lints/src/iter_without_into_iter.rs function is_nameable_in_impl_trait (line 117) | fn is_nameable_in_impl_trait(ty: &rustc_hir::Ty<'_>) -> bool { function is_ty_exported (line 121) | fn is_ty_exported(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { method check_item (line 128) | fn check_item(&mut self, cx: &LateContext<'_>, item: &rustc_hir::Item<'_... method check_impl_item (line 195) | fn check_impl_item(&mut self, cx: &LateContext<'_>, item: &rustc_hir::Im... FILE: src/tools/clippy/clippy_lints/src/large_const_arrays.rs type LargeConstArrays (line 37) | pub struct LargeConstArrays { method new (line 42) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 50) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/large_enum_variant.rs type LargeEnumVariant (line 63) | pub struct LargeEnumVariant { method new (line 68) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 76) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &Item<'tcx>) { function maybe_copy (line 161) | fn maybe_copy<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool { FILE: src/tools/clippy/clippy_lints/src/large_futures.rs type LargeFuture (line 45) | pub struct LargeFuture { method new (line 50) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 58) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... FILE: src/tools/clippy/clippy_lints/src/large_include_file.rs type LargeIncludeFile (line 43) | pub struct LargeIncludeFile { method new (line 48) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 56) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &'_ Expr<'_>) { method check_attribute (line 88) | fn check_attribute(&mut self, cx: &EarlyContext<'_>, attr: &Attribute) { FILE: src/tools/clippy/clippy_lints/src/large_stack_arrays.rs type LargeStackArrays (line 34) | pub struct LargeStackArrays { method new (line 41) | pub fn new(conf: &'static Conf) -> Self { method is_from_vec_macro (line 50) | fn is_from_vec_macro(&mut self, cx: &LateContext<'_>, span: Span) -> b... method check_item (line 67) | fn check_item(&mut self, _: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { method check_item_post (line 73) | fn check_item_post(&mut self, _: &LateContext<'tcx>, item: &'tcx Item<... method check_expr (line 79) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { function might_be_expanded (line 128) | fn might_be_expanded<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) ->... FILE: src/tools/clippy/clippy_lints/src/large_stack_frames.rs type LargeStackFrames (line 87) | pub struct LargeStackFrames { method new (line 93) | pub fn new(conf: &'static Conf) -> Self { method check_fn (line 140) | fn check_fn( type Space (line 102) | enum Space { method exceeds_limit (line 108) | pub fn exceeds_limit(self, limit: u64) -> bool { method fmt (line 117) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Output (line 127) | type Output = Self; method add (line 128) | fn add(self, rhs: u64) -> Self { FILE: src/tools/clippy/clippy_lints/src/legacy_numeric_constants.rs type LegacyNumericConstants (line 40) | pub struct LegacyNumericConstants { method new (line 45) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 51) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx... method check_expr (line 106) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx rustc_hir... function is_integer_module (line 149) | fn is_integer_module(cx: &LateContext<'_>, did: DefId) -> bool { function is_numeric_const (line 169) | fn is_numeric_const(cx: &LateContext<'_>, did: DefId) -> bool { function is_numeric_const_path_canonical (line 230) | fn is_numeric_const_path_canonical(expr_path: &hir::Path<'_>, [mod_name,... function is_integer_method (line 246) | fn is_integer_method(cx: &LateContext<'_>, did: DefId) -> bool { FILE: src/tools/clippy/clippy_lints/src/len_without_is_empty.rs method check_item (line 46) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { method check_impl_item (line 54) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx ImplIt... function check_trait_items (line 94) | fn check_trait_items(cx: &LateContext<'_>, visited_trait: &Item<'_>, ide... function extract_future_output (line 139) | fn extract_future_output<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> ... function is_first_generic_integral (line 157) | fn is_first_generic_integral<'tcx>(segment: &'tcx PathSegment<'tcx>) -> ... type LenOutput (line 171) | enum LenOutput { method new (line 178) | fn new<'tcx>(cx: &LateContext<'tcx>, sig: FnSig<'tcx>) -> Option { method matches_is_empty_output (line 211) | fn matches_is_empty_output<'tcx>(self, cx: &LateContext<'tcx>, is_empt... function expected_is_empty_sig (line 231) | fn expected_is_empty_sig(len_output: LenOutput, len_self_kind: ImplicitS... function check_is_empty_sig (line 249) | fn check_is_empty_sig<'tcx>( function check_for_is_empty (line 275) | fn check_for_is_empty( FILE: src/tools/clippy/clippy_lints/src/len_zero.rs type LenZero (line 93) | pub struct LenZero { method new (line 98) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 104) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_cmp (line 183) | fn check_cmp( method check_len (line 209) | fn check_len( method check_empty_expr (line 243) | fn check_empty_expr(&self, cx: &LateContext<'_>, span: Span, lit1: &Ex... function span_without_enclosing_paren (line 263) | fn span_without_enclosing_paren(cx: &LateContext<'_>, span: Span) -> Span { function is_empty_string (line 277) | fn is_empty_string(expr: &Expr<'_>) -> bool { function is_empty_array (line 287) | fn is_empty_array(expr: &Expr<'_>) -> bool { function has_is_empty (line 295) | fn has_is_empty(cx: &LateContext<'_>, expr: &Expr<'_>, msrv: Msrv) -> bo... FILE: src/tools/clippy/clippy_lints/src/let_if_seq.rs method check_block (line 60) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &'tcx hir::Bloc... function check_block_inner (line 75) | fn check_block_inner<'tcx>(cx: &LateContext<'tcx>, stmt: &'tcx hir::Stmt... function check_assign (line 147) | fn check_assign<'tcx>( FILE: src/tools/clippy/clippy_lints/src/let_underscore.rs method check_local (line 138) | fn check_local(&mut self, cx: &LateContext<'tcx>, local: &LetStmt<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/let_with_type_underscore.rs method check_local (line 31) | fn check_local(&mut self, cx: &EarlyContext<'_>, local: &Local) { FILE: src/tools/clippy/clippy_lints/src/lib.rs function explain (line 415) | pub fn explain(name: &str) -> i32 { function register_lint_passes (line 441) | pub fn register_lint_passes(store: &mut rustc_lint::LintStore, conf: &'s... FILE: src/tools/clippy/clippy_lints/src/lifetimes.rs type Lifetimes (line 133) | pub struct Lifetimes { method new (line 138) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 144) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { method check_impl_item (line 163) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Impl... method check_trait_item (line 180) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Tra... function check_fn_inner (line 202) | fn check_fn_inner<'tcx>( function could_use_elision (line 287) | fn could_use_elision<'tcx>( function allowed_lts_from (line 397) | fn allowed_lts_from(named_generics: &[GenericParam<'_>]) -> FxIndexSet(cx: &LateContext<'tcx>, func: &FnDecl<'t... function named_lifetime_occurrences (line 430) | fn named_lifetime_occurrences(lts: &[Lifetime]) -> Vec<(LocalDefId, usiz... function named_lifetime (line 447) | fn named_lifetime(lt: &Lifetime) -> Option { type RefVisitor (line 454) | struct RefVisitor<'a, 'tcx> { function new (line 462) | fn new(cx: &'a LateContext<'tcx>) -> Self { function all_lts (line 471) | fn all_lts(&self) -> Vec { function abort (line 479) | fn abort(&self) -> bool { function visit_lifetime (line 486) | fn visit_lifetime(&mut self, lifetime: &'tcx Lifetime) { function visit_poly_trait_ref (line 490) | fn visit_poly_trait_ref(&mut self, poly_tref: &'tcx PolyTraitRef<'tcx>) { function visit_ty (line 505) | fn visit_ty(&mut self, ty: &'tcx Ty<'_, AmbigArg>) { function has_where_lifetimes (line 527) | fn has_where_lifetimes<'tcx>(cx: &LateContext<'tcx>, generics: &'tcx Gen... type Usage (line 568) | struct Usage { type LifetimeChecker (line 576) | struct LifetimeChecker<'cx, 'tcx, F> { function new (line 590) | fn new(cx: &'cx LateContext<'tcx>, generics: &'tcx Generics<'_>) -> Life... function visit_where_bound_predicate (line 614) | fn visit_where_bound_predicate( type MaybeTyCtxt (line 636) | type MaybeTyCtxt = TyCtxt<'tcx>; type NestedFilter (line 637) | type NestedFilter = F; function visit_lifetime (line 640) | fn visit_lifetime(&mut self, lifetime: &'tcx Lifetime) { function visit_where_predicate (line 654) | fn visit_where_predicate(&mut self, predicate: &'tcx WherePredicate<'tcx... function visit_generic_args (line 670) | fn visit_generic_args(&mut self, generic_args: &'tcx GenericArgs<'tcx>) ... function visit_fn_decl (line 676) | fn visit_fn_decl(&mut self, fd: &'tcx FnDecl<'tcx>) -> Self::Result { function maybe_tcx (line 682) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function is_candidate_for_elision (line 689) | fn is_candidate_for_elision(fd: &FnDecl<'_>) -> bool { function report_extra_lifetimes (line 714) | fn report_extra_lifetimes<'tcx>(cx: &LateContext<'tcx>, func: &'tcx FnDe... function report_extra_impl_lifetimes (line 735) | fn report_extra_impl_lifetimes<'tcx>(cx: &LateContext<'tcx>, impl_: &'tc... function report_elidable_impl_lifetimes (line 767) | fn report_elidable_impl_lifetimes<'tcx>( type ElidableUsage (line 799) | enum ElidableUsage { function report_elidable_lifetimes (line 808) | fn report_elidable_lifetimes( function elision_suggestions (line 871) | fn elision_suggestions( type BodyLifetimeChecker (line 947) | struct BodyLifetimeChecker<'tcx> { function new (line 952) | fn new(cx: &LateContext<'tcx>) -> Self { type Result (line 958) | type Result = ControlFlow<()>; type NestedFilter (line 959) | type NestedFilter = middle_nested_filter::OnlyBodies; function maybe_tcx (line 961) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function visit_lifetime (line 965) | fn visit_lifetime(&mut self, lifetime: &'tcx Lifetime) -> ControlFlow<()> { FILE: src/tools/clippy/clippy_lints/src/literal_representation.rs type WarningType (line 158) | enum WarningType { method lint_and_text (line 168) | fn lint_and_text(&self) -> (&'static Lint, &'static str, &'static str) { method display (line 195) | fn display(&self, num_lit: &NumericLiteral<'_>, cx: &EarlyContext<'_>,... type LiteralDigitGrouping (line 204) | pub struct LiteralDigitGrouping { method new (line 222) | pub fn new(conf: &'static Conf) -> Self { method check_lit (line 228) | fn check_lit(&self, cx: &EarlyContext<'_>, lit: token::Lit, span: Span) { method check_for_mistyped_suffix (line 277) | fn check_for_mistyped_suffix(cx: &EarlyContext<'_>, span: Span, num_li... method is_literal_uuid_formatted (line 341) | fn is_literal_uuid_formatted(num_lit: &NumericLiteral<'_>) -> bool { method parts_consistent (line 363) | fn parts_consistent( method get_group_size (line 383) | fn get_group_size<'a>( method check_expr (line 209) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { constant UUID_GROUP_LENS (line 219) | const UUID_GROUP_LENS: [usize; 5] = [8, 4, 4, 4, 12]; type DecimalLiteralRepresentation (line 415) | pub struct DecimalLiteralRepresentation { method new (line 430) | pub fn new(conf: &'static Conf) -> Self { method check_lit (line 435) | fn check_lit(&self, cx: &EarlyContext<'_>, lit: token::Lit, span: Span) { method do_lint (line 452) | fn do_lint(digits: &str) -> Result<(), WarningType> { method check_expr (line 420) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { FILE: src/tools/clippy/clippy_lints/src/literal_string_with_formatting_args.rs function emit_lint (line 43) | fn emit_lint(cx: &LateContext<'_>, expr: &Expr<'_>, spans: &[(Span, Opti... method check_expr (line 85) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/loops/char_indices_as_byte_indices.rs constant BYTE_INDEX_METHODS (line 19) | const BYTE_INDEX_METHODS: &[Symbol] = &[ constant CONTINUE (line 37) | const CONTINUE: ControlFlow = ControlFlow::Continue(()); function check (line 39) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, pat: &Pat<'_>, iterabl... function check_index_usage (line 72) | fn check_index_usage<'tcx>( function index_consumed_at (line 131) | fn index_consumed_at<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... FILE: src/tools/clippy/clippy_lints/src/loops/empty_loop.rs function check (line 8) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, loop_block: &... FILE: src/tools/clippy/clippy_lints/src/loops/explicit_counter_loop.rs function check (line 17) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/loops/explicit_into_iter_loop.rs type AdjustKind (line 12) | enum AdjustKind { method borrow (line 20) | fn borrow(mutbl: AutoBorrowMutability) -> Self { method reborrow (line 27) | fn reborrow(mutbl: AutoBorrowMutability) -> Self { method display (line 34) | fn display(self) -> &'static str { function check (line 45) | pub(super) fn check(cx: &LateContext<'_>, self_arg: &Expr<'_>, call_expr... FILE: src/tools/clippy/clippy_lints/src/loops/explicit_iter_loop.rs function check (line 17) | pub(super) fn check( type AdjustKind (line 54) | enum AdjustKind { method borrow (line 63) | fn borrow(mutbl: Mutability) -> Self { method auto_borrow (line 70) | fn auto_borrow(mutbl: AutoBorrowMutability) -> Self { method reborrow (line 77) | fn reborrow(mutbl: Mutability) -> Self { method auto_reborrow (line 84) | fn auto_reborrow(mutbl: AutoBorrowMutability) -> Self { method display (line 91) | fn display(self) -> &'static str { function is_ref_iterable (line 106) | fn is_ref_iterable<'tcx>( FILE: src/tools/clippy/clippy_lints/src/loops/for_kv_map.rs function check (line 13) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/loops/infinite_loop.rs function check (line 15) | pub(super) fn check<'tcx>( function is_inside_unawaited_async_block (line 75) | fn is_inside_unawaited_async_block(cx: &LateContext<'_>, expr: &Expr<'_>... function is_async_block_awaited (line 97) | fn is_async_block_awaited(cx: &LateContext<'_>, async_expr: &Expr<'_>) -... function get_parent_fn_ret_ty (line 110) | fn get_parent_fn_ret_ty<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'_>) -... type LoopVisitor (line 149) | struct LoopVisitor<'hir, 'tcx> { function visit_expr (line 158) | fn visit_expr(&mut self, ex: &'hir Expr<'_>) { function is_never_return (line 206) | fn is_never_return(ret_ty: FnRetTy<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/loops/iter_next_loop.rs function check (line 8) | pub(super) fn check(cx: &LateContext<'_>, arg: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/loops/manual_find.rs function check (line 15) | pub(super) fn check<'tcx>( function get_binding (line 109) | fn get_binding(pat: &Pat<'_>) -> Option { function last_stmt_and_ret (line 126) | fn last_stmt_and_ret<'tcx>( FILE: src/tools/clippy/clippy_lints/src/loops/manual_flatten.rs function check (line 18) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/loops/manual_memcpy.rs function check (line 20) | pub(super) fn check<'tcx>( function build_manual_memcpy_suggestion (line 113) | fn build_manual_memcpy_suggestion<'tcx>( type MinifyingSugg (line 221) | struct MinifyingSugg<'a>(Sugg<'a>); method fmt (line 224) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function into_sugg (line 230) | fn into_sugg(self) -> Sugg<'a> { function from (line 236) | fn from(sugg: Sugg<'a>) -> Self { type Output (line 242) | type Output = MinifyingSugg<'static>; function add (line 243) | fn add(self, rhs: &MinifyingSugg<'static>) -> MinifyingSugg<'static> { type Output (line 253) | type Output = MinifyingSugg<'static>; function sub (line 254) | fn sub(self, rhs: &MinifyingSugg<'static>) -> MinifyingSugg<'static> { type Output (line 265) | type Output = MinifyingSugg<'static>; function add (line 266) | fn add(self, rhs: &MinifyingSugg<'static>) -> MinifyingSugg<'static> { type Output (line 276) | type Output = MinifyingSugg<'static>; function sub (line 277) | fn sub(self, rhs: &MinifyingSugg<'static>) -> MinifyingSugg<'static> { type Offset (line 289) | struct Offset { method negative (line 301) | fn negative(value: Sugg<'static>) -> Self { method positive (line 308) | fn positive(value: Sugg<'static>) -> Self { method empty (line 315) | fn empty() -> Self { type OffsetSign (line 295) | enum OffsetSign { function apply_offset (line 320) | fn apply_offset(lhs: &MinifyingSugg<'static>, rhs: &Offset) -> Minifying... type StartKind (line 328) | enum StartKind<'hir> { type IndexExpr (line 333) | struct IndexExpr<'hir> { type Start (line 339) | struct Start<'hir> { function get_slice_like_element_ty (line 344) | fn get_slice_like_element_ty<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>)... function fetch_cloned_expr (line 353) | fn fetch_cloned_expr<'tcx>(expr: &'tcx Expr<'tcx>) -> &'tcx Expr<'tcx> { function get_details_from_idx (line 363) | fn get_details_from_idx<'tcx>( function get_assignment (line 403) | fn get_assignment<'tcx>(e: &'tcx Expr<'tcx>) -> Option<(&'tcx Expr<'tcx>... function get_assignments (line 415) | fn get_assignments<'a, 'tcx>( function get_loop_counters (line 445) | fn get_loop_counters<'a, 'tcx>( function is_array_length_equal_to_range (line 472) | fn is_array_length_equal_to_range(cx: &LateContext<'_>, start: &Expr<'_>... FILE: src/tools/clippy/clippy_lints/src/loops/manual_slice_fill.rs function check (line 20) | pub(super) fn check<'tcx>( function sugg (line 89) | fn sugg<'tcx>( FILE: src/tools/clippy/clippy_lints/src/loops/manual_while_let_some.rs type PopStmt (line 17) | enum PopStmt<'hir> { function report_lint (line 28) | fn report_lint(cx: &LateContext<'_>, pop_span: Span, pop_stmt_kind: PopS... function match_method_call (line 50) | fn match_method_call(cx: &LateContext<'_>, expr... function is_vec_pop_unwrap (line 61) | fn is_vec_pop_unwrap(cx: &LateContext<'_>, expr: &Expr<'_>, is_empty_rec... function check_local (line 74) | fn check_local(cx: &LateContext<'_>, stmt: &Stmt<'_>, is_empty_recv: &Ex... function check_call_arguments (line 83) | fn check_call_arguments(cx: &LateContext<'_>, stmt: &Stmt<'_>, is_empty_... function check (line 97) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, full_cond: &'tcx Expr<... FILE: src/tools/clippy/clippy_lints/src/loops/missing_spin_loop.rs function unpack_cond (line 10) | fn unpack_cond<'tcx>(cond: &'tcx Expr<'tcx>) -> &'tcx Expr<'tcx> { function check (line 33) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, cond: &'tcx Expr<'_>, ... FILE: src/tools/clippy/clippy_lints/src/loops/mod.rs type Loops (line 815) | pub struct Loops { method new (line 820) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 829) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_for_loop (line 929) | fn check_for_loop<'tcx>( method check_for_loop_arg (line 956) | fn check_for_loop_arg(&self, cx: &LateContext<'_>, _: &Pat<'_>, arg: &... FILE: src/tools/clippy/clippy_lints/src/loops/mut_range_bound.rs function check (line 14) | pub(super) fn check(cx: &LateContext<'_>, arg: &Expr<'_>, body: &Expr<'_... function mut_warn_with_span (line 29) | fn mut_warn_with_span(cx: &LateContext<'_>, span: Option) { function check_for_mutability (line 42) | fn check_for_mutability(cx: &LateContext<'_>, bound: &Expr<'_>) -> Optio... function check_for_mutation (line 52) | fn check_for_mutation( type MutatePairDelegate (line 72) | struct MutatePairDelegate<'a, 'tcx> { function consume (line 81) | fn consume(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId) {} function use_cloned (line 83) | fn use_cloned(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId) {} function borrow (line 85) | fn borrow(&mut self, cmt: &PlaceWithHirId<'tcx>, diag_expr_id: HirId, bk... function mutate (line 98) | fn mutate(&mut self, cmt: &PlaceWithHirId<'tcx>, diag_expr_id: HirId) { function fake_read (line 109) | fn fake_read(&mut self, _: &PlaceWithHirId<'tcx>, _: FakeReadCause, _: H... function mutation_span (line 113) | fn mutation_span(&self) -> (Option, Option) { type BreakAfterExprVisitor (line 118) | struct BreakAfterExprVisitor { method is_found (line 125) | pub fn is_found(cx: &LateContext<'_>, hir_id: HirId) -> bool { type Result (line 140) | type Result = ControlFlow<()>; method visit_expr (line 141) | fn visit_expr(&mut self, expr: &'tcx Expr<'tcx>) -> ControlFlow<()> { FILE: src/tools/clippy/clippy_lints/src/loops/needless_range_loop.rs function check (line 22) | pub(super) fn check<'tcx>( function is_len_call (line 191) | fn is_len_call(expr: &Expr<'_>, var: Symbol) -> bool { function is_end_eq_array_len (line 204) | fn is_end_eq_array_len<'tcx>( type VarVisitor (line 225) | struct VarVisitor<'a, 'tcx> { function check (line 253) | fn check(&mut self, idx: &'tcx Expr<'_>, seqexpr: &'tcx Expr<'_>, expr: ... function visit_expr (line 337) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/loops/never_loop.rs function check (line 20) | pub(super) fn check<'tcx>( function check_iterator_reduction (line 78) | pub(super) fn check_iterator_reduction<'tcx>( function contains_any_break_or_continue (line 103) | fn contains_any_break_or_continue(block: &Block<'_>) -> bool { function contains_label (line 113) | fn contains_label(asm: &InlineAsm<'_>) -> bool { type NeverLoopResult (line 130) | enum NeverLoopResult { function absorb_break (line 145) | fn absorb_break(arg: &NeverLoopResult) -> NeverLoopResult { function combine_seq (line 154) | fn combine_seq(first: NeverLoopResult, second: impl FnOnce() -> NeverLoo... function combine_seq_many (line 163) | fn combine_seq_many(iter: impl IntoIterator) -> ... function combine_branches (line 174) | fn combine_branches(b1: NeverLoopResult, b2: NeverLoopResult) -> NeverLo... function never_loop_block (line 200) | fn never_loop_block<'tcx>( function stmt_to_expr (line 228) | fn stmt_to_expr<'tcx>(stmt: &Stmt<'tcx>) -> Option<(&'tcx Expr<'tcx>, Op... function stmt_source_span (line 237) | fn stmt_source_span(stmt: &Stmt<'_>) -> Span { function all_spans_after_expr (line 253) | fn all_spans_after_expr(cx: &LateContext<'_>, expr: &Expr<'_>) -> Vec, dest: &Destination) -> bool { function never_loop_expr (line 279) | fn never_loop_expr<'tcx>( function never_loop_expr_all (line 460) | fn never_loop_expr_all<'tcx, T: Iterator>>( function for_to_if_let_sugg (line 469) | fn for_to_if_let_sugg(cx: &LateContext<'_>, iterator: &Expr<'_>, pat: &P... function mark_block_as_reachable (line 476) | fn mark_block_as_reachable(expr: &Expr<'_>, local_labels: &mut [(HirId, ... FILE: src/tools/clippy/clippy_lints/src/loops/same_item_push.rs function check (line 17) | pub(super) fn check<'tcx>( type SameItemPushVisitor (line 105) | struct SameItemPushVisitor<'a, 'tcx> { function new (line 115) | fn new(cx: &'a LateContext<'tcx>) -> Self { function should_lint (line 125) | fn should_lint(&self) -> bool { function visit_expr (line 139) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { function visit_block (line 153) | fn visit_block(&mut self, b: &'tcx Block<'_>) { function visit_stmt (line 159) | fn visit_stmt(&mut self, s: &'tcx Stmt<'_>) { function get_vec_push (line 181) | fn get_vec_push<'tcx>( FILE: src/tools/clippy/clippy_lints/src/loops/single_element_loop.rs function check (line 13) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/loops/unused_enumerate_index.rs function check (line 11) | pub(super) fn check<'tcx>( function check_method (line 61) | pub(super) fn check_method<'tcx>( FILE: src/tools/clippy/clippy_lints/src/loops/utils.rs type IncrementVisitorVarState (line 15) | enum IncrementVisitorVarState { type IncrementVisitor (line 22) | pub(super) struct IncrementVisitor<'a, 'tcx> { function new (line 29) | pub(super) fn new(cx: &'a LateContext<'tcx>) -> Self { function into_results (line 37) | pub(super) fn into_results(self) -> impl Iterator { function visit_expr (line 49) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { type InitializeVisitorState (line 97) | enum InitializeVisitorState<'hir> { type InitializeVisitor (line 110) | pub(super) struct InitializeVisitor<'a, 'tcx> { function new (line 120) | pub(super) fn new(cx: &'a LateContext<'tcx>, end_expr: &'tcx Expr<'tcx>,... function get_result (line 131) | pub(super) fn get_result(&self) -> Option<(Symbol, Option>, &'t... type NestedFilter (line 141) | type NestedFilter = nested_filter::OnlyBodies; function visit_local (line 143) | fn visit_local(&mut self, l: &'tcx LetStmt<'_>) { function visit_expr (line 162) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { function maybe_tcx (line 242) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function is_loop (line 247) | fn is_loop(expr: &Expr<'_>) -> bool { function is_conditional (line 251) | fn is_conditional(expr: &Expr<'_>) -> bool { function make_iterator_snippet (line 257) | pub(super) fn make_iterator_snippet(cx: &LateContext<'_>, arg: &Expr<'_>... FILE: src/tools/clippy/clippy_lints/src/loops/while_float.rs function check (line 4) | pub(super) fn check(cx: &rustc_lint::LateContext<'_>, condition: &rustc_... function is_float_type (line 18) | fn is_float_type(cx: &rustc_lint::LateContext<'_>, expr: &rustc_hir::Exp... FILE: src/tools/clippy/clippy_lints/src/loops/while_immutable_condition.rs function check (line 12) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, cond: &'tcx Expr<'_>, ... type HasBreakOrReturnVisitor (line 58) | struct HasBreakOrReturnVisitor; type Result (line 61) | type Result = ControlFlow<()>; method visit_expr (line 62) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) -> ControlFlow<()> { type VarCollectorVisitor (line 78) | struct VarCollectorVisitor<'a, 'tcx> { function insert_def_id (line 85) | fn insert_def_id(&mut self, ex: &'tcx Expr<'_>) { type Result (line 104) | type Result = ControlFlow<()>; function visit_expr (line 105) | fn visit_expr(&mut self, ex: &'tcx Expr<'_>) -> Self::Result { FILE: src/tools/clippy/clippy_lints/src/loops/while_let_loop.rs function check (line 12) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... function is_simple_break_block (line 66) | fn is_simple_break_block(block: &Block<'_>) -> bool { function is_simple_break_expr (line 76) | fn is_simple_break_expr(expr: &Expr<'_>) -> bool { function could_be_while_let (line 84) | fn could_be_while_let<'tcx>( function is_trivial_assignment (line 139) | fn is_trivial_assignment(pat: &Pat<'_>, init: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/loops/while_let_on_iterator.rs function check (line 19) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { type IterExpr (line 72) | struct IterExpr { function try_parse_iter_expr (line 83) | fn try_parse_iter_expr(cx: &LateContext<'_>, mut e: &Expr<'_>) -> Option... function is_expr_same_field (line 132) | fn is_expr_same_field(cx: &LateContext<'_>, mut e: &Expr<'_>, mut fields... function is_expr_same_child_or_parent_field (line 152) | fn is_expr_same_child_or_parent_field(cx: &LateContext<'_>, expr: &Expr<... function skip_fields_and_path (line 192) | fn skip_fields_and_path<'tcx>(expr: &'tcx Expr<'_>) -> (Option<&'tcx Exp... function uses_iter (line 205) | fn uses_iter<'tcx>(cx: &LateContext<'tcx>, iter_expr: &IterExpr, contain... function needs_mutable_borrow (line 238) | fn needs_mutable_borrow(cx: &LateContext<'_>, iter_expr: &IterExpr, loop... function make_iterator_snippet (line 362) | fn make_iterator_snippet<'tcx>(cx: &LateContext<'tcx>, iter_expr: &Expr<... FILE: src/tools/clippy/clippy_lints/src/macro_metavars_in_unsafe.rs type MetavarState (line 90) | pub enum MetavarState { type ExprMetavarsInUnsafe (line 95) | pub struct ExprMetavarsInUnsafe { method new (line 114) | pub fn new(conf: &'static Conf) -> Self { method check_body (line 216) | fn check_body(&mut self, cx: &LateContext<'tcx>, body: &rustc_hir::Bod... method check_crate_post (line 234) | fn check_crate_post(&mut self, cx: &LateContext<'tcx>) { type BodyVisitor (line 122) | struct BodyVisitor<'a, 'tcx> { function is_public_macro (line 149) | fn is_public_macro(cx: &LateContext<'_>, def_id: LocalDefId) -> bool { function visit_stmt (line 155) | fn visit_stmt(&mut self, s: &'tcx Stmt<'tcx>) { function visit_expr (line 166) | fn visit_expr(&mut self, e: &'tcx Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/macro_use.rs type MacroRefData (line 50) | pub struct MacroRefData { method new (line 55) | pub fn new(name: String) -> Self { type MacroUseImports (line 61) | pub struct MacroUseImports { method push_unique_macro (line 71) | fn push_unique_macro(&mut self, cx: &LateContext<'_>, span: Span) { method push_unique_macro_pat_ty (line 86) | fn push_unique_macro_pat_ty(&mut self, cx: &LateContext<'_>, span: Spa... method check_item (line 97) | fn check_item(&mut self, cx: &LateContext<'_>, item: &hir::Item<'_>) { method check_expr (line 116) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &hir::Expr<'_>) { method check_stmt (line 121) | fn check_stmt(&mut self, cx: &LateContext<'_>, stmt: &hir::Stmt<'_>) { method check_pat (line 126) | fn check_pat(&mut self, cx: &LateContext<'_>, pat: &hir::Pat<'_>) { method check_ty (line 131) | fn check_ty(&mut self, cx: &LateContext<'_>, ty: &hir::Ty<'_, AmbigArg... method check_crate_post (line 136) | fn check_crate_post(&mut self, cx: &LateContext<'_>) { FILE: src/tools/clippy/clippy_lints/src/main_recursion.rs type MainRecursion (line 31) | pub struct MainRecursion { method check_crate (line 36) | fn check_crate(&mut self, cx: &LateContext<'_>) { method check_expr_post (line 40) | fn check_expr_post(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/manual_abs_diff.rs type ManualAbsDiff (line 46) | pub struct ManualAbsDiff { method new (line 51) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 57) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... method are_ty_eligible (line 100) | fn are_ty_eligible<'tcx>(&self, cx: &LateContext<'tcx>, a: &Expr<'_>, ... function is_sub_expr (line 117) | fn is_sub_expr( function is_unsuffixed_numeral_lit (line 149) | fn is_unsuffixed_numeral_lit(expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/manual_assert.rs method check_expr (line 38) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/manual_async_fn.rs method check_fn (line 42) | fn check_fn( function future_trait_ref (line 107) | fn future_trait_ref<'tcx>(cx: &LateContext<'tcx>, opaque: &'tcx OpaqueTy... function future_output_ty (line 122) | fn future_output_ty<'tcx>(trait_ref: &'tcx TraitRef<'tcx>) -> Option<&'t... function captures_all_lifetimes (line 135) | fn captures_all_lifetimes(cx: &LateContext<'_>, fn_def_id: LocalDefId, o... function desugared_async_block (line 168) | fn desugared_async_block<'tcx>(cx: &LateContext<'tcx>, block: &'tcx Bloc... function suggested_ret (line 182) | fn suggested_ret(cx: &LateContext<'_>, output: &Ty<'_>) -> Option<(&'sta... FILE: src/tools/clippy/clippy_lints/src/manual_bits.rs type ManualBits (line 39) | pub struct ManualBits { method new (line 44) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 50) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function get_one_size_of_ty (line 80) | fn get_one_size_of_ty<'tcx>( function get_size_of_ty (line 92) | fn get_size_of_ty<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) ->... function create_sugg (line 112) | fn create_sugg(cx: &LateContext<'_>, expr: &Expr<'_>, base_sugg: String)... function is_ty_conversion (line 131) | fn is_ty_conversion(expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/manual_checked_ops.rs type NonZeroBranch (line 42) | enum NonZeroBranch { method check_expr (line 48) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { type UseKind (line 129) | enum UseKind { function divisor_from_condition (line 134) | fn divisor_from_condition<'tcx>(cond: &'tcx Expr<'tcx>) -> Option<(&'tcx... function branch_block (line 148) | fn branch_block<'tcx>( function is_zero (line 165) | fn is_zero(expr: &Expr<'_>) -> bool { function is_unsigned_integer (line 169) | fn is_unsigned_integer(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/manual_clamp.rs type ManualClamp (line 94) | pub struct ManualClamp { method new (line 99) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 142) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... method check_block (line 157) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &'tcx Block<'... type ClampSuggestion (line 105) | struct ClampSuggestion<'tcx> { function min_less_than_max (line 115) | fn min_less_than_max(&self, cx: &LateContext<'tcx>) -> bool { type InputMinMax (line 134) | struct InputMinMax<'tcx> { function maybe_emit_suggestion (line 167) | fn maybe_emit_suggestion<'tcx>(cx: &LateContext<'tcx>, suggestion: &Clam... type TypeClampability (line 211) | enum TypeClampability { method is_clampable (line 217) | fn is_clampable<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> Option<... method is_float (line 231) | fn is_float(self) -> bool { function is_if_elseif_else_pattern (line 250) | fn is_if_elseif_else_pattern<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx E... function is_max_min_pattern (line 293) | fn is_max_min_pattern<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tc... function is_call_max_min_pattern (line 331) | fn is_call_max_min_pattern<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Exp... function is_match_pattern (line 422) | fn is_match_pattern<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>... function is_two_if_pattern (line 479) | fn is_two_if_pattern<'tcx>(cx: &LateContext<'tcx>, block: &'tcx Block<'t... function is_if_elseif_pattern (line 540) | fn is_if_elseif_pattern<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'... type BinaryOp (line 579) | struct BinaryOp<'tcx> { function new (line 586) | fn new(e: &'tcx Expr<'tcx>) -> Option> { function flip (line 597) | fn flip(&self) -> Self { function is_clamp_meta_pattern (line 632) | fn is_clamp_meta_pattern<'tcx>( function block_stmt_with_last (line 716) | fn block_stmt_with_last<'tcx>(block: &'tcx Block<'tcx>) -> impl Iterator... function is_ord_op (line 729) | fn is_ord_op(op: BinOpKind) -> bool { type MaybeBorrowedStmtKind (line 735) | enum MaybeBorrowedStmtKind<'a> { method clone (line 741) | fn clone(&self) -> Self { type Target (line 751) | type Target = StmtKind<'a>; method deref (line 753) | fn deref(&self) -> &Self::Target { FILE: src/tools/clippy/clippy_lints/src/manual_float_methods.rs type Variant (line 69) | enum Variant { method lint (line 75) | pub fn lint(self) -> &'static Lint { method msg (line 82) | pub fn msg(self) -> &'static str { type ManualFloatMethods (line 90) | pub struct ManualFloatMethods { method new (line 95) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 137) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... function is_not_const (line 100) | fn is_not_const(tcx: TyCtxt<'_>, def_id: DefId) -> bool { FILE: src/tools/clippy/clippy_lints/src/manual_hash_one.rs type ManualHashOne (line 52) | pub struct ManualHashOne { method new (line 57) | pub fn new(conf: &'static Conf) -> Self { method check_local (line 63) | fn check_local(&mut self, cx: &LateContext<'_>, local: &LetStmt<'_>) { FILE: src/tools/clippy/clippy_lints/src/manual_ignore_case_cmp.rs type MatchType (line 44) | enum MatchType<'a> { function get_ascii_type (line 49) | fn get_ascii_type<'a>(cx: &LateContext<'a>, kind: rustc_hir::ExprKind<'_... function needs_ref_to_cmp (line 72) | fn needs_ref_to_cmp(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { method check_expr (line 80) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &'_ Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/manual_ilog2.rs type ManualIlog2 (line 42) | pub struct ManualIlog2 { method new (line 47) | pub fn new(conf: &Conf) -> Self { method check_expr (line 53) | fn check_expr<'tcx>(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tc... function emit (line 103) | fn emit(cx: &LateContext<'_>, recv: &Expr<'_>, full_expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/manual_is_ascii_check.rs type ManualIsAsciiCheck (line 63) | pub struct ManualIsAsciiCheck { method new (line 68) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 93) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { type CharRange (line 74) | enum CharRange { function get_ty_sugg (line 130) | fn get_ty_sugg<'tcx>(cx: &LateContext<'tcx>, arg: &Expr<'_>) -> Option<(... function check_is_ascii (line 142) | fn check_is_ascii( function check_pat (line 175) | fn check_pat(pat_kind: &PatKind<'_>) -> CharRange { function check_expr_range (line 197) | fn check_expr_range(start: &Expr<'_>, end: &Expr<'_>) -> CharRange { function check_range (line 207) | fn check_range(start: &PatExpr<'_>, end: &PatExpr<'_>) -> CharRange { function check_lit_range (line 223) | fn check_lit_range(start_lit: &Lit, end_lit: &Lit) -> CharRange { FILE: src/tools/clippy/clippy_lints/src/manual_is_power_of_two.rs type ManualIsPowerOfTwo (line 39) | pub struct ManualIsPowerOfTwo { method new (line 44) | pub fn new(conf: &'static Conf) -> Self { method build_sugg (line 48) | fn build_sugg(&self, cx: &LateContext<'_>, expr: &Expr<'_>, receiver: ... method check_expr (line 69) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { function count_ones_receiver (line 96) | fn count_ones_receiver<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) ... function is_one_less (line 110) | fn is_one_less<'tcx>( function is_and_minus_one (line 127) | fn is_and_minus_one<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) -> ... function unexpanded_binop_operands (line 134) | fn unexpanded_binop_operands<'hir>(expr: &Expr<'hir>, op: BinOpKind) -> ... FILE: src/tools/clippy/clippy_lints/src/manual_let_else.rs method check_manual_let_else (line 52) | pub(crate) fn check_manual_let_else(&self, cx: &LateContext<'tcx>, stmt:... function is_arms_disjointed (line 120) | fn is_arms_disjointed(cx: &LateContext<'_>, arm1: &Arm<'_>, arm2: &Arm<'... function is_enum_variant (line 133) | pub fn is_enum_variant(cx: &LateContext<'_>, pat: &Pat<'_>) -> bool { function emit_manual_let_else (line 159) | fn emit_manual_let_else( function replace_in_pattern (line 223) | fn replace_in_pattern( function pat_allowed_for_else (line 344) | fn pat_allowed_for_else(cx: &LateContext<'_>, pat: &'_ Pat<'_>, check_ty... function expr_simple_identity_map (line 410) | fn expr_simple_identity_map<'a, 'hir>( FILE: src/tools/clippy/clippy_lints/src/manual_main_separator_str.rs type ManualMainSeparatorStr (line 38) | pub struct ManualMainSeparatorStr { method new (line 43) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 49) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/manual_non_exhaustive.rs type ManualNonExhaustive (line 66) | pub struct ManualNonExhaustive { method new (line 73) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 83) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { method check_expr (line 137) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { method check_crate_post (line 147) | fn check_crate_post(&mut self, cx: &LateContext<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/manual_option_as_slice.rs type ManualOptionAsSlice (line 45) | pub struct ManualOptionAsSlice { method new (line 50) | pub fn new(conf: &Conf) -> Self { method check_expr (line 56) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { function check_map (line 103) | fn check_map(cx: &LateContext<'_>, map: &Expr<'_>, span: Span, msrv: Msr... function check_as_ref (line 112) | fn check_as_ref(cx: &LateContext<'_>, expr: &Expr<'_>, span: Span, msrv:... function extract_ident_from_some_pat (line 144) | fn extract_ident_from_some_pat(cx: &LateContext<'_>, pat: &Pat<'_>) -> O... function check_some_body (line 155) | fn check_some_body(cx: &LateContext<'_>, name: Symbol, expr: &Expr<'_>) ... function check_arms (line 167) | fn check_arms(cx: &LateContext<'_>, none_arm: &Arm<'_>, some_arm: &Arm<'... function returns_empty_slice (line 179) | fn returns_empty_slice(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function is_empty_slice (line 192) | fn is_empty_slice(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function is_slice_from_ref (line 211) | fn is_slice_from_ref(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/manual_pop_if.rs type ManualPopIf (line 62) | pub struct ManualPopIf { method new (line 67) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 408) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { type ManualPopIfKind (line 74) | enum ManualPopIfKind { method check_method (line 81) | fn check_method(self) -> Symbol { method pop_method (line 89) | fn pop_method(self) -> Symbol { method pop_if_method (line 97) | fn pop_if_method(self) -> Symbol { method is_diag_item (line 105) | fn is_diag_item(self, cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { method msrv (line 113) | fn msrv(self) -> RustcVersion { method fmt (line 123) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ManualPopIfPattern (line 132) | struct ManualPopIfPattern<'tcx> { function emit_lint (line 149) | fn emit_lint(&self, cx: &LateContext<'_>) { function pop_value_is_used (line 171) | fn pop_value_is_used(then_block: &Expr<'_>) -> bool { function check_is_some_and_pattern (line 193) | fn check_is_some_and_pattern<'tcx>( function check_if_let_pattern (line 239) | fn check_if_let_pattern<'tcx>( function check_let_chain_pattern (line 298) | fn check_let_chain_pattern<'tcx>( function check_map_unwrap_or_pattern (line 349) | fn check_map_unwrap_or_pattern<'tcx>( function check_pop_unwrap (line 393) | fn check_pop_unwrap<'tcx>(expr: &'tcx Expr<'_>, pop_method: Symbol) -> O... FILE: src/tools/clippy/clippy_lints/src/manual_range_patterns.rs function expr_as_i128 (line 41) | fn expr_as_i128(expr: &PatExpr<'_>) -> Option { type Num (line 54) | struct Num { method new (line 60) | fn new(expr: &PatExpr<'_>) -> Option { method dummy (line 67) | fn dummy(val: i128) -> Self { method min (line 71) | fn min(self, other: Self) -> Self { method check_pat (line 77) | fn check_pat(&mut self, cx: &LateContext<'_>, pat: &'_ rustc_hir::Pat<'_... FILE: src/tools/clippy/clippy_lints/src/manual_rem_euclid.rs type ManualRemEuclid (line 40) | pub struct ManualRemEuclid { method new (line 45) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 51) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function check_for_either_unsigned_int_constant (line 106) | fn check_for_either_unsigned_int_constant<'a>( function check_for_unsigned_int_constant (line 117) | fn check_for_unsigned_int_constant<'a>( FILE: src/tools/clippy/clippy_lints/src/manual_retain.rs constant ACCEPTABLE_METHODS (line 16) | const ACCEPTABLE_METHODS: [Symbol; 5] = [ type ManualRetain (line 49) | pub struct ManualRetain { method new (line 54) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 60) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr... function check_into_iter (line 74) | fn check_into_iter( function check_iter (line 117) | fn check_iter( function check_to_owned (line 175) | fn check_to_owned( function make_sugg (line 216) | fn make_sugg( function match_acceptable_sym (line 245) | fn match_acceptable_sym(cx: &LateContext<'_>, collect_def_id: DefId) -> ... function match_acceptable_type (line 251) | fn match_acceptable_type(cx: &LateContext<'_>, expr: &hir::Expr<'_>, msr... function match_map_type (line 265) | fn match_map_type(cx: &LateContext<'_>, expr: &hir::Expr<'_>) -> bool { function make_span_lint_and_sugg (line 270) | fn make_span_lint_and_sugg(cx: &LateContext<'_>, span: Span, sugg: Strin... FILE: src/tools/clippy/clippy_lints/src/manual_rotate.rs type ShiftDirection (line 45) | enum ShiftDirection { method fmt (line 51) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function parse_shift (line 59) | fn parse_shift<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<(ShiftDirection, ... method check_expr (line 72) | fn check_expr<'tcx>(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/manual_slice_size_calculation.rs type ManualSliceSizeCalculation (line 44) | pub struct ManualSliceSizeCalculation { method new (line 49) | pub fn new(conf: &Conf) -> Self { method check_expr (line 55) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx... function simplify (line 85) | fn simplify<'tcx>( function simplify_half (line 96) | fn simplify_half<'tcx>( FILE: src/tools/clippy/clippy_lints/src/manual_string_new.rs method check_expr (line 41) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { function is_expr_kind_empty_str (line 69) | fn is_expr_kind_empty_str(expr_kind: &ExprKind<'_>) -> bool { function warn_then_suggest (line 80) | fn warn_then_suggest(cx: &LateContext<'_>, span: Span) { function parse_method_call (line 93) | fn parse_method_call(cx: &LateContext<'_>, span: Span, path_segment: &Pa... function parse_call (line 107) | fn parse_call(cx: &LateContext<'_>, span: Span, func: &Expr<'_>, arg: &E... FILE: src/tools/clippy/clippy_lints/src/manual_strip.rs type ManualStrip (line 54) | pub struct ManualStrip { method new (line 59) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 71) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { type StripKind (line 65) | enum StripKind { function len_arg (line 156) | fn len_arg<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) -> Option... function constant_length (line 168) | fn constant_length(cx: &LateContext<'_>, expr: &Expr<'_>, ctxt: SyntaxCo... function eq_pattern_length (line 178) | fn eq_pattern_length<'tcx>( function is_ref_str (line 196) | fn is_ref_str(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function peel_ref (line 204) | fn peel_ref<'a>(expr: &'a Expr<'_>) -> &'a Expr<'a> { function find_stripping (line 216) | fn find_stripping<'tcx>( FILE: src/tools/clippy/clippy_lints/src/manual_take.rs type ManualTake (line 44) | pub struct ManualTake { method new (line 49) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 55) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { function as_const_bool (line 107) | fn as_const_bool(e: &Expr<'_>) -> Option { FILE: src/tools/clippy/clippy_lints/src/map_unit_fn.rs function is_unit_type (line 97) | fn is_unit_type(ty: Ty<'_>) -> bool { function is_unit_function (line 101) | fn is_unit_function(cx: &LateContext<'_>, expr: &hir::Expr<'_>) -> bool { function is_unit_expression (line 112) | fn is_unit_expression(cx: &LateContext<'_>, expr: &hir::Expr<'_>) -> bool { function reduce_unit_expression (line 122) | fn reduce_unit_expression(cx: &LateContext<'_>, expr: &hir::Expr<'_>) ->... function unit_closure (line 165) | fn unit_closure<'tcx>( function let_binding_name (line 187) | fn let_binding_name(cx: &LateContext<'_>, var_arg: &hir::Expr<'_>) -> St... function suggestion_msg (line 196) | fn suggestion_msg(function_type: &str, article: &str, map_type: &str) ->... function lint_map_unit_fn (line 202) | fn lint_map_unit_fn( method check_stmt (line 265) | fn check_stmt(&mut self, cx: &LateContext<'_>, stmt: &hir::Stmt<'_>) { FILE: src/tools/clippy/clippy_lints/src/match_result_ok.rs method check_expr (line 47) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/matches/collapsible_match.rs function check_match (line 20) | pub(super) fn check_match<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr... function check_if_let (line 28) | pub(super) fn check_if_let<'tcx>( function check_arm (line 40) | fn check_arm<'tcx>( function arm_is_wild_like (line 193) | fn arm_is_wild_like(cx: &LateContext<'_>, arm: &Arm<'_>) -> bool { function find_pat_binding_and_is_innermost_parent_pat_struct (line 211) | fn find_pat_binding_and_is_innermost_parent_pat_struct(pat: &Pat<'_>, hi... function build_ref_method_chain (line 234) | fn build_ref_method_chain(expr: Vec<&Expr<'_>>) -> Option { FILE: src/tools/clippy/clippy_lints/src/matches/infallible_destructuring_match.rs function check (line 11) | pub(crate) fn check(cx: &LateContext<'_>, local: &LetStmt<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/matches/manual_filter.rs function get_cond_expr (line 18) | fn get_cond_expr<'tcx>( function peels_blocks_incl_unsafe_opt (line 41) | fn peels_blocks_incl_unsafe_opt<'a>(expr: &'a Expr<'a>) -> Option<&'a Ex... function peels_blocks_incl_unsafe (line 52) | fn peels_blocks_incl_unsafe<'a>(expr: &'a Expr<'a>) -> &'a Expr<'a> { function is_some_expr (line 63) | fn is_some_expr(cx: &LateContext<'_>, target: HirId, ctxt: SyntaxContext... function is_none_expr (line 73) | fn is_none_expr(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function add_ampersand_if_copy (line 82) | fn add_ampersand_if_copy(body_str: String, has_copy_trait: bool) -> Stri... function check_match (line 92) | pub(super) fn check_match<'tcx>( function check_if_let (line 116) | pub(super) fn check_if_let<'tcx>( function check (line 127) | fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/matches/manual_map.rs function check_match (line 11) | pub(super) fn check_match<'tcx>( function check_if_let (line 25) | pub(super) fn check_if_let<'tcx>( function check (line 36) | fn check<'tcx>( function get_some_expr (line 78) | fn get_some_expr<'tcx>( FILE: src/tools/clippy/clippy_lints/src/matches/manual_ok_err.rs function check_if_let (line 18) | pub(crate) fn check_if_let( function check_match (line 35) | pub(crate) fn check_match(cx: &LateContext<'_>, expr: &Expr<'_>, scrutin... function is_variant_or_wildcard (line 63) | fn is_variant_or_wildcard(cx: &LateContext<'_>, pat: &Pat<'_>, can_be_wi... function is_ok_or_err (line 90) | fn is_ok_or_err<'hir>(cx: &LateContext<'_>, pat: &Pat<'hir>) -> Option<(... function is_some_ident (line 108) | fn is_some_ident<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'_>, ident: &... function is_none (line 125) | fn is_none(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function apply_lint (line 131) | fn apply_lint(cx: &LateContext<'_>, expr: &Expr<'_>, scrutinee: &Expr<'_... FILE: src/tools/clippy/clippy_lints/src/matches/manual_unwrap_or.rs function get_some (line 20) | fn get_some(cx: &LateContext<'_>, pat: &Pat<'_>) -> Option { function get_none (line 36) | fn get_none<'tcx>(cx: &LateContext<'_>, arm: &Arm<'tcx>, allow_wildcard:... function get_some_and_none_bodies (line 63) | fn get_some_and_none_bodies<'tcx>( function handle (line 81) | fn handle( function find_type_name (line 183) | fn find_type_name<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> Option<... function safe_to_move_scrutinee (line 201) | fn safe_to_move_scrutinee(cx: &LateContext<'_>, expr: &Expr<'_>, scrutin... function check_match (line 214) | pub fn check_match<'tcx>( function check_if_let (line 231) | pub fn check_if_let<'tcx>( FILE: src/tools/clippy/clippy_lints/src/matches/manual_utils.rs function check_with (line 20) | pub(super) fn check_with<'tcx, F>( type SuggInfo (line 178) | pub struct SuggInfo<'a> { function can_pass_as_func (line 189) | fn can_pass_as_func<'tcx>(cx: &LateContext<'tcx>, binding: HirId, expr: ... type OptionPat (line 203) | pub(super) enum OptionPat<'a> { type SomeExpr (line 215) | pub(super) struct SomeExpr<'tcx> { function new_no_negated (line 222) | pub fn new_no_negated(expr: &'tcx Expr<'tcx>, needs_unsafe_block: bool) ... function to_snippet_with_context (line 230) | pub fn to_snippet_with_context( function try_parse_pattern (line 243) | pub(super) fn try_parse_pattern<'tcx>( function is_none_arm_body (line 270) | fn is_none_arm_body(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/matches/match_as_ref.rs function check (line 12) | pub(crate) fn check(cx: &LateContext<'_>, ex: &Expr<'_>, arms: &[Arm<'_>... function as_ref_some_arm (line 84) | fn as_ref_some_arm(cx: &LateContext<'_>, arm: &Arm<'_>) -> Option, scrutinee: &Expr<'_>, arms: &[... FILE: src/tools/clippy/clippy_lints/src/matches/match_like_matches.rs function check_if_let (line 17) | pub(crate) fn check_if_let<'tcx>( function check_match (line 66) | pub(super) fn check_match<'tcx>( function find_bool_lit (line 202) | fn find_bool_lit(ex: &Expr<'_>) -> Option { function is_some_wild (line 229) | fn is_some_wild(pat_kind: PatKind<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/matches/match_ref_pats.rs function check (line 11) | pub(crate) fn check<'a, 'b, I>(cx: &LateContext<'_>, scrutinee: &Expr<'_... function has_multiple_ref_pats (line 71) | fn has_multiple_ref_pats<'a, 'b, I>(pats: I) -> bool FILE: src/tools/clippy/clippy_lints/src/matches/match_same_arms.rs function check (line 21) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, arms: &'tcx [Arm<'_>]) { function adjusted_arm_span (line 177) | fn adjusted_arm_span(cx: &LateContext<'_>, span: Span) -> Span { type NormalizedPat (line 185) | enum NormalizedPat<'a> { type PatRange (line 207) | struct PatRange { method contains (line 213) | fn contains(&self, x: u128) -> bool { method overlaps (line 221) | fn overlaps(&self, other: &Self) -> bool { function iter_matching_struct_fields (line 235) | fn iter_matching_struct_fields<'a>( function from_pat (line 263) | fn from_pat(cx: &LateContext<'_>, arena: &'a DroplessArena, pat: &'a Pat... function has_overlapping_values (line 380) | fn has_overlapping_values(&self, other: &Self) -> bool { function pat_contains_local (line 439) | fn pat_contains_local(pat: &Pat<'_>, id: HirId) -> bool { function bindings_eq (line 449) | fn bindings_eq(pat: &Pat<'_>, mut ids: HirIdSet) -> bool { function is_wildcard_arm (line 456) | fn is_wildcard_arm(pat: &Pat<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/matches/match_single_binding.rs type AssignmentExpr (line 18) | enum AssignmentExpr { function check (line 24) | pub(crate) fn check<'a>(cx: &LateContext<'a>, ex: &Expr<'a>, arms: &[Arm... type VarBindingVisitor (line 160) | struct VarBindingVisitor<'a, 'tcx> { type Result (line 166) | type Result = ControlFlow<()>; function visit_path (line 168) | fn visit_path(&mut self, path: &Path<'tcx>, _: HirId) -> Self::Result { function visit_block (line 179) | fn visit_block(&mut self, block: &'tcx Block<'tcx>) -> Self::Result { function visit_stmt (line 186) | fn visit_stmt(&mut self, stmt: &'tcx Stmt<'tcx>) -> Self::Result { function visit_expr (line 199) | fn visit_expr(&mut self, expr: &'tcx Expr<'tcx>) -> Self::Result { function is_var_binding_used_later (line 254) | fn is_var_binding_used_later(cx: &LateContext<'_>, expr: &Expr<'_>, arm:... function opt_parent_assign_span (line 280) | fn opt_parent_assign_span<'a>(cx: &LateContext<'a>, ex: &Expr<'a>) -> Op... function expr_in_nested_block (line 301) | fn expr_in_nested_block(cx: &LateContext<'_>, match_expr: &Expr<'_>) -> ... function indent_of_nth_line (line 310) | fn indent_of_nth_line(snippet: &str, nth: usize) -> Option { function reindent_snippet_if_in_block (line 317) | fn reindent_snippet_if_in_block(snippet_body: &str, has_assignment: bool... function sugg_with_curlies (line 331) | fn sugg_with_curlies<'a>( FILE: src/tools/clippy/clippy_lints/src/matches/match_str_case_mismatch.rs type CaseMethod (line 18) | enum CaseMethod { function check (line 25) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, scrutinee: &'tcx Expr<... type MatchExprVisitor (line 38) | struct MatchExprVisitor<'a, 'tcx> { type Result (line 43) | type Result = ControlFlow; function visit_expr (line 44) | fn visit_expr(&mut self, ex: &'tcx Expr<'_>) -> Self::Result { function case_altered (line 57) | fn case_altered(&self, segment_ident: Symbol, receiver: &Expr<'_>) -> Co... function get_case_method (line 70) | fn get_case_method(segment_ident: Symbol) -> Option { function verify_case (line 80) | fn verify_case<'a>(case_method: &'a CaseMethod, arms: &'a [Arm<'_>]) -> ... function lint (line 104) | fn lint(cx: &LateContext<'_>, case_method: &CaseMethod, bad_case_span: S... FILE: src/tools/clippy/clippy_lints/src/matches/match_wild_enum.rs function check (line 15) | pub(crate) fn check(cx: &LateContext<'_>, ex: &Expr<'_>, arms: &[Arm<'_>... type CommonPrefixSearcher (line 184) | enum CommonPrefixSearcher<'a> { function with_path (line 190) | fn with_path(&mut self, path: &'a [PathSegment<'a>]) { function with_prefix (line 196) | fn with_prefix(&mut self, path: &'a [PathSegment<'a>]) { function is_hidden (line 210) | fn is_hidden(cx: &LateContext<'_>, variant_def: &VariantDef) -> bool { FILE: src/tools/clippy/clippy_lints/src/matches/match_wild_err_arm.rs function check (line 12) | pub(crate) fn check<'tcx>(cx: &LateContext<'tcx>, ex: &Expr<'tcx>, arms:... FILE: src/tools/clippy/clippy_lints/src/matches/mod.rs type Matches (line 1039) | pub struct Matches { method new (line 1045) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 1055) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_local (line 1208) | fn check_local(&mut self, cx: &LateContext<'tcx>, local: &'tcx LetStmt... method check_pat (line 1213) | fn check_pat(&mut self, cx: &LateContext<'tcx>, pat: &'tcx Pat<'_>) { function contains_cfg_arm (line 1219) | fn contains_cfg_arm(cx: &LateContext<'_>, e: &Expr<'_>, scrutinee: &Expr... function pat_contains_disallowed_or (line 1280) | fn pat_contains_disallowed_or(cx: &LateContext<'_>, pat: &Pat<'_>, msrv:... FILE: src/tools/clippy/clippy_lints/src/matches/needless_match.rs function check_match (line 17) | pub(crate) fn check_match(cx: &LateContext<'_>, ex: &Expr<'_>, arms: &[A... function check_if_let (line 51) | pub(crate) fn check_if_let<'tcx>(cx: &LateContext<'tcx>, ex: &Expr<'_>, ... function check_all_arms (line 66) | fn check_all_arms(cx: &LateContext<'_>, match_expr: &Expr<'_>, arms: &[A... function check_if_let_inner (line 88) | fn check_if_let_inner(cx: &LateContext<'_>, if_let: &higher::IfLet<'_>) ... function expr_ty_matches_p_ty (line 120) | fn expr_ty_matches_p_ty(cx: &LateContext<'_>, expr: &Expr<'_>, p_expr: &... function pat_same_as_expr (line 154) | fn pat_same_as_expr(pat: &Pat<'_>, expr: &Expr<'_>) -> bool { function same_non_ref_symbols (line 205) | fn same_non_ref_symbols(pats: &[Pat<'_>], exprs: &[Expr<'_>]) -> bool { FILE: src/tools/clippy/clippy_lints/src/matches/overlapping_arms.rs function check (line 11) | pub(crate) fn check<'tcx>(cx: &LateContext<'tcx>, ex: &'tcx Expr<'_>, ar... function all_ranges (line 30) | fn all_ranges<'tcx>(cx: &LateContext<'tcx>, arms: &'tcx [Arm<'_>], ty: T... type EndBound (line 73) | pub enum EndBound { type SpannedRange (line 79) | struct SpannedRange { function overlapping (line 84) | fn overlapping(ranges: &[SpannedRange]) -> Option<(&SpannedRange(cx: &LateContext<'tcx>, arms: &'tcx [Arm<'tcx>... function check_method_calls (line 104) | fn check_method_calls<'tcx>( type PatBindingInfo (line 157) | struct PatBindingInfo { function get_pat_binding (line 163) | fn get_pat_binding<'tcx>( function emit_redundant_guards (line 204) | fn emit_redundant_guards<'tcx>( function expr_can_be_pat (line 247) | fn expr_can_be_pat(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/matches/redundant_pattern_match.rs function check (line 19) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function check_if_let (line 32) | pub(super) fn check_if_let<'tcx>( function check_matches_true (line 46) | pub fn check_matches_true<'tcx>( function find_if_let_true (line 65) | fn find_if_let_true<'tcx>(cx: &LateContext<'tcx>, pat: &'tcx Pat<'_>, sc... function find_match_true (line 70) | fn find_match_true<'tcx>( function try_get_generic_ty (line 108) | fn try_get_generic_ty(ty: Ty<'_>, index: usize) -> Option> { function find_method_and_type (line 119) | fn find_method_and_type<'tcx>( function find_method_sugg_for_if_let (line 177) | fn find_method_sugg_for_if_let<'tcx>( function check_match (line 266) | pub(super) fn check_match<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr... function found_good_method (line 316) | fn found_good_method<'tcx>( function get_ident (line 408) | fn get_ident(path: &QPath<'_>) -> Option { function get_good_method (line 418) | fn get_good_method<'tcx>( type Item (line 440) | enum Item { function is_pat_variant (line 445) | fn is_pat_variant(cx: &LateContext<'_>, pat: &Pat<'_>, path: &QPath<'_>,... function find_good_method_for_match (line 474) | fn find_good_method_for_match<'a, 'tcx>( function find_good_method_for_matches_macro (line 509) | fn find_good_method_for_matches_macro<'a, 'tcx>( FILE: src/tools/clippy/clippy_lints/src/matches/rest_pat_in_fully_bound_struct.rs function check (line 8) | pub(crate) fn check(cx: &LateContext<'_>, pat: &Pat<'_>) { FILE: src/tools/clippy/clippy_lints/src/matches/significant_drop_in_scrutinee.rs function check_match (line 20) | pub(super) fn check_match<'tcx>( function check_if_let (line 47) | pub(super) fn check_if_let<'tcx>( function check_while_let (line 68) | pub(super) fn check_while_let<'tcx>( type Suggestion (line 91) | enum Suggestion { function check (line 96) | fn check<'tcx>( function set_suggestion (line 124) | fn set_suggestion<'tcx>(diag: &mut Diag<'_, ()>, cx: &LateContext<'tcx>,... type SigDropChecker (line 162) | struct SigDropChecker<'a, 'tcx> { function new (line 168) | fn new(cx: &'a LateContext<'tcx>) -> SigDropChecker<'a, 'tcx> { function is_sig_drop_expr (line 175) | fn is_sig_drop_expr(&mut self, ex: &'tcx Expr<'_>) -> bool { function has_sig_drop_attr (line 179) | fn has_sig_drop_attr(&mut self, ty: Ty<'tcx>) -> bool { function has_sig_drop_attr_impl (line 184) | fn has_sig_drop_attr_impl(&mut self, ty: Ty<'tcx>) -> bool { type SigDropHolder (line 231) | enum SigDropHolder { type SigDropHelper (line 249) | struct SigDropHelper<'a, 'tcx> { type FoundSigDrop (line 258) | struct FoundSigDrop { function new (line 265) | fn new(cx: &'a LateContext<'tcx>) -> SigDropHelper<'a, 'tcx> { function find_sig_drop (line 275) | fn find_sig_drop(&mut self, match_expr: &'tcx Expr<'_>) -> Vec, parent_expr: &'tcx... function try_move_sig_drop_direct_ref (line 320) | fn try_move_sig_drop_direct_ref(&mut self, expr: &'tcx Expr<'_>, parent_... function ty_peel_refs (line 394) | fn ty_peel_refs(mut ty: Ty<'_>) -> (Ty<'_>, usize) { function visit_expr (line 404) | fn visit_expr(&mut self, ex: &'tcx Expr<'_>) { type ArmSigDropHelper (line 453) | struct ArmSigDropHelper<'a, 'tcx> { function new (line 459) | fn new(cx: &'a LateContext<'tcx>) -> ArmSigDropHelper<'a, 'tcx> { function has_significant_drop_in_arms (line 467) | fn has_significant_drop_in_arms<'tcx>(cx: &LateContext<'tcx>, arms: &[&'... function visit_expr (line 476) | fn visit_expr(&mut self, ex: &'tcx Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/matches/single_match.rs function empty_arm_has_comment (line 24) | fn empty_arm_has_comment(cx: &LateContext<'_>, span: Span) -> bool { function check (line 28) | pub(crate) fn check<'tcx>( function report_single_pattern (line 83) | fn report_single_pattern( type PatVisitor (line 191) | struct PatVisitor<'tcx> { type Result (line 196) | type Result = ControlFlow<()>; function visit_pat (line 197) | fn visit_pat(&mut self, pat: &'tcx Pat<'_>) -> Self::Result { type PatCtxt (line 208) | struct PatCtxt<'tcx> { type PatState (line 218) | enum PatState<'a> { function add_product_pat (line 242) | fn add_product_pat<'tcx>( function get_std_enum_variant (line 263) | fn get_std_enum_variant<'tcx>( function check_all_wild_enum (line 292) | fn check_all_wild_enum(&mut self) -> bool { function add_struct_pats (line 304) | fn add_struct_pats<'tcx>( function add_pat (line 355) | fn add_pat<'tcx>(&mut self, cx: &'a PatCtxt<'tcx>, pat: &'tcx Pat<'_>) -... FILE: src/tools/clippy/clippy_lints/src/matches/try_err.rs function check (line 15) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... function find_return_type (line 69) | fn find_return_type<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx ExprKind<'... function result_error_type (line 81) | fn result_error_type<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> Opti... function poll_result_error_type (line 92) | fn poll_result_error_type<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) ->... function poll_option_result_error_type (line 104) | fn poll_option_result_error_type<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'t... FILE: src/tools/clippy/clippy_lints/src/matches/wild_in_or_pats.rs function check (line 9) | pub(crate) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, arms: &[Arm<'... FILE: src/tools/clippy/clippy_lints/src/mem_replace.rs function check_replace_option_with_none (line 134) | fn check_replace_option_with_none(cx: &LateContext<'_>, src: &Expr<'_>, ... function check_replace_option_with_some (line 161) | fn check_replace_option_with_some( function check_replace_with_uninit (line 194) | fn check_replace_with_uninit(cx: &LateContext<'_>, src: &Expr<'_>, dest:... function check_replace_with_default (line 249) | fn check_replace_with_default( type MemReplace (line 288) | pub struct MemReplace { method new (line 293) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 299) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/methods/bind_instead_of_map.rs function check_and_then_some (line 13) | pub(super) fn check_and_then_some( function check_and_then_ok (line 27) | pub(super) fn check_and_then_ok( function check_or_else_err (line 41) | pub(super) fn check_or_else_err( type BindInsteadOfMap (line 55) | struct BindInsteadOfMap { method no_op_msg (line 62) | fn no_op_msg(&self, cx: &LateContext<'_>) -> Option { method lint_msg (line 73) | fn lint_msg(&self, cx: &LateContext<'_>) -> Option { method lint_closure_autofixable (line 85) | fn lint_closure_autofixable( method lint_closure (line 115) | fn lint_closure(&self, cx: &LateContext<'_>, expr: &hir::Expr<'_>, clo... method check (line 155) | fn check(&self, cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &hir... method is_variant (line 194) | fn is_variant(&self, cx: &LateContext<'_>, res: Res) -> bool { FILE: src/tools/clippy/clippy_lints/src/methods/bytecount.rs function check (line 13) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/bytes_count_to_len.rs function check (line 10) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/bytes_nth.rs function check (line 13) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'_>, recv:... FILE: src/tools/clippy/clippy_lints/src/methods/case_sensitive_file_extension_comparisons.rs function check (line 14) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/chars_cmp.rs function check (line 12) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/chars_cmp_with_unwrap.rs function check (line 11) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/chars_last_cmp.rs function check (line 8) | pub(super) fn check(cx: &LateContext<'_>, info: &crate::methods::BinaryE... FILE: src/tools/clippy/clippy_lints/src/methods/chars_last_cmp_with_unwrap.rs function check (line 8) | pub(super) fn check(cx: &LateContext<'_>, info: &crate::methods::BinaryE... FILE: src/tools/clippy/clippy_lints/src/methods/chars_next_cmp.rs function check (line 7) | pub(super) fn check(cx: &LateContext<'_>, info: &crate::methods::BinaryE... FILE: src/tools/clippy/clippy_lints/src/methods/chars_next_cmp_with_unwrap.rs function check (line 7) | pub(super) fn check(cx: &LateContext<'_>, info: &crate::methods::BinaryE... FILE: src/tools/clippy/clippy_lints/src/methods/clear_with_drain.rs constant ACCEPTABLE_TYPES_WITH_ARG (line 12) | const ACCEPTABLE_TYPES_WITH_ARG: [rustc_span::Symbol; 2] = [sym::Vec, sy... constant ACCEPTABLE_TYPES_WITHOUT_ARG (line 14) | const ACCEPTABLE_TYPES_WITHOUT_ARG: [rustc_span::Symbol; 3] = [sym::Bina... function check (line 16) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'... function match_acceptable_type (line 29) | fn match_acceptable_type(cx: &LateContext<'_>, expr: &Expr<'_>, types: &... function suggest (line 36) | fn suggest(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'_>, span:... FILE: src/tools/clippy/clippy_lints/src/methods/clone_on_copy.rs function check (line 14) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, receiver: &Ex... FILE: src/tools/clippy/clippy_lints/src/methods/clone_on_ref_ptr.rs function check (line 12) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, receiver... FILE: src/tools/clippy/clippy_lints/src/methods/cloned_instead_of_copied.rs function check (line 13) | pub fn check(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'_>, spa... FILE: src/tools/clippy/clippy_lints/src/methods/collapsible_str_replace.rs function check (line 13) | pub(super) fn check<'tcx>( type ReplaceMethods (line 36) | struct ReplaceMethods<'tcx> { function collect_replace_calls (line 41) | fn collect_replace_calls<'tcx>( function check_consecutive_replace_calls (line 67) | fn check_consecutive_replace_calls<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/double_ended_iterator_last.rs function check (line 13) | pub(super) fn check(cx: &LateContext<'_>, expr: &'_ Expr<'_>, self_expr:... FILE: src/tools/clippy/clippy_lints/src/methods/drain_collect.rs function types_match_diagnostic_item (line 19) | fn types_match_diagnostic_item(cx: &LateContext<'_>, expr: Ty<'_>, recv:... function check_vec (line 30) | fn check_vec(cx: &LateContext<'_>, args: &[Expr<'_>], expr: Ty<'_>, recv... function check_string (line 37) | fn check_string(cx: &LateContext<'_>, args: &[Expr<'_>], expr: Ty<'_>, r... function check_collections (line 44) | fn check_collections(cx: &LateContext<'_>, expr: Ty<'_>, recv: Ty<'_>) -... function check (line 51) | pub(super) fn check(cx: &LateContext<'_>, args: &[Expr<'_>], expr: &Expr... FILE: src/tools/clippy/clippy_lints/src/methods/err_expect.rs function check (line 11) | pub(super) fn check( function get_data_type (line 39) | fn get_data_type<'a>(cx: &LateContext<'_>, ty: Ty<'a>) -> Option> { FILE: src/tools/clippy/clippy_lints/src/methods/expect_fun_call.rs function check (line 17) | pub(super) fn check<'tcx>( function get_arg_root (line 74) | fn get_arg_root<'a>(cx: &LateContext<'_>, arg: &'a hir::Expr<'a>) -> &'a... function contains_call (line 96) | fn contains_call<'a>(cx: &LateContext<'a>, arg: &'a hir::Expr<'a>) -> bo... FILE: src/tools/clippy/clippy_lints/src/methods/extend_with_drain.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'... FILE: src/tools/clippy/clippy_lints/src/methods/filetype_is_file.rs function check (line 10) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &h... FILE: src/tools/clippy/clippy_lints/src/methods/filter_map.rs function is_method (line 19) | fn is_method(cx: &LateContext<'_>, expr: &Expr<'_>, method_name: Symbol)... function is_option_filter_map (line 46) | fn is_option_filter_map(cx: &LateContext<'_>, filter_arg: &Expr<'_>, map... function is_ok_filter_map (line 49) | fn is_ok_filter_map(cx: &LateContext<'_>, filter_arg: &Expr<'_>, map_arg... type OffendingFilterExpr (line 54) | enum OffendingFilterExpr<'tcx> { type CalledMethod (line 82) | enum CalledMethod { type CheckResult (line 89) | enum CheckResult<'tcx> { function check_map_call (line 109) | pub fn check_map_call( function hir (line 226) | fn hir(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>, filter_param_id: ... function is_filter_some_map_unwrap (line 265) | fn is_filter_some_map_unwrap( function is_filter_ok_map_unwrap (line 279) | fn is_filter_ok_map_unwrap(cx: &LateContext<'_>, expr: &Expr<'_>, filter... function check (line 287) | pub(super) fn check( function is_find_or_filter (line 398) | fn is_find_or_filter<'a>( function acceptable_methods (line 432) | fn acceptable_methods(method: &PathSegment<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/methods/filter_map_bool_then.rs function check (line 16) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>... function find_bindings_from_pat (line 77) | fn find_bindings_from_pat(pat: &Pat<'_>) -> FxHashSet { function can_filter_and_then_move_to_closure (line 93) | fn can_filter_and_then_move_to_closure<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/filter_map_identity.rs function is_identity (line 12) | fn is_identity(cx: &LateContext<'_>, expr: &hir::Expr<'_>) -> Option, expr: &hir::Expr<'_>, filter_m... FILE: src/tools/clippy/clippy_lints/src/methods/filter_map_next.rs function check (line 12) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/filter_next.rs type Direction (line 13) | pub(super) enum Direction { function check (line 20) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/flat_map_identity.rs function check (line 12) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/flat_map_option.rs function check (line 11) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<... FILE: src/tools/clippy/clippy_lints/src/methods/format_collect.rs function peel_non_expn_blocks (line 12) | fn peel_non_expn_blocks<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<&'tcx Ex... function check (line 19) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, map_arg: &Exp... FILE: src/tools/clippy/clippy_lints/src/methods/from_iter_instead_of_collect.rs function check (line 17) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, args: &[Expr<... function build_full_type (line 46) | fn build_full_type(cx: &LateContext<'_>, hir_ty: &hir::Ty<'_>, app: &mut... FILE: src/tools/clippy/clippy_lints/src/methods/get_first.rs function check (line 14) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/get_last_with_len.rs function check (line 12) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'... FILE: src/tools/clippy/clippy_lints/src/methods/get_unwrap.rs function check (line 11) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/implicit_clone.rs function check (line 13) | pub fn check(cx: &LateContext<'_>, method_name: Symbol, expr: &hir::Expr... function is_clone_like (line 44) | pub fn is_clone_like(cx: &LateContext<'_>, method_name: Symbol, method_p... FILE: src/tools/clippy/clippy_lints/src/methods/inefficient_to_string.rs function check (line 14) | pub fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, receiver: &hir:... function specializes_tostring (line 50) | fn specializes_tostring(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/methods/inspect_for_each.rs function check (line 10) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<... FILE: src/tools/clippy/clippy_lints/src/methods/into_iter_on_ref.rs function check (line 13) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, method_s... function ty_has_iter_method (line 31) | fn ty_has_iter_method(cx: &LateContext<'_>, self_ref_ty: Ty<'_>) -> Opti... FILE: src/tools/clippy/clippy_lints/src/methods/io_other_error.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, path: &Expr<'... FILE: src/tools/clippy/clippy_lints/src/methods/ip_constant.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, func: &Expr<'... FILE: src/tools/clippy/clippy_lints/src/methods/is_digit_ascii_radix.rs function check (line 10) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/is_empty.rs function check (line 13) | pub(super) fn check(cx: &LateContext<'_>, expr: &'_ Expr<'_>, receiver: ... function is_under_cfg (line 39) | fn is_under_cfg(cx: &LateContext<'_>, id: HirId) -> bool { function expr_or_init (line 47) | fn expr_or_init<'a, 'b, 'tcx: 'b>(cx: &LateContext<'tcx>, mut expr: &'a ... FILE: src/tools/clippy/clippy_lints/src/methods/iter_cloned_collect.rs function check (line 13) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/iter_count.rs function check (line 13) | pub(crate) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'_>, recv:... FILE: src/tools/clippy/clippy_lints/src/methods/iter_filter.rs function is_method (line 43) | fn is_method( function parent_is_map (line 107) | fn parent_is_map(cx: &LateContext<'_>, expr: &hir::Expr<'_>) -> bool { type FilterType (line 118) | enum FilterType { function expression_type (line 139) | fn expression_type( function check (line 174) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, filter_a... FILE: src/tools/clippy/clippy_lints/src/methods/iter_kv_map.rs function check (line 17) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/iter_next_slice.rs function check (line 15) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<... function is_vec_or_array (line 78) | fn is_vec_or_array<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'... FILE: src/tools/clippy/clippy_lints/src/methods/iter_nth.rs function check (line 11) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/iter_nth_zero.rs function check (line 14) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &h... FILE: src/tools/clippy/clippy_lints/src/methods/iter_on_single_or_empty_collections.rs type IterType (line 17) | enum IterType { method ref_prefix (line 24) | fn ref_prefix(&self) -> &'static str { function is_arg_ty_unified_in_fn (line 33) | fn is_arg_ty_unified_in_fn<'tcx>( function check (line 65) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>... FILE: src/tools/clippy/clippy_lints/src/methods/iter_out_of_bounds.rs function expr_as_u128 (line 12) | fn expr_as_u128(cx: &LateContext<'_>, e: &Expr<'_>) -> Option { function get_iterator_length (line 23) | fn get_iterator_length<'tcx>(cx: &LateContext<'tcx>, iter: &'tcx Expr<'t... function check (line 53) | fn check<'tcx>( function check_skip (line 70) | pub(super) fn check_skip<'tcx>( function check_take (line 86) | pub(super) fn check_take<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/iter_overeager_cloned.rs type Op (line 18) | pub(super) enum Op<'a> { function check (line 37) | pub(super) fn check<'tcx>( type MoveDelegate (line 146) | struct MoveDelegate { method consume (line 179) | fn consume(&mut self, place_with_id: &PlaceWithHirId<'tcx>, _: HirId) { method use_cloned (line 185) | fn use_cloned(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId) {} method borrow (line 187) | fn borrow(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId, _: BorrowKind... method mutate (line 189) | fn mutate(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId) {} method fake_read (line 191) | fn fake_read(&mut self, _: &PlaceWithHirId<'tcx>, _: FakeReadCause, _:... function param_captured_by_move_block (line 152) | fn param_captured_by_move_block(cx: &LateContext<'_>, expr: &Expr<'_>, p... FILE: src/tools/clippy/clippy_lints/src/methods/iter_skip_next.rs function check (line 12) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &h... FILE: src/tools/clippy/clippy_lints/src/methods/iter_skip_zero.rs function check (line 12) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>... FILE: src/tools/clippy/clippy_lints/src/methods/iter_with_drain.rs function check (line 10) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'... FILE: src/tools/clippy/clippy_lints/src/methods/iterator_step_by_zero.rs function check (line 10) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &hir::Expr<'_>, ... FILE: src/tools/clippy/clippy_lints/src/methods/join_absolute_paths.rs function check (line 13) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, recv: &'tcx Expr<'tcx>... FILE: src/tools/clippy/clippy_lints/src/methods/lib.rs type SelfKind (line 8) | pub(super) enum SelfKind { method matches (line 16) | pub(super) fn matches<'a>(self, cx: &LateContext<'a>, parent_ty: Ty<'a... method description (line 62) | pub(super) fn description(self) -> &'static str { FILE: src/tools/clippy/clippy_lints/src/methods/lines_filter_map_ok.rs function check_flatten (line 12) | pub(super) fn check_flatten(cx: &LateContext<'_>, expr: &Expr<'_>, recv:... function check_filter_or_flat_map (line 24) | pub(super) fn check_filter_or_flat_map( function emit (line 65) | fn emit(cx: &LateContext<'_>, recv: &Expr<'_>, method_name: &'static str... FILE: src/tools/clippy/clippy_lints/src/methods/manual_c_str_literals.rs function check_as_ptr (line 21) | pub(super) fn check_as_ptr<'tcx>( function is_c_str_function (line 53) | fn is_c_str_function(cx: &LateContext<'_>, func: &Expr<'_>) -> Option, expr: &Expr<'_>, func: &Expr<'... function check_from_ptr (line 89) | fn check_from_ptr(cx: &LateContext<'_>, expr: &Expr<'_>, arg: &Expr<'_>) { function check_from_bytes (line 109) | fn check_from_bytes(cx: &LateContext<'_>, expr: &Expr<'_>, arg: &Expr<'_... function rewrite_as_cstr (line 142) | fn rewrite_as_cstr(cx: &LateContext<'_>, span: Span) -> Option { function get_cast_target (line 169) | fn get_cast_target<'tcx>(e: &'tcx Expr<'tcx>) -> Option<&'tcx Expr<'tcx>> { function peel_ptr_cast (line 180) | fn peel_ptr_cast<'tcx>(e: &'tcx Expr<'tcx>) -> &'tcx Expr<'tcx> { function peel_ptr_cast_ancestors (line 188) | fn peel_ptr_cast_ancestors<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'... FILE: src/tools/clippy/clippy_lints/src/methods/manual_contains.rs function check (line 16) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'... type EligibleArg (line 47) | enum EligibleArg { function try_get_eligible_arg (line 52) | fn try_get_eligible_arg<'tcx>( function can_replace_with_contains (line 92) | fn can_replace_with_contains<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/manual_inspect.rs function check (line 18) | pub(crate) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, arg: &Expr<'_... type UseKind (line 202) | enum UseKind<'tcx> { function check_use (line 212) | fn check_use<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) -> (UseKin... FILE: src/tools/clippy/clippy_lints/src/methods/manual_is_variant_and.rs type Flavor (line 19) | enum Flavor { method new (line 25) | fn new(cx: &LateContext<'_>, def_id: DefId) -> Option { method diag_sym (line 33) | const fn diag_sym(self) -> Symbol { method positive_variant_name (line 40) | const fn positive_variant_name(self) -> Symbol { function check_map_unwrap_or_default (line 48) | pub(super) fn check_map_unwrap_or_default( type Op (line 102) | enum Op { method fmt (line 108) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Error (line 117) | type Error = (); method try_from (line 118) | fn try_from(op: BinOpKind) -> Result { type MapFunc (line 129) | enum MapFunc<'hir> { type Error (line 135) | type Error = (); function try_from (line 137) | fn try_from(expr: &'hir Expr<'hir>) -> Result { function sugg (line 149) | fn sugg(self, cx: &LateContext<'hir>, invert: bool, app: &mut Applicabil... function emit_lint (line 171) | fn emit_lint<'tcx>( function check_map (line 204) | pub(super) fn check_map(cx: &LateContext<'_>, expr: &Expr<'_>) { function check_or (line 232) | pub(super) fn check_or<'tcx>( function check_is_some_is_none (line 294) | pub(super) fn check_is_some_is_none<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/manual_next_back.rs function check (line 9) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/manual_ok_or.rs function check (line 12) | pub(super) fn check<'tcx>( function is_ok_wrapping (line 46) | fn is_ok_wrapping(cx: &LateContext<'_>, map_expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/methods/manual_repeat_n.rs function check (line 12) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/manual_saturating_arithmetic.rs function check_unwrap_or (line 14) | pub fn check_unwrap_or( function check_sub_unwrap_or_default (line 38) | pub(super) fn check_sub_unwrap_or_default( function check (line 60) | fn check( type CheckedArith (line 108) | enum CheckedArith { method new (line 115) | fn new(sym: Symbol) -> Option { method as_saturating (line 125) | fn as_saturating(self) -> &'static str { type MinMax (line 135) | enum MinMax { function is_min_or_max (line 140) | fn is_min_or_max(cx: &LateContext<'_>, expr: &Expr<'_>) -> Option { type Sign (line 208) | enum Sign { function lit_sign (line 213) | fn lit_sign(expr: &Expr<'_>) -> Option { FILE: src/tools/clippy/clippy_lints/src/methods/manual_str_repeat.rs type RepeatKind (line 15) | enum RepeatKind { function get_ty_param (line 20) | fn get_ty_param(ty: Ty<'_>) -> Option> { function parse_repeat_arg (line 28) | fn parse_repeat_arg(cx: &LateContext<'_>, e: &Expr<'_>) -> Option( FILE: src/tools/clippy/clippy_lints/src/methods/map_all_any_identity.rs function check (line 13) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/map_clone.rs function should_run_lint (line 22) | fn should_run_lint(cx: &LateContext<'_>, e: &hir::Expr<'_>, method_paren... function check (line 44) | pub(super) fn check(cx: &LateContext<'_>, e: &hir::Expr<'_>, recv: &hir:... function handle_path (line 108) | fn handle_path( function ident_eq (line 131) | fn ident_eq(name: Ident, path: &hir::Expr<'_>) -> bool { function lint_needless_cloning (line 139) | fn lint_needless_cloning(cx: &LateContext<'_>, root: Span, receiver: Spa... function lint_path (line 151) | fn lint_path(cx: &LateContext<'_>, replace: Span, root: Span, is_copy: b... function lint_explicit_closure (line 170) | fn lint_explicit_closure(cx: &LateContext<'_>, replace: Span, root: Span... FILE: src/tools/clippy/clippy_lints/src/methods/map_collect_result_unit.rs function check (line 12) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, iter: &h... FILE: src/tools/clippy/clippy_lints/src/methods/map_err_ignore.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, e: &Expr<'_>, arg: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/methods/map_flatten.rs function check (line 15) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'... function try_get_caller_ty_name_and_method_name (line 37) | fn try_get_caller_ty_name_and_method_name( function is_map_to_option (line 63) | fn is_map_to_option(cx: &LateContext<'_>, map_arg: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/methods/map_identity.rs constant MSG (line 13) | const MSG: &str = "unnecessary map of the identity function"; function check (line 15) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/map_unwrap_or.rs function check (line 20) | pub(super) fn check<'tcx>( type SuggestedKind (line 152) | enum SuggestedKind { type UnwrapVisitor (line 158) | struct UnwrapVisitor<'a, 'tcx> { type NestedFilter (line 164) | type NestedFilter = nested_filter::All; function visit_path (line 166) | fn visit_path(&mut self, path: &Path<'tcx>, _: HirId) { function maybe_tcx (line 176) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { type ReferenceVisitor (line 181) | struct ReferenceVisitor<'a, 'tcx> { type NestedFilter (line 188) | type NestedFilter = nested_filter::All; type Result (line 189) | type Result = ControlFlow<()>; function visit_expr (line 190) | fn visit_expr(&mut self, expr: &'tcx rustc_hir::Expr<'_>) -> ControlFlow... function maybe_tcx (line 207) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { FILE: src/tools/clippy/clippy_lints/src/methods/map_unwrap_or_else.rs function check (line 16) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/map_with_unused_argument_over_ranges.rs function extract_count_with_applicability (line 15) | fn extract_count_with_applicability( function check (line 60) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/mod.rs type Methods (line 4910) | pub struct Methods { method new (line 4925) | pub fn new(conf: &'static Conf, format_args: FormatArgsStorage) -> Self { method check_crate (line 4960) | fn check_crate(&mut self, cx: &LateContext<'tcx>) { method check_expr (line 4973) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_impl_item (line 5019) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, impl_item: &'tcx... method check_trait_item (line 5056) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Tra... method check_methods (line 5091) | fn check_methods<'tcx>(&self, cx: &LateContext<'tcx>, expr: &'tcx Expr... function method_call (line 4948) | pub fn method_call<'tcx>(recv: &'tcx Expr<'tcx>) -> Option<(Symbol, &'tc... function check_is_some_is_none (line 5810) | fn check_is_some_is_none<'tcx>( type BinaryExprInfo (line 5837) | struct BinaryExprInfo<'a> { function lint_binary_expr_with_method_call (line 5845) | fn lint_binary_expr_with_method_call(cx: &LateContext<'_>, info: &mut Bi... FILE: src/tools/clippy/clippy_lints/src/methods/mut_mutex_lock.rs function check (line 12) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, ex: &'tcx Expr<'tcx>, ... FILE: src/tools/clippy/clippy_lints/src/methods/needless_as_bytes.rs function check (line 11) | pub fn check(cx: &LateContext<'_>, prev_method: Symbol, method: Symbol, ... FILE: src/tools/clippy/clippy_lints/src/methods/needless_character_iteration.rs function peels_expr_ref (line 14) | fn peels_expr_ref<'a, 'tcx>(mut expr: &'a Expr<'tcx>) -> &'a Expr<'tcx> { function handle_expr (line 21) | fn handle_expr( function check (line 98) | pub(super) fn check(cx: &LateContext<'_>, call_expr: &Expr<'_>, recv: &E... FILE: src/tools/clippy/clippy_lints/src/methods/needless_collect.rs constant NEEDLESS_COLLECT_MSG (line 23) | const NEEDLESS_COLLECT_MSG: &str = "avoid using `collect()` when not nee... function check (line 26) | pub(super) fn check<'tcx>( function check_collect_into_intoiterator (line 172) | fn check_collect_into_intoiterator<'tcx>( function is_is_empty_sig (line 234) | fn is_is_empty_sig(cx: &LateContext<'_>, call_id: HirId) -> bool { function iterates_same_ty (line 242) | fn iterates_same_ty<'tcx>(cx: &LateContext<'tcx>, iter_ty: Ty<'tcx>, col... function is_contains_sig (line 261) | fn is_contains_sig(cx: &LateContext<'_>, call_id: HirId, iter_expr: &Exp... type IterFunction (line 288) | struct IterFunction { method get_iter_method (line 294) | fn get_iter_method(&self, cx: &LateContext<'_>) -> String { method get_suggestion_text (line 310) | fn get_suggestion_text(&self) -> &'static str { type IterFunctionKind (line 328) | enum IterFunctionKind { type ExtraFunctionSpan (line 335) | struct ExtraFunctionSpan { type ExtraFunction (line 342) | enum ExtraFunction { method apply_iter_method (line 351) | fn apply_iter_method(&self, cx: &LateContext<'_>, inner: &str) -> Stri... method span (line 378) | fn span(&self) -> Box + '_> { type ExtraFunctionPushSpec (line 391) | struct ExtraFunctionPushSpec { type ExtraFunctionSpec (line 397) | struct ExtraFunctionSpec { method new (line 403) | fn new(target: Symbol) -> Option { method is_extra_function (line 430) | fn is_extra_function(self, name: Symbol) -> bool { type IterFunctionVisitor (line 435) | struct IterFunctionVisitor<'a, 'tcx> { function visit_block (line 449) | fn visit_block(&mut self, block: &'tcx Block<'tcx>) { function visit_expr (line 468) | fn visit_expr(&mut self, expr: &'tcx Expr<'tcx>) { function get_span_of_expr_or_parent_stmt (line 597) | fn get_span_of_expr_or_parent_stmt<'tcx>(cx: &LateContext<'tcx>, expr: &... type LoopKind (line 605) | enum LoopKind<'tcx> { function check_loop_kind (line 610) | fn check_loop_kind<'tcx>(expr: &Expr<'tcx>) -> Option> { function visit_block_expr (line 628) | fn visit_block_expr(&mut self, expr: &'tcx Expr<'tcx>, hir_id: Option(stmt: &'v Stmt<'v>) -> Option<(&'v ... type UsedCountVisitor (line 649) | struct UsedCountVisitor<'a, 'tcx> { type NestedFilter (line 657) | type NestedFilter = nested_filter::OnlyBodies; function visit_expr (line 659) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { function maybe_tcx (line 676) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function detect_iter_and_into_iters (line 683) | fn detect_iter_and_into_iters<'tcx: 'a, 'a>( function get_captured_ids (line 710) | fn get_captured_ids(cx: &LateContext<'_>, ty: Ty<'_>) -> HirIdSet { type IteratorMethodCheckVisitor (line 744) | struct IteratorMethodCheckVisitor<'a, 'tcx> { type Result (line 751) | type Result = ControlFlow<()>; function visit_expr (line 752) | fn visit_expr(&mut self, expr: &'tcx Expr<'tcx>) -> ControlFlow<()> { function visit_stmt (line 774) | fn visit_stmt(&mut self, stmt: &'tcx Stmt<'tcx>) -> ControlFlow<()> { function check_iter_expr_used_only_as_iterator (line 793) | fn check_iter_expr_used_only_as_iterator<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/needless_option_as_deref.rs function check (line 14) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'... FILE: src/tools/clippy/clippy_lints/src/methods/needless_option_take.rs function check (line 10) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... function is_expr_option (line 36) | fn is_expr_option(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function source_of_temporary_value (line 45) | fn source_of_temporary_value(expr: &Expr<'_>) -> Option { FILE: src/tools/clippy/clippy_lints/src/methods/new_ret_no_self.rs function check_impl_item (line 11) | pub(super) fn check_impl_item<'tcx>( function check_trait_item (line 33) | pub(super) fn check_trait_item<'tcx>(cx: &LateContext<'tcx>, trait_item:... FILE: src/tools/clippy/clippy_lints/src/methods/no_effect_replace.rs function check (line 10) | pub(super) fn check<'tcx>( function lit_string_value (line 36) | fn lit_string_value(node: &LitKind) -> Option { FILE: src/tools/clippy/clippy_lints/src/methods/obfuscated_if_else.rs function check (line 13) | pub(super) fn check<'tcx>( type Unwrap (line 87) | pub(super) enum Unwrap<'tcx> { function arg (line 94) | fn arg(&self) -> Option<&'tcx Expr<'tcx>> { FILE: src/tools/clippy/clippy_lints/src/methods/ok_expect.rs function check (line 12) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &h... function get_error_type (line 38) | fn get_error_type<'a>(cx: &LateContext<'_>, ty: Ty<'a>) -> Option> { FILE: src/tools/clippy/clippy_lints/src/methods/open_options.rs function is_open_options (line 14) | fn is_open_options(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { function check (line 18) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'_>, rec... type Argument (line 31) | enum Argument { type OpenOption (line 37) | enum OpenOption { method fmt (line 46) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function get_open_options (line 61) | fn get_open_options( function check_open_options (line 141) | fn check_open_options(cx: &LateContext<'_>, settings: &[(OpenOption, Arg... FILE: src/tools/clippy/clippy_lints/src/methods/option_as_ref_cloned.rs function check (line 11) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/option_as_ref_deref.rs function check (line 15) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/option_map_or_none.rs function reduce_unit_expression (line 15) | fn reduce_unit_expression<'a>(expr: &'a hir::Expr<'_>) -> Option<(&'a hi... function check (line 33) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/or_fun_call.rs function check (line 24) | pub(super) fn check<'tcx>( function check_unwrap_or_default (line 105) | fn check_unwrap_or_default( function check_or_fn_call (line 210) | fn check_or_fn_call<'tcx>( function closure_body_returns_empty_to_string (line 285) | fn closure_body_returns_empty_to_string(cx: &LateContext<'_>, e: &hir::E... FILE: src/tools/clippy/clippy_lints/src/methods/or_then_unwrap.rs function check (line 12) | pub(super) fn check<'tcx>( function get_content_if_ctor_matches (line 64) | fn get_content_if_ctor_matches(cx: &LateContext<'_>, expr: &Expr<'_>, it... FILE: src/tools/clippy/clippy_lints/src/methods/path_buf_push_overwrite.rs function check (line 12) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... FILE: src/tools/clippy/clippy_lints/src/methods/path_ends_with_ext.rs constant DEFAULT_ALLOWED_DOTFILES (line 14) | pub const DEFAULT_ALLOWED_DOTFILES: &[&str] = &[ function check (line 18) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/ptr_offset_by_literal.rs function check (line 14) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... function get_literal_bits (line 68) | fn get_literal_bits<'tcx>(expr: &'tcx Expr<'tcx>) -> Option { function expr_as_literal (line 79) | fn expr_as_literal<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>)... function format_isize_literal (line 94) | fn format_isize_literal<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'... function peel_parens_str (line 100) | fn peel_parens_str(snippet: &str) -> &str { type Method (line 109) | enum Method { method suggestion (line 115) | fn suggestion(self, literal: i128) -> Option<&'static str> { method fmt (line 132) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/tools/clippy/clippy_lints/src/methods/ptr_offset_with_cast.rs function check (line 12) | pub(super) fn check( type Method (line 60) | enum Method { method suggestion (line 67) | fn suggestion(self) -> &'static str { method fmt (line 76) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: src/tools/clippy/clippy_lints/src/methods/range_zip_with_len.rs function check (line 11) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... function for_loop_pattern (line 69) | fn for_loop_pattern<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) ... function methods_pattern (line 84) | fn methods_pattern<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) -... FILE: src/tools/clippy/clippy_lints/src/methods/read_line_without_trim.rs function expr_is_string_literal_without_trailing_newline (line 17) | fn expr_is_string_literal_without_trailing_newline(expr: &Expr<'_>) -> b... function parse_fails_on_trailing_newline (line 28) | fn parse_fails_on_trailing_newline(ty: Ty<'_>) -> bool { function check (line 33) | pub fn check(cx: &LateContext<'_>, call: &Expr<'_>, recv: &Expr<'_>, arg... FILE: src/tools/clippy/clippy_lints/src/methods/readonly_write_lock.rs function is_unwrap_call (line 12) | fn is_unwrap_call(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function check (line 25) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... FILE: src/tools/clippy/clippy_lints/src/methods/redundant_as_str.rs function check (line 9) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/repeat_once.rs function check (line 11) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/result_map_or_else_none.rs function check (line 14) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/return_and_then.rs function check (line 18) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/search_is_some.rs function check (line 18) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/seek_from_current.rs function check (line 14) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... function arg_is_seek_from_current (line 36) | fn arg_is_seek_from_current<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Ex... FILE: src/tools/clippy/clippy_lints/src/methods/seek_to_start_instead_of_rewind.rs function check (line 13) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/should_implement_trait.rs function check_impl_item (line 13) | pub(super) fn check_impl_item<'tcx>( type ShouldImplTraitCase (line 55) | struct ShouldImplTraitCase { method new (line 69) | const fn new( method lifetime_param_cond (line 89) | fn lifetime_param_cond(&self, impl_item: &ImplItem<'_>) -> bool { constant TRAIT_METHODS (line 103) | const TRAIT_METHODS: [ShouldImplTraitCase; 30] = [ type OutType (line 137) | enum OutType { method matches (line 145) | fn matches(self, ty: &FnRetTy<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/methods/single_char_add_str.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, receiver: &Ex... function is_ref_char (line 74) | fn is_ref_char(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function is_char (line 78) | fn is_char(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/methods/skip_while_next.rs function check (line 10) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<... FILE: src/tools/clippy/clippy_lints/src/methods/sliced_string_as_bytes.rs function is_bounded_range_literal (line 12) | fn is_bounded_range_literal(cx: &LateContext<'_>, index: &Expr<'_>) -> b... function check (line 16) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, recv: &Expr<'... FILE: src/tools/clippy/clippy_lints/src/methods/stable_sort_primitive.rs function check (line 10) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'_>, rec... FILE: src/tools/clippy/clippy_lints/src/methods/str_split.rs function check (line 12) | pub(super) fn check<'a>( FILE: src/tools/clippy/clippy_lints/src/methods/str_splitn.rs function check (line 20) | pub(super) fn check( function lint_needless (line 49) | fn lint_needless(cx: &LateContext<'_>, method_name: Symbol, expr: &Expr<... function check_manual_split_once (line 68) | fn check_manual_split_once( function check_manual_split_once_indirect (line 123) | fn check_manual_split_once_indirect( type IndirectUsage (line 187) | struct IndirectUsage<'a> { function indirect_usage (line 200) | fn indirect_usage<'tcx>( type IterUsageKind (line 257) | enum IterUsageKind { type UnwrapKind (line 263) | enum UnwrapKind { type IterUsage (line 269) | struct IterUsage { function parse_iter_usage (line 275) | fn parse_iter_usage<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/string_extend_chars.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &h... FILE: src/tools/clippy/clippy_lints/src/methods/string_lit_chars_any.rs function check (line 15) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/suspicious_command_arg_space.rs function check (line 12) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, recv: &'tcx hir::Expr<... FILE: src/tools/clippy/clippy_lints/src/methods/suspicious_map.rs function check (line 11) | pub fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, count_recv: &hi... FILE: src/tools/clippy/clippy_lints/src/methods/suspicious_splitn.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, method_name: Symbol, expr: &Ex... FILE: src/tools/clippy/clippy_lints/src/methods/suspicious_to_owned.rs function check (line 12) | pub fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, method_span: Sp... FILE: src/tools/clippy/clippy_lints/src/methods/swap_with_temporary.rs constant MSG_TEMPORARY (line 12) | const MSG_TEMPORARY: &str = "this expression returns a temporary value"; constant MSG_TEMPORARY_REFMUT (line 13) | const MSG_TEMPORARY_REFMUT: &str = "this is a mutable reference to a tem... function check (line 15) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'_>, func:... type ArgKind (line 31) | enum ArgKind<'tcx> { function new (line 45) | fn new(cx: &LateContext<'tcx>, arg: &'tcx Expr<'tcx>) -> Self { function emit_note (line 79) | fn emit_note(diag: &mut Diag<'_, ()>, base: &Expr<'_>, expr: &Expr<'_>, ... function emit_lint_useless (line 89) | fn emit_lint_useless( function emit_lint_assign (line 109) | fn emit_lint_assign(cx: &LateContext<'_>, expr: &Expr<'_>, target: &ArgK... FILE: src/tools/clippy/clippy_lints/src/methods/type_id_on_box.rs function is_subtrait_of_any (line 21) | fn is_subtrait_of_any(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { function check (line 42) | pub(super) fn check(cx: &LateContext<'_>, receiver: &Expr<'_>, call_span... FILE: src/tools/clippy/clippy_lints/src/methods/unbuffered_bytes.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &h... FILE: src/tools/clippy/clippy_lints/src/methods/uninit_assumed_init.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &h... FILE: src/tools/clippy/clippy_lints/src/methods/unit_hash.rs function check (line 11) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_fallible_conversions.rs type SpansKind (line 14) | enum SpansKind { type FunctionKind (line 23) | enum FunctionKind { method appl_sugg (line 33) | fn appl_sugg(&self, parent_unwrap_call: Option, primary_span: Sp... method default_sugg (line 49) | fn default_sugg(&self, primary_span: Span) -> Vec<(Span, String)> { method machine_applicable_sugg (line 59) | fn machine_applicable_sugg(&self, primary_span: Span, unwrap_span: Spa... function check (line 80) | fn check<'tcx>( function check_method (line 150) | pub(super) fn check_method(cx: &LateContext<'_>, expr: &Expr<'_>) { function check_function (line 165) | pub(super) fn check_function(cx: &LateContext<'_>, expr: &Expr<'_>, call... FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_filter_map.rs function check (line 17) | pub(super) fn check<'tcx>( type Kind (line 91) | pub(super) enum Kind { method is_filter_map (line 97) | fn is_filter_map(self) -> bool { method fmt (line 103) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function check_expression (line 112) | fn check_expression<'tcx>(cx: &LateContext<'tcx>, arg_id: hir::HirId, ex... FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_first_then_check.rs function check (line 11) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_fold.rs function needs_turbofish (line 20) | fn needs_turbofish<'tcx>(cx: &LateContext<'tcx>, expr: &hir::Expr<'tcx>)... type Replacement (line 58) | struct Replacement { method default_applicability (line 66) | fn default_applicability(&self) -> Applicability { method maybe_add_note (line 74) | fn maybe_add_note(&self, diag: &mut Diag<'_, ()>) { method maybe_turbofish (line 83) | fn maybe_turbofish(&self, ty: Ty<'_>) -> String { function get_triggered_expr_span (line 92) | fn get_triggered_expr_span( function check_fold_with_op (line 114) | fn check_fold_with_op( function check_fold_with_method (line 174) | fn check_fold_with_method( function check (line 210) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_get_then_check.rs function is_a_std_set_type (line 14) | fn is_a_std_set_type(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { function is_a_std_map_type (line 18) | fn is_a_std_map_type(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { function check (line 22) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_iter_cloned.rs function check (line 19) | pub fn check(cx: &LateContext<'_>, expr: &Expr<'_>, method_name: Symbol,... function check_for_loop_iter (line 34) | pub fn check_for_loop_iter( function is_into_iter (line 142) | pub fn is_into_iter(cx: &LateContext<'_>, callee_def_id: DefId) -> bool { FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_join.rs function check (line 12) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_lazy_eval.rs function check (line 15) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_literal_unwrap.rs function get_ty_from_args (line 13) | fn get_ty_from_args<'a>(args: Option<&'a [hir::GenericArg<'a>]>, index: ... function check (line 27) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_map_or.rs type Variant (line 19) | pub(super) enum Variant { method variant_name (line 24) | pub fn variant_name(&self) -> &'static str { method method_name (line 31) | pub fn method_name(&self) -> &'static str { function check (line 39) | pub(super) fn check<'a>( FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_map_or_else.rs function check (line 14) | pub(super) fn check( FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_min_or_max.rs function check (line 15) | pub(super) fn check<'tcx>( function lint (line 53) | fn lint(cx: &LateContext<'_>, expr: &Expr<'_>, name: Symbol, lhs: Span, ... type Extrema (line 79) | enum Extrema { function detect_extrema (line 83) | fn detect_extrema<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) ->... FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_sort_by.rs type LintTrigger (line 19) | enum LintTrigger { type SortByKeyDetection (line 24) | struct SortByKeyDetection { function mirrored_exprs (line 33) | fn mirrored_exprs( type BindingSource (line 135) | enum BindingSource { type Output (line 141) | type Output = BindingSource; method not (line 143) | fn not(self) -> Self::Output { type BindingKey (line 152) | struct BindingKey { type BindingValue (line 159) | struct BindingValue { type BindingMap (line 167) | type BindingMap = FxHashMap; function mapping_of_mirrored_pats (line 170) | fn mapping_of_mirrored_pats(a_pat: &Pat<'_>, b_pat: &Pat<'_>) -> Option<... function detect_lint (line 243) | fn detect_lint(cx: &LateContext<'_>, expr: &Expr<'_>, arg: &Expr<'_>) ->... function expr_borrows (line 331) | fn expr_borrows(ty: Ty<'_>) -> bool { function expr_is_field_access (line 335) | fn expr_is_field_access(expr: &Expr<'_>) -> bool { function check (line 343) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/unnecessary_to_owned.rs function check (line 27) | pub fn check<'tcx>( function check_addr_of_expr (line 67) | fn check_addr_of_expr( function check_into_iter_call_arg (line 206) | fn check_into_iter_call_arg( function check_string_from_utf8 (line 254) | fn check_string_from_utf8<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr... function check_split_call_arg (line 313) | fn check_split_call_arg(cx: &LateContext<'_>, expr: &Expr<'_>, method_na... function get_fn_name_and_arg (line 349) | fn get_fn_name_and_arg<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) ... function check_other_call_arg (line 377) | fn check_other_call_arg<'tcx>( function skip_addr_of_ancestors (line 434) | fn skip_addr_of_ancestors<'tcx>( function get_callee_generic_args_and_args (line 450) | fn get_callee_generic_args_and_args<'tcx>( function get_input_traits_and_projections (line 476) | fn get_input_traits_and_projections<'tcx>( function can_change_type (line 498) | fn can_change_type<'a>(cx: &LateContext<'a>, mut expr: &'a Expr<'a>, mut... function has_lifetime (line 610) | fn has_lifetime(ty: Ty<'_>) -> bool { function is_cloned_or_copied (line 615) | fn is_cloned_or_copied(cx: &LateContext<'_>, method_name: Symbol, method... function is_to_owned_like (line 621) | fn is_to_owned_like<'a>( function is_cow_into_owned (line 633) | fn is_cow_into_owned(cx: &LateContext<'_>, method_name: Symbol, method_p... function is_to_string_on_string_like (line 639) | fn is_to_string_on_string_like<'a>( function std_map_key (line 663) | fn std_map_key<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> Option, arg_ty: Ty<'_>, original_arg_... function is_slice_and_vec (line 681) | fn is_slice_and_vec(cx: &LateContext<'_>, arg_ty: Ty<'_>, original_arg_t... function check_if_applicable_to_argument (line 690) | fn check_if_applicable_to_argument<'tcx>(cx: &LateContext<'tcx>, arg: &E... function check_borrow_predicate (line 736) | fn check_borrow_predicate<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx... FILE: src/tools/clippy/clippy_lints/src/methods/unwrap_expect_used.rs type Variant (line 14) | pub(super) enum Variant { method method_name (line 20) | fn method_name(self, is_err: bool) -> &'static str { method lint (line 29) | fn lint(self) -> &'static Lint { function check (line 40) | pub(super) fn check( function check_call (line 132) | pub(super) fn check_call( FILE: src/tools/clippy/clippy_lints/src/methods/useless_asref.rs function get_enum_ty (line 19) | fn get_enum_ty(enum_ty: Ty<'_>) -> Option> { function check (line 44) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, call_nam... function check_qpath (line 137) | fn check_qpath(cx: &LateContext<'_>, qpath: hir::QPath<'_>, hir_id: hir:... function is_calling_clone (line 146) | fn is_calling_clone(cx: &LateContext<'_>, arg: &hir::Expr<'_>) -> bool { function lint_as_ref_clone (line 189) | fn lint_as_ref_clone(cx: &LateContext<'_>, span: Span, recvr: &hir::Expr... FILE: src/tools/clippy/clippy_lints/src/methods/useless_nonzero_new_unchecked.rs function check (line 13) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'_>, func:... FILE: src/tools/clippy/clippy_lints/src/methods/utils.rs function derefs_to_slice (line 14) | pub(super) fn derefs_to_slice<'tcx>( function clone_or_copy_needed (line 54) | pub(super) fn clone_or_copy_needed<'tcx>( function pat_bindings (line 70) | fn pat_bindings(pat: &Pat<'_>) -> Vec { type CloneOrCopyVisitor (line 85) | struct CloneOrCopyVisitor<'cx, 'tcx> { type NestedFilter (line 93) | type NestedFilter = nested_filter::OnlyBodies; function maybe_tcx (line 95) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function visit_expr (line 99) | fn visit_expr(&mut self, expr: &'tcx Expr<'tcx>) { function is_binding (line 130) | fn is_binding(&self, expr: &Expr<'tcx>) -> bool { function get_last_chain_binding_hir_id (line 137) | pub(super) fn get_last_chain_binding_hir_id(mut hir_id: HirId, statement... FILE: src/tools/clippy/clippy_lints/src/methods/vec_resize_to_zero.rs function check (line 12) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/verbose_file_reads.rs constant READ_TO_END_MSG (line 9) | pub(super) const READ_TO_END_MSG: (&str, &str) = ("use of `File::read_to... constant READ_TO_STRING_MSG (line 10) | pub(super) const READ_TO_STRING_MSG: (&str, &str) = ( function check (line 15) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/waker_clone_wake.rs function check (line 11) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, ... FILE: src/tools/clippy/clippy_lints/src/methods/wrong_self_convention.rs constant CONVENTIONS (line 13) | const CONVENTIONS: [(&[Convention], &[SelfKind]); 9] = [ type Convention (line 30) | enum Convention { method check (line 42) | fn check<'tcx>( method fmt (line 63) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> { function check (line 84) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/methods/zst_offset.rs function check (line 8) | pub(super) fn check(cx: &LateContext<'_>, expr: &hir::Expr<'_>, recv: &h... FILE: src/tools/clippy/clippy_lints/src/min_ident_chars.rs type MinIdentChars (line 51) | pub struct MinIdentChars { method new (line 57) | pub fn new(conf: &'static Conf) -> Self { method is_ident_too_short (line 65) | fn is_ident_too_short(&self, cx: &LateContext<'_>, str: &str, span: Sp... method check_item (line 75) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { method check_trait_item (line 83) | fn check_trait_item(&mut self, cx: &LateContext<'_>, item: &TraitItem<... method check_pat (line 104) | fn check_pat(&mut self, cx: &LateContext<'_>, pat: &Pat<'_>) { type IdentVisitor (line 115) | struct IdentVisitor<'cx, 'tcx> { function visit_id (line 121) | fn visit_id(&mut self, hir_id: HirId) { function emit_min_ident_chars (line 206) | fn emit_min_ident_chars(conf: &MinIdentChars, cx: &impl LintContext, ide... function opt_as_use_node (line 222) | fn opt_as_use_node(node: Node<'_>) -> Option<&'_ UsePath<'_>> { function is_not_in_trait_impl (line 234) | fn is_not_in_trait_impl(cx: &LateContext<'_>, pat: &Pat<'_>, ident: Iden... function get_param_name (line 259) | fn get_param_name(impl_item: &ImplItem<'_>, cx: &LateContext<'_>, ident:... FILE: src/tools/clippy/clippy_lints/src/minmax.rs method check_expr (line 39) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { type MinMax (line 60) | enum MinMax { function min_max (line 65) | fn min_max<'a>(cx: &LateContext<'_>, expr: &'a Expr<'a>) -> Option<(MinM... function fetch_const (line 98) | fn fetch_const<'a>( FILE: src/tools/clippy/clippy_lints/src/misc.rs method check_stmt (line 103) | fn check_stmt(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) { method check_expr (line 127) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function used_underscore_items (line 140) | fn used_underscore_items<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<... function used_underscore_binding (line 191) | fn used_underscore_binding<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Exp... function is_used (line 239) | fn is_used(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/misc_early/builtin_type_shadow.rs function check (line 8) | pub(super) fn check(cx: &EarlyContext<'_>, param: &GenericParam) { FILE: src/tools/clippy/clippy_lints/src/misc_early/literal_suffix.rs function check (line 8) | pub(super) fn check(cx: &EarlyContext<'_>, lit_span: Span, lit_snip: &st... FILE: src/tools/clippy/clippy_lints/src/misc_early/mixed_case_hex_literals.rs function check (line 7) | pub(super) fn check(cx: &EarlyContext<'_>, lit_span: Span, suffix: &str,... FILE: src/tools/clippy/clippy_lints/src/misc_early/mod.rs method check_generics (line 318) | fn check_generics(&mut self, cx: &EarlyContext<'_>, generics: &Generics) { method check_pat (line 324) | fn check_pat(&mut self, cx: &EarlyContext<'_>, pat: &Pat) { method check_expr (line 335) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { method check_lit (line 347) | fn check_lit(cx: &EarlyContext<'_>, lit: token::Lit, span: Span) { FILE: src/tools/clippy/clippy_lints/src/misc_early/redundant_at_rest_pattern.rs function check (line 8) | pub(super) fn check(cx: &EarlyContext<'_>, pat: &Pat) { FILE: src/tools/clippy/clippy_lints/src/misc_early/redundant_pattern.rs function check (line 8) | pub(super) fn check(cx: &EarlyContext<'_>, pat: &Pat) { FILE: src/tools/clippy/clippy_lints/src/misc_early/unneeded_field_pattern.rs function check (line 9) | pub(super) fn check(cx: &EarlyContext<'_>, pat: &Pat) { FILE: src/tools/clippy/clippy_lints/src/misc_early/unneeded_wildcard_pattern.rs function check (line 9) | pub(super) fn check(cx: &EarlyContext<'_>, pat: &Pat) { function span_lint (line 38) | fn span_lint(cx: &EarlyContext<'_>, span: Span, only_one: bool) { FILE: src/tools/clippy/clippy_lints/src/misc_early/zero_prefixed_literal.rs function check (line 8) | pub(super) fn check(cx: &EarlyContext<'_>, lit_span: Span, lit_snip: &st... FILE: src/tools/clippy/clippy_lints/src/mismatching_type_param_order.rs method check_item (line 52) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { function mismatch_param_name (line 114) | fn mismatch_param_name(i: usize, impl_param_name: &String, type_param_na... FILE: src/tools/clippy/clippy_lints/src/missing_assert_message.rs method check_expr (line 52) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/missing_asserts_for_indexing.rs function report_lint (line 70) | fn report_lint(cx: &LateContext<'_>, index_spans: Vec, msg: &'s... type LengthComparison (line 81) | enum LengthComparison { function len_comparison (line 98) | fn len_comparison<'hir>( function assert_len_expr (line 132) | fn assert_len_expr<'hir>( type IndexEntry (line 173) | enum IndexEntry<'hir> { function slice (line 206) | pub fn slice(&self) -> &'hir Expr<'hir> { function upper_index_expr (line 219) | fn upper_index_expr(cx: &LateContext<'_>, expr: &Expr<'_>) -> Option(cx: &LateContext<'_>, expr: &'hir Expr<'hir>, map: ... function check_assert (line 303) | fn check_assert<'hir>(cx: &LateContext<'_>, expr: &'hir Expr<'hir>, map:... function report_indexes (line 345) | fn report_indexes(cx: &LateContext<'_>, map: UnindexMap, body: &Body<'_>) { FILE: src/tools/clippy/clippy_lints/src/missing_const_for_fn.rs type MissingConstForFn (line 77) | pub struct MissingConstForFn { method new (line 82) | pub fn new(conf: &'static Conf) -> Self { method check_fn (line 88) | fn check_fn( function already_const (line 189) | fn already_const(header: hir::FnHeader) -> bool { function could_be_const_with_abi (line 193) | fn could_be_const_with_abi(cx: &LateContext<'_>, msrv: Msrv, abi: Extern... function fn_inputs_has_impl_trait_ty (line 205) | fn fn_inputs_has_impl_trait_ty(cx: &LateContext<'_>, def_id: LocalDefId)... FILE: src/tools/clippy/clippy_lints/src/missing_const_for_thread_local.rs type MissingConstForThreadLocal (line 47) | pub struct MissingConstForThreadLocal { method new (line 52) | pub fn new(conf: &'static Conf) -> Self { method check_fn (line 103) | fn check_fn( function is_thread_local_initializer (line 58) | fn is_thread_local_initializer( function is_unreachable (line 70) | fn is_unreachable(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function initializer_can_be_made_const (line 91) | fn initializer_can_be_made_const(cx: &LateContext<'_>, defid: rustc_span... FILE: src/tools/clippy/clippy_lints/src/missing_doc.rs type MissingDoc (line 34) | pub struct MissingDoc { method new (line 58) | pub fn new(conf: &'static Conf) -> Self { method is_missing_docs (line 72) | fn is_missing_docs(&self, cx: &LateContext<'_>, def_id: LocalDefId, hi... method check_attributes (line 105) | fn check_attributes(&mut self, _: &LateContext<'tcx>, attrs: &'tcx [At... method check_attributes_post (line 112) | fn check_attributes_post(&mut self, _: &LateContext<'tcx>, _: &'tcx [A... method check_item (line 122) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { method check_item_post (line 185) | fn check_item_post(&mut self, _: &LateContext<'tcx>, item: &'tcx Item<... method check_trait_item (line 198) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Tra... method check_impl_item (line 216) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Impl... method check_body (line 237) | fn check_body(&mut self, _: &LateContext<'tcx>, body: &Body<'tcx>) { method check_body_post (line 243) | fn check_body_post(&mut self, _: &LateContext<'tcx>, body: &Body<'tcx>) { method check_field_def (line 249) | fn check_field_def(&mut self, cx: &LateContext<'tcx>, field: &'tcx Fie... method check_variant (line 268) | fn check_variant(&mut self, cx: &LateContext<'tcx>, variant: &'tcx Var... function is_doc_attr (line 286) | fn is_doc_attr(attr: &Attribute) -> bool { FILE: src/tools/clippy/clippy_lints/src/missing_enforced_import_rename.rs type ImportRename (line 51) | pub struct ImportRename { method new (line 56) | pub fn new(tcx: TyCtxt<'_>, conf: &'static Conf) -> Self { method check_item (line 73) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/missing_fields_in_debug.rs function report_lints (line 82) | fn report_lints(cx: &LateContext<'_>, span: Span, span_notes: Vec<(Span,... function should_lint (line 102) | fn should_lint<'tcx>( function as_field_call (line 136) | fn as_field_call<'tcx>( function check_struct (line 155) | fn check_struct<'tcx>( method check_item (line 204) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/missing_inline.rs function check_missing_inline_attrs (line 69) | fn check_missing_inline_attrs( method check_item (line 87) | fn check_item(&mut self, cx: &LateContext<'tcx>, it: &'tcx hir::Item<'_>) { method check_impl_item (line 151) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, impl_item: &'tcx h... function fn_is_externally_exported (line 196) | fn fn_is_externally_exported(cx: &LateContext<'_>, def_id: DefId) -> bool { FILE: src/tools/clippy/clippy_lints/src/missing_trait_methods.rs method check_item (line 62) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/mixed_read_write_in_expression.rs method check_expr (line 88) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_stmt (line 106) | fn check_stmt(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) { type DivergenceVisitor (line 119) | struct DivergenceVisitor<'a, 'tcx> { function maybe_walk_expr (line 124) | fn maybe_walk_expr(&mut self, e: &'tcx Expr<'_>) { function report_diverging_sub_expr (line 141) | fn report_diverging_sub_expr(&self, e: &Expr<'_>) { function stmt_might_diverge (line 151) | fn stmt_might_diverge(stmt: &Stmt<'_>) -> bool { function visit_expr (line 156) | fn visit_expr(&mut self, e: &'tcx Expr<'_>) { function visit_block (line 195) | fn visit_block(&mut self, _: &'tcx Block<'_>) { function check_for_unsequenced_reads (line 214) | fn check_for_unsequenced_reads(vis: &mut ReadVisitor<'_, '_>) { type StopEarly (line 243) | enum StopEarly { function check_expr (line 248) | fn check_expr<'tcx>(vis: &mut ReadVisitor<'_, 'tcx>, expr: &'tcx Expr<'_... function check_stmt (line 296) | fn check_stmt<'tcx>(vis: &mut ReadVisitor<'_, 'tcx>, stmt: &'tcx Stmt<'_... type ReadVisitor (line 310) | struct ReadVisitor<'a, 'tcx> { function visit_expr (line 323) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { function is_in_assignment_position (line 372) | fn is_in_assignment_position(cx: &LateContext<'_>, expr: &Expr<'_>) -> b... FILE: src/tools/clippy/clippy_lints/src/module_style.rs type ModState (line 70) | pub struct ModState { type ModStyle (line 77) | pub struct ModStyle { method check_crate (line 83) | fn check_crate(&mut self, cx: &EarlyContext<'_>, _: &ast::Crate) { method check_item (line 87) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &ast::Item) { method check_item_post (line 107) | fn check_item_post(&mut self, cx: &EarlyContext<'_>, item: &ast::Item) { function check_self_named_module (line 133) | fn check_self_named_module(cx: &EarlyContext<'_>, path: &Path, file: &So... function check_mod_module (line 152) | fn check_mod_module(cx: &EarlyContext<'_>, path: &Path, file: &SourceFil... function try_trim_file_path_prefix (line 176) | fn try_trim_file_path_prefix<'a>(file: &'a SourceFile, prefix: &'a Path)... FILE: src/tools/clippy/clippy_lints/src/multi_assignments.rs function strip_paren_blocks (line 34) | fn strip_paren_blocks(expr: &Expr) -> &Expr { method check_expr (line 55) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { FILE: src/tools/clippy/clippy_lints/src/multiple_bound_locations.rs method check_fn (line 41) | fn check_fn(&mut self, cx: &EarlyContext<'_>, kind: FnKind<'_>, _: Span,... function emit_lint (line 79) | fn emit_lint(cx: &EarlyContext<'_>, bound_span: Span, where_span: Span) { FILE: src/tools/clippy/clippy_lints/src/multiple_unsafe_ops_per_block.rs method check_block (line 79) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &'tcx hir::Bloc... type UnsafeExprCollector (line 103) | struct UnsafeExprCollector<'tcx> { function collect_unsafe_exprs (line 110) | fn collect_unsafe_exprs(cx: &LateContext<'tcx>, block: &'tcx hir::Block<... function insert_span (line 132) | fn insert_span(&mut self, span: Span, message: &'static str) { type NestedFilter (line 145) | type NestedFilter = nested_filter::OnlyBodies; function visit_expr (line 147) | fn visit_expr(&mut self, expr: &'tcx hir::Expr<'tcx>) { function visit_body (line 243) | fn visit_body(&mut self, body: &hir::Body<'tcx>) { function maybe_tcx (line 250) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { FILE: src/tools/clippy/clippy_lints/src/mut_key.rs type MutableKeyType (line 72) | pub struct MutableKeyType<'tcx> { function check_item (line 77) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::Item<'... function check_impl_item (line 83) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::I... function check_trait_item (line 91) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::... function check_local (line 97) | fn check_local(&mut self, cx: &LateContext<'tcx>, local: &hir::LetStmt<'... function new (line 106) | pub fn new(tcx: TyCtxt<'tcx>, conf: &'static Conf) -> Self { function check_sig (line 112) | fn check_sig(&mut self, cx: &LateContext<'tcx>, fn_def_id: LocalDefId, d... function check_ty_ (line 126) | fn check_ty_(&mut self, cx: &LateContext<'tcx>, span: Span, ty: Ty<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/mut_mut.rs type MutMut (line 46) | pub(crate) struct MutMut { method check_block (line 51) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &'tcx hir::Bl... method check_ty (line 55) | fn check_ty(&mut self, cx: &LateContext<'tcx>, ty: &'tcx hir::Ty<'_, A... type MutVisitor (line 103) | pub struct MutVisitor<'a, 'tcx> { function visit_expr (line 108) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/mutable_debug_assertion.rs method check_expr (line 42) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { function check_arg (line 63) | fn check_arg<'tcx>(cx: &LateContext<'tcx>, arg: &'tcx Expr<'tcx>, macro_... type MutArgVisitor (line 79) | struct MutArgVisitor<'a, 'tcx> { function new (line 86) | fn new(cx: &'a LateContext<'tcx>) -> Self { function expr_span (line 94) | fn expr_span(&self) -> Option { type NestedFilter (line 100) | type NestedFilter = nested_filter::OnlyBodies; function visit_expr (line 102) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) { function maybe_tcx (line 130) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { FILE: src/tools/clippy/clippy_lints/src/mutex_atomic.rs method check_item (line 99) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { method check_local (line 108) | fn check_local(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx LetStmt<'_... type TypeAscriptionKind (line 120) | enum TypeAscriptionKind<'tcx> { function check_expr (line 132) | fn check_expr<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>, ty_ascrip... function get_atomic_name (line 177) | fn get_atomic_name(ty: Ty<'_>) -> Option<&'static str> { FILE: src/tools/clippy/clippy_lints/src/needless_arbitrary_self_type.rs type Mode (line 62) | enum Mode { method check_param (line 68) | fn check_param(&mut self, cx: &EarlyContext<'_>, p: &Param) { FILE: src/tools/clippy/clippy_lints/src/needless_bool.rs function condition_needs_parentheses (line 86) | fn condition_needs_parentheses(e: &Expr<'_>) -> bool { method check_expr (line 103) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { type Expression (line 201) | enum Expression { function fetch_bool_block (line 206) | fn fetch_bool_block(expr: &Expr<'_>) -> Option { function fetch_bool_expr (line 213) | fn fetch_bool_expr(expr: &Expr<'_>) -> Option { function fetch_assign (line 222) | fn fetch_assign<'tcx>(expr: &'tcx Expr<'tcx>) -> Option<(&'tcx Expr<'tcx... function is_as_argument (line 230) | fn is_as_argument(cx: &LateContext<'_>, e: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/needless_borrowed_ref.rs method check_pat (line 39) | fn check_pat(&mut self, cx: &LateContext<'tcx>, ref_pat: &'tcx Pat<'_>) { function check_subpatterns (line 111) | fn check_subpatterns<'tcx>( FILE: src/tools/clippy/clippy_lints/src/needless_borrows_for_generic_args.rs type NeedlessBorrowsForGenericArgs (line 63) | pub struct NeedlessBorrowsForGenericArgs<'tcx> { function new (line 73) | pub fn new(conf: &'static Conf) -> Self { function check_expr (line 82) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function check_body_post (line 137) | fn check_body_post(&mut self, cx: &LateContext<'tcx>, body: &Body<'_>) { function path_has_args (line 148) | fn path_has_args(p: &QPath<'_>) -> bool { function needless_borrow_count (line 166) | fn needless_borrow_count<'tcx>( function has_ref_mut_self_method (line 300) | fn has_ref_mut_self_method(cx: &LateContext<'_>, trait_def_id: DefId) ->... function is_mixed_projection_predicate (line 319) | fn is_mixed_projection_predicate<'tcx>( function referent_used_exactly_once (line 350) | fn referent_used_exactly_once<'tcx>( function replace_types (line 385) | fn replace_types<'tcx>( FILE: src/tools/clippy/clippy_lints/src/needless_continue.rs method check_expr (line 134) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { function needless_continue_in_else (line 196) | fn needless_continue_in_else(else_expr: &Expr<'_>, label: Option<&Label>... function is_first_block_stmt_continue (line 204) | fn is_first_block_stmt_continue(block: &Block<'_>, label: Option<&Label>... function compare_labels (line 218) | fn compare_labels(loop_label: Option<&Label>, continue_label: Option<&La... function with_loop_block (line 231) | fn with_loop_block(expr: &Expr<'_>, mut func: F) function with_if_expr (line 269) | fn with_if_expr(expr: &Expr<'_>, mut func: F) type LintType (line 286) | enum LintType { type LintData (line 293) | struct LintData<'hir> { constant MSG_REDUNDANT_CONTINUE_EXPRESSION (line 309) | const MSG_REDUNDANT_CONTINUE_EXPRESSION: &str = "this `continue` express... constant MSG_REDUNDANT_ELSE_BLOCK (line 311) | const MSG_REDUNDANT_ELSE_BLOCK: &str = "this `else` block is redundant"; constant MSG_ELSE_BLOCK_NOT_NEEDED (line 313) | const MSG_ELSE_BLOCK_NOT_NEEDED: &str = "there is no need for an explici... constant DROP_ELSE_BLOCK_AND_MERGE_MSG (line 316) | const DROP_ELSE_BLOCK_AND_MERGE_MSG: &str = "consider dropping the `else... constant DROP_ELSE_BLOCK_MSG (line 319) | const DROP_ELSE_BLOCK_MSG: &str = "consider dropping the `else` clause"; constant DROP_CONTINUE_EXPRESSION_MSG (line 321) | const DROP_CONTINUE_EXPRESSION_MSG: &str = "consider dropping the `conti... function emit_warning (line 323) | fn emit_warning(cx: &LateContext<'_>, data: &LintData<'_>, header: &str,... function suggestion_snippet_for_continue_inside_if (line 344) | fn suggestion_snippet_for_continue_inside_if(cx: &LateContext<'_>, data:... function suggestion_snippet_for_continue_inside_else (line 365) | fn suggestion_snippet_for_continue_inside_else(cx: &LateContext<'_>, dat... function check_last_stmt_in_expr (line 420) | fn check_last_stmt_in_expr(cx: &LateContext<'_>, inner_expr: &Expr<'_... function check_last_stmt_in_block (line 450) | fn check_last_stmt_in_block(cx: &LateContext<'_>, b: &Block<'_>, func... function check_and_warn (line 466) | fn check_and_warn(cx: &LateContext<'_>, expr: &Expr<'_>) { function erode_from_back (line 570) | fn erode_from_back(s: &str) -> String { function span_of_first_expr_in_block (line 582) | fn span_of_first_expr_in_block(block: &Block<'_>) -> Option { function test_erode_from_back (line 596) | fn test_erode_from_back() { function test_erode_from_back_no_brace (line 614) | fn test_erode_from_back_no_brace() { FILE: src/tools/clippy/clippy_lints/src/needless_else.rs method check_expr (line 39) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { FILE: src/tools/clippy/clippy_lints/src/needless_for_each.rs method check_stmt (line 58) | fn check_stmt(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) { method check_block (line 64) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &'tcx Block<'_>) { function check_expr (line 71) | fn check_expr(cx: &LateContext<'_>, expr: &Expr<'_>, outer_span: Span) { function is_let_desugar (line 163) | fn is_let_desugar(block: &Block<'_>) -> bool { type RetCollector (line 187) | struct RetCollector { method visit_expr (line 194) | fn visit_expr(&mut self, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/needless_ifs.rs method check_stmt (line 40) | fn check_stmt<'tcx>(&mut self, cx: &LateContext<'tcx>, stmt: &Stmt<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/needless_late_init.rs function contains_assign_expr (line 66) | fn contains_assign_expr<'tcx>(cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'... function contains_let (line 77) | fn contains_let(cond: &Expr<'_>) -> bool { function stmt_needs_ordered_drop (line 88) | fn stmt_needs_ordered_drop(cx: &LateContext<'_>, stmt: &Stmt<'_>) -> bool { type LocalAssign (line 102) | struct LocalAssign { method from_expr (line 109) | fn from_expr(expr: &Expr<'_>, span: Span) -> Option { method new (line 129) | fn new<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>, binding_i... function assignment_suggestions (line 159) | fn assignment_suggestions<'tcx>( type Usage (line 206) | struct Usage<'tcx> { function first_usage (line 212) | fn first_usage<'tcx>( function local_snippet_without_semicolon (line 242) | fn local_snippet_without_semicolon(cx: &LateContext<'_>, local: &LetStmt... function check (line 255) | fn check<'tcx>( method check_local (line 351) | fn check_local(&mut self, cx: &LateContext<'tcx>, local: &'tcx LetStmt<'... FILE: src/tools/clippy/clippy_lints/src/needless_maybe_sized.rs type Bound (line 40) | struct Bound<'tcx> { function type_param_bounds (line 52) | fn type_param_bounds<'tcx>(generics: &'tcx Generics<'tcx>) -> impl Itera... function path_to_sized_bound (line 87) | fn path_to_sized_bound(cx: &LateContext<'_>, trait_bound: &PolyTraitRef<... method check_generics (line 116) | fn check_generics(&mut self, cx: &LateContext<'_>, generics: &Generics<'... FILE: src/tools/clippy/clippy_lints/src/needless_parens_on_range_literals.rs function snippet_enclosed_in_parenthesis (line 45) | fn snippet_enclosed_in_parenthesis(snippet: &str) -> bool { function check_for_parens (line 49) | fn check_for_parens(cx: &LateContext<'_>, e: &Expr<'_>, is_start: bool) { method check_expr (line 78) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/needless_pass_by_ref_mut.rs type NeedlessPassByRefMut (line 56) | pub struct NeedlessPassByRefMut<'tcx> { function new (line 63) | pub fn new(conf: &'static Conf) -> Self { function should_skip (line 72) | fn should_skip<'tcx>( function check_closures (line 100) | fn check_closures<'tcx>( function check_fn (line 126) | fn check_fn( function check_expr (line 240) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { function check_crate_post (line 261) | fn check_crate_post(&mut self, cx: &LateContext<'tcx>) { type MutablyUsedVariablesCtxt (line 309) | struct MutablyUsedVariablesCtxt<'tcx> { function add_mutably_used_var (line 323) | fn add_mutably_used_var(&mut self, used_id: HirId) { function generate_mutably_used_ids_from_aliases (line 329) | fn generate_mutably_used_ids_from_aliases(mut self) -> HirIdSet { function would_be_alias_cycle (line 341) | fn would_be_alias_cycle(&self, alias: HirId, mut target: HirId) -> bool { function add_alias (line 351) | fn add_alias(&mut self, alias: HirId, target: HirId) { function is_in_unsafe_block (line 361) | fn is_in_unsafe_block(&self, item: HirId) -> bool { function consume (line 376) | fn consume(&mut self, cmt: &euv::PlaceWithHirId<'tcx>, id: HirId) { function use_cloned (line 407) | fn use_cloned(&mut self, _: &euv::PlaceWithHirId<'tcx>, _: HirId) {} function borrow (line 409) | fn borrow(&mut self, cmt: &euv::PlaceWithHirId<'tcx>, id: HirId, borrow:... function mutate (line 457) | fn mutate(&mut self, cmt: &euv::PlaceWithHirId<'tcx>, _id: HirId) { function copy (line 475) | fn copy(&mut self, cmt: &euv::PlaceWithHirId<'tcx>, id: HirId) { function fake_read (line 492) | fn fake_read( function bind (line 517) | fn bind(&mut self, cmt: &euv::PlaceWithHirId<'tcx>, id: HirId) { FILE: src/tools/clippy/clippy_lints/src/needless_pass_by_value.rs method check_fn (line 76) | fn check_fn( function requires_exact_signature (line 311) | pub(crate) fn requires_exact_signature(attrs: &[Attribute]) -> bool { type MovedVariablesCtxt (line 316) | struct MovedVariablesCtxt { method move_common (line 321) | fn move_common(&mut self, cmt: &euv::PlaceWithHirId<'_>) { method consume (line 329) | fn consume(&mut self, cmt: &euv::PlaceWithHirId<'tcx>, _: HirId) { method use_cloned (line 333) | fn use_cloned(&mut self, _: &euv::PlaceWithHirId<'tcx>, _: HirId) {} method borrow (line 335) | fn borrow(&mut self, _: &euv::PlaceWithHirId<'tcx>, _: HirId, _: ty::B... method mutate (line 337) | fn mutate(&mut self, _: &euv::PlaceWithHirId<'tcx>, _: HirId) {} method fake_read (line 339) | fn fake_read(&mut self, _: &rustc_hir_typeck::expr_use_visitor::PlaceW... function get_spans (line 342) | fn get_spans<'tcx>( function extract_clone_suggestions (line 355) | fn extract_clone_suggestions<'tcx>( FILE: src/tools/clippy/clippy_lints/src/needless_question_mark.rs method check_expr (line 67) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &'_ Expr<'_>) { method check_body (line 73) | fn check_body(&mut self, cx: &LateContext<'_>, body: &'_ Body<'_>) { function check (line 95) | fn check(cx: &LateContext<'_>, expr: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/needless_update.rs method check_expr (line 53) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/neg_cmp_op_on_partial_ord.rs method check_expr (line 46) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/neg_multiply.rs function is_in_parens_with_postfix (line 36) | fn is_in_parens_with_postfix(cx: &LateContext<'_>, mul_expr: &Expr<'_>) ... method check_expr (line 50) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { function check_mul (line 64) | fn check_mul(cx: &LateContext<'_>, mul_expr: &Expr<'_>, lit: &Expr<'_>, ... FILE: src/tools/clippy/clippy_lints/src/new_without_default.rs type NewWithoutDefault (line 56) | pub struct NewWithoutDefault { method check_item (line 62) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::Item... function create_new_without_default_suggest_msg (line 201) | fn create_new_without_default_suggest_msg( FILE: src/tools/clippy/clippy_lints/src/no_effect.rs type NoEffect (line 83) | pub struct NoEffect { method check_stmt (line 89) | fn check_stmt(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) { method check_block (line 96) | fn check_block(&mut self, _: &LateContext<'tcx>, _: &'tcx rustc_hir::B... method check_block_post (line 100) | fn check_block_post(&mut self, cx: &LateContext<'tcx>, _: &'tcx rustc_... method check_expr (line 114) | fn check_expr(&mut self, _: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { method check_no_effect (line 122) | fn check_no_effect(&mut self, cx: &LateContext<'_>, stmt: &Stmt<'_>) -... function is_operator_overridden (line 209) | fn is_operator_overridden(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function expr_ty_has_significant_drop (line 228) | fn expr_ty_has_significant_drop(cx: &LateContext<'_>, expr: &Expr<'_>) -... function has_no_effect (line 233) | fn has_no_effect(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function check_unnecessary_operation (line 276) | fn check_unnecessary_operation(cx: &LateContext<'_>, stmt: &Stmt<'_>) { function reduce_expression (line 336) | fn reduce_expression<'a>(cx: &LateContext<'_>, expr: &'a Expr<'a>) -> Op... FILE: src/tools/clippy/clippy_lints/src/no_mangle_with_rust_abi.rs method check_item (line 41) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/non_canonical_impls.rs type NonCanonicalImpls (line 123) | pub(crate) struct NonCanonicalImpls { method new (line 131) | pub(crate) fn new(tcx: TyCtxt<'_>) -> Self { method check_item (line 149) | fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) { type Trait (line 143) | enum Trait { function check_clone_on_copy (line 211) | fn check_clone_on_copy(cx: &LateContext<'_>, impl_item: &ImplItem<'_>, b... function check_partial_ord_on_ord (line 251) | fn check_partial_ord_on_ord<'tcx>( function expr_is_cmp (line 323) | fn expr_is_cmp<'tcx>( function self_cmp_call (line 355) | fn self_cmp_call<'tcx>( FILE: src/tools/clippy/clippy_lints/src/non_copy_const.rs type IsFreeze (line 169) | enum IsFreeze { method from_variants (line 179) | fn from_variants(iter: impl Iterator) -> Self { method from_fields (line 188) | fn from_fields(mut iter: impl Iterator) -> Self { method is_freeze (line 198) | fn is_freeze(self) -> bool { method is_not_freeze (line 203) | fn is_not_freeze(self) -> bool { type BorrowCause (line 210) | enum BorrowCause { method note (line 219) | fn note(self) -> Option<&'static str> { type BorrowSource (line 234) | struct BorrowSource<'tcx> { function new (line 239) | fn new(tcx: TyCtxt<'tcx>, expr: &'tcx Expr<'tcx>, cause: BorrowCause) ->... type NonCopyConst (line 258) | pub struct NonCopyConst<'tcx> { function new (line 266) | pub fn new(tcx: TyCtxt<'tcx>, conf: &'static Conf) -> Self { function is_ty_freeze (line 278) | fn is_ty_freeze(&mut self, tcx: TyCtxt<'tcx>, typing_env: TypingEnv<'tcx... function is_value_freeze (line 341) | fn is_value_freeze( function is_init_expr_freeze (line 374) | fn is_init_expr_freeze( function is_non_freeze_expr_borrowed (line 439) | fn is_non_freeze_expr_borrowed( function is_non_freeze_val_borrowed (line 479) | fn is_non_freeze_val_borrowed( function is_non_freeze_init_borrowed (line 558) | fn is_non_freeze_init_borrowed( function check_item (line 702) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { function check_trait_item (line 744) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Trait... function check_impl_item (line 779) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx ImplIt... function check_expr (line 834) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { type ReplaceAssocFolder (line 876) | struct ReplaceAssocFolder<'tcx> { function cx (line 882) | fn cx(&self) -> TyCtxt<'tcx> { function fold_ty (line 886) | fn fold_ty(&mut self, ty: Ty<'tcx>) -> Ty<'tcx> { function is_thread_local (line 898) | fn is_thread_local(cx: &LateContext<'_>, it: &Item<'_>) -> bool { function does_adjust_borrow (line 909) | fn does_adjust_borrow(adjust: &Adjustment<'_>) -> Option { function get_const_hir_value (line 921) | fn get_const_hir_value<'tcx>( FILE: src/tools/clippy/clippy_lints/src/non_expressive_names.rs type NonExpressiveNames (line 82) | pub struct NonExpressiveNames { method new (line 87) | pub fn new(conf: &'static Conf) -> Self { type ExistingName (line 94) | struct ExistingName { type SimilarNamesLocalVisitor (line 101) | struct SimilarNamesLocalVisitor<'a, 'tcx> { function check_single_char_names (line 111) | fn check_single_char_names(&self) { constant ALLOWED_TO_BE_SIMILAR (line 136) | const ALLOWED_TO_BE_SIMILAR: &[&[&str]] = &[ constant SIMILAR_CHARS (line 149) | const SIMILAR_CHARS: &[(char, char)] = &[('l', 'i'), ('l', '1'), ('i', '... function chars_are_similar (line 152) | fn chars_are_similar(a: char, b: char) -> bool { type SimilarNamesNameVisitor (line 156) | struct SimilarNamesNameVisitor<'a, 'tcx, 'b>(&'b mut SimilarNamesLocalVi... function visit_pat (line 159) | fn visit_pat(&mut self, pat: &'tcx Pat) { function get_exemptions (line 182) | fn get_exemptions(interned_name: &str) -> Option<&'static [&'static str]> { function allowed_to_be_similar (line 190) | fn allowed_to_be_similar(interned_name: &str, list: &[&str]) -> bool { function check_short_ident (line 196) | fn check_short_ident(&mut self, ident: Ident) { function check_ident (line 213) | fn check_ident(&mut self, ident: Ident) { function equal_length_strs_not_similar (line 289) | fn equal_length_strs_not_similar(interned_name: &str, existing_name: &st... function apply (line 343) | fn apply Fn(&'c mut Self)>(&mut self, f: F) { function visit_local (line 353) | fn visit_local(&mut self, local: &'tcx Local) { function visit_block (line 365) | fn visit_block(&mut self, blk: &'tcx Block) { function visit_arm (line 373) | fn visit_arm(&mut self, arm: &'tcx Arm) { function visit_item (line 386) | fn visit_item(&mut self, _: &Item) { method check_item (line 392) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { method check_impl_item (line 407) | fn check_impl_item(&mut self, cx: &EarlyContext<'_>, item: &AssocItem) { function do_check (line 423) | fn do_check(lint: &NonExpressiveNames, cx: &EarlyContext<'_>, attrs: &[A... function levenstein_not_1 (line 445) | fn levenstein_not_1(a_name: &str, b_name: &str) -> bool { FILE: src/tools/clippy/clippy_lints/src/non_octal_unix_permissions.rs method check_expr (line 42) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { function show_error (line 78) | fn show_error(cx: &LateContext<'_>, param: &Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/non_send_fields_in_send_ty.rs type NonSendFieldInSendTy (line 59) | pub struct NonSendFieldInSendTy { method new (line 64) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 72) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { type NonSendField (line 155) | struct NonSendField<'tcx> { function generic_params_string (line 162) | fn generic_params_string(&self) -> String { function collect_generic_params (line 173) | fn collect_generic_params(ty: Ty<'_>) -> Vec> { function ty_allowed_without_raw_pointer_heuristic (line 184) | fn ty_allowed_without_raw_pointer_heuristic<'tcx>(cx: &LateContext<'tcx>... function ty_allowed_with_raw_pointer_heuristic (line 197) | fn ty_allowed_with_raw_pointer_heuristic<'tcx>(cx: &LateContext<'tcx>, t... function contains_pointer_like (line 223) | fn contains_pointer_like<'tcx>(cx: &LateContext<'tcx>, target_ty: Ty<'tc... function is_ty_param (line 242) | fn is_ty_param(target_ty: Ty<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/non_std_lazy_statics.rs type NonStdLazyStatic (line 67) | pub struct NonStdLazyStatic { method new (line 77) | pub fn new(conf: &'static Conf) -> Self { method check_crate (line 93) | fn check_crate(&mut self, cx: &LateContext<'hir>) { method check_item (line 108) | fn check_item(&mut self, cx: &LateContext<'hir>, item: &Item<'hir>) { method check_expr (line 134) | fn check_expr(&mut self, cx: &LateContext<'hir>, expr: &Expr<'hir>) { method check_ty (line 147) | fn check_ty(&mut self, cx: &LateContext<'hir>, ty: &'hir rustc_hir::Ty... method check_crate_post (line 160) | fn check_crate_post(&mut self, cx: &LateContext<'hir>) { function can_use_lazy_cell (line 88) | fn can_use_lazy_cell(cx: &LateContext<'_>, msrv: Msrv) -> bool { type LazyInfo (line 169) | struct LazyInfo { method from_item (line 189) | fn from_item(cx: &LateContext<'_>, item: &Item<'_>) -> Option { method lint (line 220) | fn lint(&self, cx: &LateContext<'_>, sugg_map: &FxIndexMap) -> Span { function fn_def_id_and_span_from_body (line 262) | fn fn_def_id_and_span_from_body(cx: &LateContext<'_>, expr: &Expr<'_>, b... FILE: src/tools/clippy/clippy_lints/src/non_zero_suggestions.rs method check_expr (line 51) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { function check_non_zero_conversion (line 69) | fn check_non_zero_conversion(cx: &LateContext<'_>, expr: &Expr<'_>, appl... function get_arg_snippet (line 93) | fn get_arg_snippet(cx: &LateContext<'_>, arg: &Expr<'_>, rcv_path: &rust... function suggest_non_zero_conversion (line 102) | fn suggest_non_zero_conversion( function get_target_non_zero_type (line 122) | fn get_target_non_zero_type(ty: Ty<'_>) -> Option<&'static str> { FILE: src/tools/clippy/clippy_lints/src/nonstandard_macro_braces.rs type MacroInfo (line 38) | struct MacroInfo { type MacroBraces (line 45) | pub struct MacroBraces { method new (line 51) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 60) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &ast::Item) { method check_stmt (line 73) | fn check_stmt(&mut self, cx: &EarlyContext<'_>, stmt: &ast::Stmt) { method check_expr (line 90) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &ast::Expr) { method check_ty (line 103) | fn check_ty(&mut self, cx: &EarlyContext<'_>, ty: &ast::Ty) { function is_offending_macro (line 117) | fn is_offending_macro(cx: &EarlyContext<'_>, span: Span, mac_braces: &Ma... function emit_help (line 155) | fn emit_help(cx: &EarlyContext<'_>, snip: &str, (open, close): (char, ch... function macro_braces (line 174) | fn macro_braces(conf: &[MacroMatcher]) -> FxHashMap { FILE: src/tools/clippy/clippy_lints/src/octal_escapes.rs method check_expr (line 53) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { FILE: src/tools/clippy/clippy_lints/src/only_used_in_recursion.rs type FnKind (line 174) | enum FnKind { type Param (line 183) | struct Param { method new (line 196) | fn new(fn_id: DefId, fn_kind: FnKind, idx: usize, ident: Ident) -> Self { type Usage (line 209) | struct Usage { method new (line 214) | fn new(span: Span, idx: usize) -> Self { type Params (line 223) | struct Params { method insert (line 229) | fn insert(&mut self, param: Param, id: HirId) { method remove_by_id (line 236) | fn remove_by_id(&mut self, id: HirId) { method get_by_id_mut (line 246) | fn get_by_id_mut(&mut self, id: HirId) -> Option<&mut Param> { method get_by_fn (line 250) | fn get_by_fn(&self, id: DefId, idx: usize) -> Option<&Param> { method clear (line 254) | fn clear(&mut self) { method flag_for_linting (line 261) | fn flag_for_linting(&self) { method try_disable_lint_for_param (line 270) | fn try_disable_lint_for_param(&self, param: &Param, eval_stack: &mut V... type OnlyUsedInRecursion (line 302) | pub struct OnlyUsedInRecursion { method check_body (line 309) | fn check_body(&mut self, cx: &LateContext<'tcx>, body: &Body<'tcx>) { method check_expr (line 366) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'tcx>) { method check_body_post (line 438) | fn check_body_post(&mut self, cx: &LateContext<'tcx>, body: &Body<'tcx... function has_matching_args (line 484) | fn has_matching_args(kind: FnKind, args: GenericArgsRef<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/operators/absurd_extreme_comparisons.rs function check (line 14) | pub(super) fn check<'tcx>( type ExtremeType (line 49) | enum ExtremeType { type ExtremeExpr (line 54) | struct ExtremeExpr<'a> { type AbsurdComparisonResult (line 59) | enum AbsurdComparisonResult { function is_cast_between_fixed_and_target (line 65) | fn is_cast_between_fixed_and_target<'tcx>(cx: &LateContext<'tcx>, expr: ... function detect_absurd_comparison (line 76) | fn detect_absurd_comparison<'tcx>( function detect_extreme_expr (line 121) | fn detect_extreme_expr<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_... FILE: src/tools/clippy/clippy_lints/src/operators/arithmetic_side_effects.rs type ArithmeticSideEffects (line 16) | pub struct ArithmeticSideEffects { method new (line 28) | pub fn new(conf: &'static Conf) -> Self { method has_allowed_binary (line 69) | fn has_allowed_binary(&self, lhs_ty: Ty<'_>, rhs_ty: Ty<'_>) -> bool { method has_allowed_unary (line 90) | fn has_allowed_unary(&self, ty: Ty<'_>) -> bool { method issue_lint (line 97) | fn issue_lint<'tcx>(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir... method manage_sugar_methods (line 107) | fn manage_sugar_methods<'tcx>( method manage_bin_ops (line 130) | fn manage_bin_ops<'tcx>( method manage_method_call (line 214) | fn manage_method_call<'tcx>( method manage_unary_ops (line 243) | fn manage_unary_ops<'tcx>( method should_skip_expr (line 267) | fn should_skip_expr<'tcx>(&self, cx: &LateContext<'tcx>, expr: &hir::E... method check_expr (line 275) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr... method check_body (line 296) | fn check_body(&mut self, cx: &LateContext<'_>, body: &hir::Body<'_>) { method check_body_post (line 312) | fn check_body_post(&mut self, cx: &LateContext<'_>, body: &hir::Body<'... method check_expr_post (line 323) | fn check_expr_post(&mut self, _: &LateContext<'tcx>, expr: &'tcx hir::... function find_original_primitive_ty (line 332) | fn find_original_primitive_ty<'tcx>(cx: &LateContext<'tcx>, expr: &hir::... function has_specific_allowed_type_and_operation (line 343) | fn has_specific_allowed_type_and_operation<'tcx>( function is_integer (line 366) | fn is_integer(ty: Ty<'_>) -> bool { function is_non_zero_u (line 370) | fn is_non_zero_u(cx: &LateContext<'_>, ty: Ty<'_>) -> bool { function is_safe_due_to_smaller_source_type (line 386) | fn is_safe_due_to_smaller_source_type( function literal_integer (line 422) | fn literal_integer(cx: &LateContext<'_>, expr: &hir::Expr<'_>) -> Option... function max_int_num (line 435) | fn max_int_num(ty: Ty<'_>) -> Option { FILE: src/tools/clippy/clippy_lints/src/operators/assign_op_pattern.rs function check (line 19) | pub(super) fn check<'tcx>( function imm_borrows_in_expr (line 129) | fn imm_borrows_in_expr(cx: &LateContext<'_>, e: &hir::Expr<'_>) -> HirId... function mut_borrows_in_expr (line 155) | fn mut_borrows_in_expr(cx: &LateContext<'_>, e: &hir::Expr<'_>) -> HirId... FILE: src/tools/clippy/clippy_lints/src/operators/bit_mask.rs function check (line 10) | pub(super) fn check<'tcx>( function invert_cmp (line 27) | fn invert_cmp(cmp: BinOpKind) -> BinOpKind { function check_compare (line 39) | fn check_compare<'a>(cx: &LateContext<'a>, bit_op: &Expr<'a>, cmp_op: Bi... function check_bit_mask (line 50) | fn check_bit_mask( function check_ineffective_lt (line 144) | fn check_ineffective_lt(cx: &LateContext<'_>, span: Span, m: u128, c: u1... function check_ineffective_gt (line 155) | fn check_ineffective_gt(cx: &LateContext<'_>, span: Span, m: u128, c: u1... function fetch_int_literal (line 166) | fn fetch_int_literal(cx: &LateContext<'_>, lit: &Expr<'_>) -> Option, e: &Expr<'_>, op: BinOpKind, l... type EqImpl (line 21) | struct EqImpl { method is_implemented (line 26) | fn is_implemented(&self) -> bool { function symmetric_partial_eq (line 31) | fn symmetric_partial_eq<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>, othe... function check_op (line 38) | fn check_op(cx: &LateContext<'_>, outer: &Expr<'_>, expr: &Expr<'_>, oth... FILE: src/tools/clippy/clippy_lints/src/operators/const_comparisons.rs function comparison_to_const (line 20) | fn comparison_to_const<'tcx>( function check (line 40) | pub(super) fn check<'tcx>( function left_side_is_useless (line 133) | fn left_side_is_useless(left_cmp_op: CmpOp, ordering: Ordering) -> bool { function comparison_is_possible (line 152) | fn comparison_is_possible(left_cmp_direction: CmpOpDirection, ordering: ... type CmpOpDirection (line 162) | enum CmpOpDirection { type CmpOp (line 168) | enum CmpOp { method reverse (line 176) | fn reverse(self) -> Self { method direction (line 185) | fn direction(self) -> CmpOpDirection { type Error (line 196) | type Error = (); method try_from (line 198) | fn try_from(bin_op: BinOpKind) -> Result { FILE: src/tools/clippy/clippy_lints/src/operators/decimal_bitwise_operands.rs function check (line 13) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, op: BinOpKind, left: &... function check_expr (line 23) | fn check_expr(cx: &LateContext<'_>, expr: &Expr<'_>) { function is_power_of_twoish (line 54) | fn is_power_of_twoish(val: u128) -> bool { function is_single_digit (line 58) | fn is_single_digit(val: u128) -> bool { function emit_lint (line 62) | fn emit_lint(cx: &LateContext<'_>, span: Span, suffix: Option<&str>, val... FILE: src/tools/clippy/clippy_lints/src/operators/double_comparison.rs function check (line 11) | pub(super) fn check(cx: &LateContext<'_>, op: BinOpKind, lhs: &Expr<'_>,... FILE: src/tools/clippy/clippy_lints/src/operators/duration_subsec.rs function check (line 12) | pub(crate) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/operators/eq_op.rs function check_assert (line 10) | pub(crate) fn check_assert<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'... function check (line 33) | pub(crate) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/operators/erasing_op.rs function check (line 11) | pub(super) fn check<'tcx>( function different_types (line 29) | fn different_types(tck: &TypeckResults<'_>, input: &Expr<'_>, output: &E... function check_op (line 35) | fn check_op<'tcx>( FILE: src/tools/clippy/clippy_lints/src/operators/float_cmp.rs function check (line 12) | pub(crate) fn check<'tcx>( function get_lint_and_message (line 66) | fn get_lint_and_message(is_local: bool, is_comparing_arrays: bool) -> (&... function is_allowed (line 88) | fn is_allowed(val: &Constant) -> bool { function is_signum (line 103) | fn is_signum(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function is_float (line 119) | fn is_float(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function is_array (line 129) | fn is_array(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/operators/float_equality_without_abs.rs function check (line 13) | pub(crate) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/operators/identity_op.rs function check (line 14) | pub(crate) fn check<'tcx>( function expr_is_erased_ref (line 86) | fn expr_is_erased_ref(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { type Parens (line 94) | enum Parens { function needs_parenthesis (line 114) | fn needs_parenthesis(cx: &LateContext<'_>, binary: &Expr<'_>, child: &Ex... function is_allowed (line 166) | fn is_allowed<'tcx>( function check_remainder (line 191) | fn check_remainder(cx: &LateContext<'_>, left: &Expr<'_>, right: &Expr<'... function is_redundant_op (line 203) | fn is_redundant_op(cx: &LateContext<'_>, e: &Expr<'_>, m: i8, ctxt: Synt... function span_ineffective_operation (line 222) | fn span_ineffective_operation( function is_expr_used_with_type_annotation (line 252) | fn is_expr_used_with_type_annotation<'tcx>(cx: &LateContext<'tcx>, expr:... function is_assoc_fn_without_type_instance (line 276) | fn is_assoc_fn_without_type_instance<'tcx>(cx: &LateContext<'tcx>, expr:... FILE: src/tools/clippy/clippy_lints/src/operators/integer_division.rs function check (line 9) | pub(crate) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/operators/integer_division_remainder_used.rs function check (line 10) | pub(super) fn check(cx: &LateContext<'_>, op: BinOpKind, lhs: &Expr<'_>,... FILE: src/tools/clippy/clippy_lints/src/operators/invalid_upcast_comparisons.rs function check (line 16) | pub(super) fn check<'tcx>( function numeric_cast_precast_bounds (line 35) | fn numeric_cast_precast_bounds(cx: &LateContext<'_>, expr: &Expr<'_>) ->... function upcast_comparison_bounds_err (line 67) | fn upcast_comparison_bounds_err<'tcx>( function err_upcast_comparison (line 108) | fn err_upcast_comparison(cx: &LateContext<'_>, span: Span, expr: &Expr<'... FILE: src/tools/clippy/clippy_lints/src/operators/manual_div_ceil.rs function check (line 16) | pub(super) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, op: BinOpKind... function differ_by_one (line 103) | fn differ_by_one(small_expr: &Expr<'_>, large_expr: &Expr<'_>) -> bool { function check_int_ty (line 119) | fn check_int_ty(expr_ty: Ty<'_>) -> bool { function check_int_ty_and_feature (line 123) | fn check_int_ty_and_feature(cx: &LateContext<'_>, expr_ty: Ty<'_>) -> bo... function check_literal (line 131) | fn check_literal(expr: &Expr<'_>) -> bool { function check_eq_expr (line 140) | fn check_eq_expr(cx: &LateContext<'_>, lhs: &Expr<'_>, rhs: &Expr<'_>) -... function build_suggestion (line 144) | fn build_suggestion( FILE: src/tools/clippy/clippy_lints/src/operators/manual_is_multiple_of.rs function check (line 14) | pub(super) fn check<'tcx>( function uint_compare_to_zero (line 58) | fn uint_compare_to_zero<'tcx>( function deref_sugg (line 82) | fn deref_sugg<'a>(sugg: Sugg<'a>, ty: Ty<'_>) -> Sugg<'a> { FILE: src/tools/clippy/clippy_lints/src/operators/manual_midpoint.rs function check (line 13) | pub(super) fn check<'tcx>( function add_operands (line 51) | fn add_operands<'e, 'tcx>(expr: &'e Expr<'tcx>) -> Option<(&'e Expr<'tcx... function is_midpoint_implemented (line 58) | fn is_midpoint_implemented(cx: &LateContext<'_>, ty: Ty<'_>, msrv: Msrv)... FILE: src/tools/clippy/clippy_lints/src/operators/misrefactored_assign_op.rs function check (line 10) | pub(super) fn check<'tcx>( function lint_misrefactored_assign_op (line 31) | fn lint_misrefactored_assign_op( function is_commutative (line 72) | fn is_commutative(op: hir::BinOpKind) -> bool { FILE: src/tools/clippy/clippy_lints/src/operators/mod.rs type Operators (line 995) | pub struct Operators { method new (line 1003) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 1014) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { method check_expr_post (line 1078) | fn check_expr_post(&mut self, _: &LateContext<'_>, e: &Expr<'_>) { method check_body (line 1082) | fn check_body(&mut self, cx: &LateContext<'tcx>, b: &Body<'_>) { method check_body_post (line 1086) | fn check_body_post(&mut self, cx: &LateContext<'tcx>, b: &Body<'_>) { function macro_with_not_op (line 1091) | fn macro_with_not_op(e: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/operators/modulo_arithmetic.rs function check (line 11) | pub(super) fn check<'tcx>( function used_in_comparison_with_zero (line 36) | fn used_in_comparison_with_zero(cx: &LateContext<'_>, expr: &Expr<'_>) -... type OperandInfo (line 50) | struct OperandInfo { function analyze_operand (line 56) | fn analyze_operand(operand: &Expr<'_>, cx: &LateContext<'_>, expr: &Expr... function floating_point_operand_info (line 81) | fn floating_point_operand_info>(f: &... function might_have_negative_value (line 89) | fn might_have_negative_value(t: Ty<'_>) -> bool { function check_const_operands (line 93) | fn check_const_operands<'tcx>( function check_non_const_operands (line 119) | fn check_non_const_operands<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Ex... FILE: src/tools/clippy/clippy_lints/src/operators/modulo_one.rs function check (line 9) | pub(crate) fn check(cx: &LateContext<'_>, expr: &Expr<'_>, op: BinOpKind... FILE: src/tools/clippy/clippy_lints/src/operators/needless_bitwise_bool.rs function check (line 9) | pub(super) fn check(cx: &LateContext<'_>, e: &Expr<'_>, op: BinOpKind, l... FILE: src/tools/clippy/clippy_lints/src/operators/numeric_arithmetic.rs type Context (line 9) | pub struct Context { method skip_expr (line 16) | fn skip_expr(&self, e: &hir::Expr<'_>) -> bool { method check_binary (line 20) | pub fn check_binary<'tcx>( method check_negate (line 53) | pub fn check_negate<'tcx>(&mut self, cx: &LateContext<'tcx>, expr: &'t... method expr_post (line 64) | pub fn expr_post(&mut self, id: hir::HirId) { method enter_body (line 70) | pub fn enter_body(&mut self, cx: &LateContext<'_>, body: &hir::Body<'_... method body_post (line 89) | pub fn body_post(&mut self, cx: &LateContext<'_>, body: &hir::Body<'_>) { FILE: src/tools/clippy/clippy_lints/src/operators/op_ref.rs function check (line 15) | pub(crate) fn check<'tcx>( function in_impl (line 176) | fn in_impl<'tcx>( function are_equal (line 199) | fn are_equal(cx: &LateContext<'_>, middle_ty: Ty<'_>, hir_ty: &rustc_hir... FILE: src/tools/clippy/clippy_lints/src/operators/self_assignment.rs function check (line 9) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'_>, lhs... FILE: src/tools/clippy/clippy_lints/src/operators/verbose_bit_mask.rs function check (line 11) | pub(super) fn check<'tcx>( FILE: src/tools/clippy/clippy_lints/src/option_env_unwrap.rs method check_expr (line 37) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { FILE: src/tools/clippy/clippy_lints/src/option_if_let_else.rs type OptionOccurrence (line 99) | struct OptionOccurrence { function format_option_in_sugg (line 106) | fn format_option_in_sugg(cond_sugg: Sugg<'_>, as_ref: bool, as_mut: bool... function try_get_option_occurrence (line 121) | fn try_get_option_occurrence<'tcx>( type ConditionVisitor (line 263) | struct ConditionVisitor<'a, 'tcx> { type NestedFilter (line 269) | type NestedFilter = nested_filter::All; function visit_path (line 271) | fn visit_path(&mut self, path: &Path<'tcx>, _: HirId) { function maybe_tcx (line 281) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { type ReferenceVisitor (line 288) | struct ReferenceVisitor<'a, 'tcx> { type NestedFilter (line 294) | type NestedFilter = nested_filter::All; type Result (line 295) | type Result = ControlFlow<()>; function visit_expr (line 296) | fn visit_expr(&mut self, expr: &'tcx Expr<'_>) -> ControlFlow<()> { function maybe_tcx (line 309) | fn maybe_tcx(&mut self) -> Self::MaybeTyCtxt { function try_get_inner_pat_and_is_result (line 314) | fn try_get_inner_pat_and_is_result<'tcx>(cx: &LateContext<'tcx>, pat: &P... function detect_option_if_let_else (line 332) | fn detect_option_if_let_else<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'... function detect_option_match (line 349) | fn detect_option_match<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) ... function try_convert_match (line 360) | fn try_convert_match<'tcx>( function is_none_or_err_arm (line 379) | fn is_none_or_err_arm(cx: &LateContext<'_>, arm: &Arm<'_>) -> bool { method check_expr (line 394) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/panic_in_result_fn.rs method check_fn (line 46) | fn check_fn( function lint_impl_body (line 65) | fn lint_impl_body<'tcx>(cx: &LateContext<'tcx>, impl_span: Span, body: &... FILE: src/tools/clippy/clippy_lints/src/panic_unimplemented.rs type PanicUnimplemented (line 10) | pub struct PanicUnimplemented { method new (line 15) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 98) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/panicking_overflow_checks.rs method check_expr (line 52) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/partial_pub_fields.rs method check_item (line 44) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { FILE: src/tools/clippy/clippy_lints/src/partialeq_ne_impl.rs method check_item (line 35) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/partialeq_to_none.rs method check_expr (line 44) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/pass_by_ref_or_value.rs type PassByRefOrValue (line 109) | pub struct PassByRefOrValue { method new (line 116) | pub fn new(tcx: TyCtxt<'_>, conf: &'static Conf) -> Self { method check_poly_fn (line 128) | fn check_poly_fn(&self, cx: &LateContext<'_>, def_id: LocalDefId, decl... method check_trait_item (line 246) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir... method check_fn (line 256) | fn check_fn( FILE: src/tools/clippy/clippy_lints/src/pathbuf_init_then_push.rs type PathbufThenPush (line 48) | pub struct PathbufThenPush<'tcx> { type PathbufPushSearcher (line 52) | struct PathbufPushSearcher<'tcx> { function gen_pathbuf_from (line 65) | fn gen_pathbuf_from(&self, cx: &LateContext<'_>) -> Option { function gen_pathbuf_join (line 84) | fn gen_pathbuf_join(&self, cx: &LateContext<'_>) -> Option { function display_err (line 91) | fn display_err(&self, cx: &LateContext<'_>) { function check_block (line 131) | fn check_block(&mut self, _: &LateContext<'tcx>, _: &'tcx Block<'tcx>) { function check_local (line 135) | fn check_local(&mut self, cx: &LateContext<'tcx>, local: &'tcx LetStmt<'... function check_expr (line 154) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function check_stmt (line 175) | fn check_stmt(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) { function check_block_post (line 188) | fn check_block_post(&mut self, _: &LateContext<'tcx>, _: &'tcx Block<'tc... FILE: src/tools/clippy/clippy_lints/src/pattern_type_mismatch.rs method check_stmt (line 84) | fn check_stmt(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) { method check_expr (line 97) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_fn (line 117) | fn check_fn( type DerefPossible (line 133) | enum DerefPossible { function apply_lint (line 138) | fn apply_lint(cx: &LateContext<'_>, pat: &Pat<'_>, deref_possible: Deref... type Level (line 168) | enum Level { function find_first_mismatch (line 173) | fn find_first_mismatch(cx: &LateContext<'_>, pat: &Pat<'_>) -> Option<(S... FILE: src/tools/clippy/clippy_lints/src/permissions_set_readonly_false.rs method check_expr (line 35) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/pointers_in_nomem_asm_block.rs method check_expr (line 37) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { function check_asm (line 44) | fn check_asm(cx: &LateContext<'_>, asm: &InlineAsm<'_>) { function has_in_operand_pointer (line 69) | fn has_in_operand_pointer(cx: &LateContext<'_>, asm_op: &InlineAsmOperan... function additional_notes (line 85) | fn additional_notes(diag: &mut rustc_errors::Diag<'_, ()>) { FILE: src/tools/clippy/clippy_lints/src/precedence.rs method check_expr (line 50) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { function get_bin_opt (line 130) | fn get_bin_opt(expr: &Expr) -> Option { function is_bit_op (line 138) | fn is_bit_op(op: BinOpKind) -> bool { function lint_for (line 142) | fn lint_for(ops: &[BinOpKind]) -> &'static Lint { FILE: src/tools/clippy/clippy_lints/src/ptr/cmp_null.rs function check (line 10) | pub(super) fn check<'tcx>( function is_null_path (line 41) | fn is_null_path(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/ptr/mod.rs method check_trait_item (line 141) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Trait... method check_body (line 153) | fn check_body(&mut self, cx: &LateContext<'tcx>, body: &Body<'tcx>) { method check_expr (line 189) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/ptr/mut_from_ref.rs function check (line 10) | pub(super) fn check<'tcx>(cx: &LateContext<'tcx>, sig: &FnSig<'_>, body:... type LifetimeVisitor (line 45) | struct LifetimeVisitor<'tcx> { function visit_ty (line 50) | fn visit_ty(&mut self, ty: &'tcx hir::Ty<'tcx, hir::AmbigArg>) { function visit_generic_arg (line 57) | fn visit_generic_arg(&mut self, generic_arg: &'tcx GenericArg<'tcx>) { function get_lifetimes (line 69) | fn get_lifetimes<'tcx>(ty: &'tcx hir::Ty<'tcx>) -> Vec<(&'tcx Lifetime, ... FILE: src/tools/clippy/clippy_lints/src/ptr/ptr_arg.rs function check_body (line 26) | pub(super) fn check_body<'tcx>( function check_trait_item (line 63) | pub(super) fn check_trait_item<'tcx>(cx: &LateContext<'tcx>, item_id: Ow... type PtrArgResult (line 89) | struct PtrArgResult { type PtrArgReplacement (line 94) | struct PtrArgReplacement { type PtrArg (line 100) | struct PtrArg<'tcx> { function build_msg (line 110) | fn build_msg(&self) -> String { function mutability (line 120) | fn mutability(&self) -> Mutability { type RefPrefix (line 125) | struct RefPrefix { method fmt (line 130) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type DerefTyDisplay (line 141) | struct DerefTyDisplay<'a, 'tcx>(&'a LateContext<'tcx>, &'a DerefTy<'tcx>); function fmt (line 143) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type DerefTy (line 160) | enum DerefTy<'tcx> { function ty (line 166) | fn ty(&self, cx: &LateContext<'tcx>) -> Ty<'tcx> { function argless_str (line 178) | fn argless_str(&self) -> &'static str { function display (line 186) | fn display<'a>(&'a self, cx: &'a LateContext<'tcx>) -> DerefTyDisplay<'a... function check_fn_args (line 191) | fn check_fn_args<'cx, 'tcx: 'cx>( function check_ptr_arg_usage (line 301) | fn check_ptr_arg_usage<'tcx>(cx: &LateContext<'tcx>, body: &Body<'tcx>, ... function matches_preds (line 448) | fn matches_preds<'tcx>( FILE: src/tools/clippy/clippy_lints/src/ptr/ptr_eq.rs function check (line 11) | pub(super) fn check<'tcx>( function expr_as_cast_to_usize (line 62) | fn expr_as_cast_to_usize<'tcx>(cx: &LateContext<'tcx>, cast_expr: &'tcx ... function peel_raw_casts (line 75) | fn peel_raw_casts<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'tcx>, ... FILE: src/tools/clippy/clippy_lints/src/pub_underscore_fields.rs type PubUnderscoreFields (line 47) | pub struct PubUnderscoreFields { method new (line 51) | pub fn new(conf: &'static Conf) -> Self { method check_item (line 59) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/pub_use.rs method check_item (line 42) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { FILE: src/tools/clippy/clippy_lints/src/question_mark.rs type QuestionMark (line 56) | pub struct QuestionMark { method new (line 71) | pub fn new(conf: &'static Conf) -> Self { method inside_try_block (line 533) | fn inside_try_block(&self) -> bool { method check_stmt (line 562) | fn check_stmt(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) { method check_expr (line 574) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_expr_post (line 594) | fn check_expr_post(&mut self, _: &LateContext<'tcx>, expr: &'tcx Expr<... method check_block (line 600) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &'tcx Block<'... method check_body (line 609) | fn check_body(&mut self, _: &LateContext<'tcx>, _: &Body<'tcx>) { method check_body_post (line 613) | fn check_body_post(&mut self, _: &LateContext<'tcx>, _: &Body<'tcx>) { method check_block_post (line 617) | fn check_block_post(&mut self, cx: &LateContext<'tcx>, block: &'tcx Bl... type IfBlockType (line 81) | enum IfBlockType<'hir> { function find_let_else_ret_expression (line 100) | fn find_let_else_ret_expression<'hir>(block: &'hir Block<'hir>) -> Optio... function check_let_some_else_return_none (line 118) | fn check_let_some_else_return_none(cx: &LateContext<'_>, stmt: &Stmt<'_>) { function is_early_return (line 205) | fn is_early_return(smbl: Symbol, cx: &LateContext<'_>, if_block: &IfBloc... function expr_return_none_or_err (line 242) | fn expr_return_none_or_err( function check_is_none_or_err_and_early_return (line 290) | fn check_is_none_or_err_and_early_return<'tcx>(cx: &LateContext<'tcx>, e... type TryMode (line 325) | enum TryMode { function find_try_mode (line 330) | fn find_try_mode<'tcx>(cx: &LateContext<'tcx>, scrutinee: &Expr<'tcx>) -... function extract_ctor_call (line 344) | fn extract_ctor_call<'a, 'tcx>( function extract_binding_pat (line 362) | fn extract_binding_pat(pat: &Pat<'_>) -> Option { function check_arm_is_some_or_ok (line 370) | fn check_arm_is_some_or_ok<'tcx>(cx: &LateContext<'tcx>, mode: TryMode, ... function check_arm_is_none_or_err (line 390) | fn check_arm_is_none_or_err<'tcx>(cx: &LateContext<'tcx>, mode: TryMode,... function is_local_or_local_into (line 430) | fn is_local_or_local_into(cx: &LateContext<'_>, expr: &Expr<'_>, val: Hi... function check_arms_are_try (line 442) | fn check_arms_are_try<'tcx>(cx: &LateContext<'tcx>, mode: TryMode, arm1:... function check_if_try_match (line 447) | fn check_if_try_match<'tcx>(cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { function check_if_let_some_or_err_and_early_return (line 469) | fn check_if_let_some_or_err_and_early_return<'tcx>(cx: &LateContext<'tcx... function is_try_block (line 538) | fn is_try_block(cx: &LateContext<'_>, bl: &Block<'_>) -> bool { function is_inferred_ret_closure (line 550) | fn is_inferred_ret_closure(expr: &Expr<'_>) -> bool { FILE: src/tools/clippy/clippy_lints/src/question_mark_used.rs method check_expr (line 35) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/ranges.rs type Ranges (line 173) | pub struct Ranges { method new (line 178) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 184) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function check_possible_range_contains (line 197) | fn check_possible_range_contains( type RangeBounds (line 299) | struct RangeBounds<'a> { function check_range_bounds (line 312) | fn check_range_bounds<'a>(cx: &'a LateContext<'_>, ex: &'a Expr<'_>) -> ... function can_switch_ranges (line 356) | fn can_switch_ranges<'tcx>( function check_exclusive_range_plus_one (line 469) | fn check_exclusive_range_plus_one<'tcx>(cx: &LateContext<'tcx>, expr: &'... function check_inclusive_range_minus_one (line 482) | fn check_inclusive_range_minus_one<'tcx>(cx: &LateContext<'tcx>, expr: &... function check_range_switch (line 496) | fn check_range_switch<'tcx>( function check_reversed_empty_range (line 538) | fn check_reversed_empty_range(cx: &LateContext<'_>, expr: &Expr<'_>) { function y_plus_one (line 622) | fn y_plus_one<'tcx>(cx: &LateContext<'_>, expr: &Expr<'tcx>) -> Option<&... function y_minus_one (line 643) | fn y_minus_one<'tcx>(cx: &LateContext<'_>, expr: &Expr<'tcx>) -> Option<... FILE: src/tools/clippy/clippy_lints/src/raw_strings.rs type RawStrings (line 61) | pub struct RawStrings { method new (line 66) | pub fn new(conf: &'static Conf) -> Self { method check_raw_string (line 108) | fn check_raw_string(&self, cx: &EarlyContext<'_>, str: &str, lit_span:... method check_expr (line 74) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { function hash_spans (line 203) | fn hash_spans(literal_span: Span, prefix_len: usize, req: u8, max: u8) -... FILE: src/tools/clippy/clippy_lints/src/rc_clone_in_vec_init.rs method check_expr (line 52) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { function loop_init_suggestion (line 67) | fn loop_init_suggestion(elem: &str, len: &str, indent: &str) -> String { function extract_suggestion (line 77) | fn extract_suggestion(elem: &str, len: &str, indent: &str) -> String { function emit_lint (line 86) | fn emit_lint(cx: &LateContext<'_>, symbol: Symbol, lint_span: Span, elem... function ref_init (line 121) | fn ref_init(cx: &LateContext<'_>, expr: &Expr<'_>) -> Option<(Symbol, Sp... FILE: src/tools/clippy/clippy_lints/src/read_zero_byte_vec.rs method check_block (line 53) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &hir::Block<'tc... function first_stmt_containing_expr (line 137) | fn first_stmt_containing_expr<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx ... type ReadVecVisitor (line 147) | struct ReadVecVisitor<'tcx> { function visit_expr (line 154) | fn visit_expr(&mut self, e: &'tcx Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/redundant_async_block.rs method check_expr (line 43) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { function desugar_async_block (line 72) | fn desugar_async_block<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_... FILE: src/tools/clippy/clippy_lints/src/redundant_clone.rs method check_fn (line 67) | fn check_fn( function is_call_with_ref_arg (line 253) | fn is_call_with_ref_arg<'tcx>( type CannotMoveOut (line 276) | type CannotMoveOut = bool; function find_stmt_assigns_to (line 280) | fn find_stmt_assigns_to<'tcx>( function base_local_and_movability (line 314) | fn base_local_and_movability<'tcx>( type MirLocalUsage (line 338) | enum MirLocalUsage { method maybe_used (line 349) | fn maybe_used(&self) -> bool { method from (line 355) | fn from(loc: Option) -> Self { type CloneUsage (line 361) | struct CloneUsage { function visit_clone_usage (line 370) | fn visit_clone_usage(cloned: mir::Local, clone: mir::Local, mir: &mir::B... FILE: src/tools/clippy/clippy_lints/src/redundant_closure_call.rs type ReturnVisitor (line 43) | struct ReturnVisitor; type Result (line 46) | type Result = ControlFlow<()>; method visit_expr (line 47) | fn visit_expr(&mut self, ex: &'tcx hir::Expr<'tcx>) -> ControlFlow<()> { function is_async_closure (line 58) | fn is_async_closure(body: &hir::Body<'_>) -> bool { function find_innermost_closure (line 78) | fn find_innermost_closure<'tcx>( function get_parent_call_exprs (line 121) | fn get_parent_call_exprs<'tcx>( method check_expr (line 137) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx hir::Expr<'... method check_block (line 217) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &'tcx hir::Bloc... FILE: src/tools/clippy/clippy_lints/src/redundant_else.rs method check_stmt (line 50) | fn check_stmt(&mut self, cx: &EarlyContext<'_>, stmt: &Stmt) { type BreakVisitor (line 108) | struct BreakVisitor { method visit_block (line 113) | fn visit_block(&mut self, block: &'ast Block) { method visit_expr (line 120) | fn visit_expr(&mut self, expr: &'ast Expr) { method check (line 139) | fn check(&mut self, item: T, visit: fn(&mut Self, T)) -> bool { method check_block (line 144) | fn check_block(&mut self, block: &Block) -> bool { method check_expr (line 148) | fn check_expr(&mut self, expr: &Expr) -> bool { method check_stmt (line 152) | fn check_stmt(&mut self, stmt: &Stmt) -> bool { function extract_else_block (line 159) | fn extract_else_block(mut block: &str) -> String { function make_sugg (line 165) | fn make_sugg(cx: &EarlyContext<'_>, els_span: Span, default: &str, inden... FILE: src/tools/clippy/clippy_lints/src/redundant_field_names.rs type RedundantFieldNames (line 40) | pub struct RedundantFieldNames { method new (line 45) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 53) | fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) { FILE: src/tools/clippy/clippy_lints/src/redundant_locals.rs method check_local (line 50) | fn check_local(&mut self, cx: &LateContext<'tcx>, local: &'tcx LetStmt<'... function is_by_value_closure_capture (line 101) | fn is_by_value_closure_capture(cx: &LateContext<'_>, redefinition: HirId... function find_binding (line 112) | fn find_binding(pat: &Pat<'_>, name: Ident) -> Option { function affects_assignments (line 125) | fn affects_assignments(cx: &LateContext<'_>, mutability: Mutability, bin... FILE: src/tools/clippy/clippy_lints/src/redundant_pub_crate.rs type RedundantPubCrate (line 42) | pub struct RedundantPubCrate { method check_item (line 47) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'tcx... method check_item_post (line 81) | fn check_item_post(&mut self, _cx: &LateContext<'tcx>, item: &'tcx Ite... function is_ignorable_export (line 89) | fn is_ignorable_export<'tcx>(item: &'tcx Item<'tcx>) -> bool { FILE: src/tools/clippy/clippy_lints/src/redundant_slicing.rs method check_expr (line 75) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/redundant_static_lifetimes.rs type RedundantStaticLifetimes (line 39) | pub struct RedundantStaticLifetimes { method new (line 44) | pub fn new(conf: &'static Conf) -> Self { method visit_type (line 53) | fn visit_type(ty: &Ty, cx: &EarlyContext<'_>, reason: &'static str) { method check_item (line 94) | fn check_item(&mut self, cx: &EarlyContext<'_>, item: &Item) { FILE: src/tools/clippy/clippy_lints/src/redundant_test_prefix.rs method check_fn (line 63) | fn check_fn( function name_conflicts (line 130) | fn name_conflicts<'tcx>(cx: &LateContext<'tcx>, body: &'tcx Body<'_>, fn... function is_invalid_ident (line 162) | fn is_invalid_ident(ident: Symbol) -> bool { FILE: src/tools/clippy/clippy_lints/src/redundant_type_annotations.rs function is_same_type (line 42) | fn is_same_type<'tcx>(cx: &LateContext<'tcx>, ty_resolved_path: hir::def... function func_hir_id_to_func_ty (line 61) | fn func_hir_id_to_func_ty<'tcx>(cx: &LateContext<'tcx>, hir_id: hir::hir... function func_ty_to_return_type (line 72) | fn func_ty_to_return_type<'tcx>(cx: &LateContext<'tcx>, func_ty: Ty<'tcx... function extract_fn_ty (line 81) | fn extract_fn_ty<'tcx>( function is_redundant_in_func_call (line 104) | fn is_redundant_in_func_call<'tcx>( function extract_primty (line 122) | fn extract_primty(ty_kind: &hir::TyKind<'_>) -> Option { method check_local (line 134) | fn check_local<'tcx>(&mut self, cx: &LateContext<'tcx>, local: &'tcx rus... FILE: src/tools/clippy/clippy_lints/src/ref_option_ref.rs method check_ty (line 39) | fn check_ty(&mut self, cx: &LateContext<'tcx>, ty: &'tcx Ty<'tcx, AmbigA... FILE: src/tools/clippy/clippy_lints/src/ref_patterns.rs method check_pat (line 33) | fn check_pat(&mut self, cx: &EarlyContext<'_>, pat: &Pat) { FILE: src/tools/clippy/clippy_lints/src/reference.rs method check_expr (line 42) | fn check_expr(&mut self, cx: &LateContext<'_>, e: &Expr<'_>) { type ManuallyDropThroughUnion (line 85) | enum ManuallyDropThroughUnion { function is_manually_drop_through_union (line 96) | fn is_manually_drop_through_union( function is_reached_through_union (line 124) | fn is_reached_through_union(cx: &LateContext<'_>, mut expr: &Expr<'_>) -... FILE: src/tools/clippy/clippy_lints/src/regex.rs type RegexKind (line 111) | enum RegexKind { type Regex (line 119) | pub struct Regex { method check_crate (line 125) | fn check_crate(&mut self, cx: &LateContext<'tcx>) { method check_expr (line 140) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_expr_post (line 170) | fn check_expr_post(&mut self, _: &LateContext<'tcx>, expr: &'tcx Expr<... function lint_syntax_error (line 177) | fn lint_syntax_error(cx: &LateContext<'_>, error: ®ex_syntax::Error, ... function const_str (line 218) | fn const_str<'tcx>(cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) -> Option<... function is_trivial_regex (line 225) | fn is_trivial_regex(s: ®ex_syntax::hir::Hir) -> Option<&'static str> { function check_set (line 261) | fn check_set<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, utf8: b... function check_regex (line 271) | fn check_regex<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>, utf8:... FILE: src/tools/clippy/clippy_lints/src/repeat_vec_with_capacity.rs type RepeatVecWithCapacity (line 15) | pub struct RepeatVecWithCapacity { method new (line 20) | pub fn new(conf: &'static Conf) -> Self { method check_expr (line 126) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &Expr<'_>) { function emit_lint (line 65) | fn emit_lint(cx: &LateContext<'_>, span: Span, kind: &str, note: &'stati... function check_vec_macro (line 79) | fn check_vec_macro(cx: &LateContext<'_>, expr: &Expr<'_>) { function check_repeat_fn (line 102) | fn check_repeat_fn(cx: &LateContext<'_>, expr: &Expr<'_>, msrv: Msrv) { FILE: src/tools/clippy/clippy_lints/src/replace_box.rs type ReplaceBox (line 46) | pub struct ReplaceBox { method get_consumed_locals (line 52) | fn get_consumed_locals(&mut self, cx: &LateContext<'_>) -> &FxHashSet<... method check_body_post (line 73) | fn check_body_post(&mut self, _: &LateContext<'_>, body: &Body<'_>) { method check_expr (line 80) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &'_ Expr<'_>) { function is_default_call (line 143) | fn is_default_call(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool { function get_box_new_payload (line 147) | fn get_box_new_payload<'tcx>(cx: &LateContext<'_>, expr: &Expr<'tcx>) ->... type MovedVariablesCtxt (line 159) | struct MovedVariablesCtxt<'a> { function consume (line 164) | fn consume(&mut self, cmt: &PlaceWithHirId<'tcx>, _: HirId) { function use_cloned (line 178) | fn use_cloned(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId) {} function borrow (line 180) | fn borrow(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId, _: ty::BorrowKi... function mutate (line 182) | fn mutate(&mut self, _: &PlaceWithHirId<'tcx>, _: HirId) {} function fake_read (line 184) | fn fake_read(&mut self, _: &PlaceWithHirId<'tcx>, _: FakeReadCause, _: H... type IdFields (line 188) | type IdFields = (HirId, Vec); function local_base (line 191) | fn local_base(expr: &Expr<'_>) -> Option { FILE: src/tools/clippy/clippy_lints/src/reserve_after_initialization.rs type ReserveAfterInitialization (line 38) | pub struct ReserveAfterInitialization { method check_block (line 69) | fn check_block(&mut self, _: &LateContext<'tcx>, _: &'tcx Block<'tcx>) { method check_local (line 73) | fn check_local(&mut self, cx: &LateContext<'tcx>, local: &'tcx LetStmt... method check_expr (line 100) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { method check_stmt (line 126) | fn check_stmt(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) { method check_block_post (line 145) | fn check_block_post(&mut self, cx: &LateContext<'tcx>, _: &'tcx Block<... type VecReserveSearcher (line 42) | struct VecReserveSearcher { method display_err (line 49) | fn display_err(&self, cx: &LateContext<'_>) { FILE: src/tools/clippy/clippy_lints/src/return_self_not_must_use.rs function check_method (line 70) | fn check_method(cx: &LateContext<'_>, decl: &FnDecl<'_>, fn_def: LocalDe... method check_fn (line 104) | fn check_fn( method check_trait_item (line 124) | fn check_trait_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Trait... FILE: src/tools/clippy/clippy_lints/src/returns/let_and_return.rs function check_block (line 16) | pub(super) fn check_block<'tcx>(cx: &LateContext<'tcx>, block: &'tcx Blo... function last_statement_borrows (line 69) | fn last_statement_borrows<'tcx>(cx: &LateContext<'tcx>, expr: &'tcx Expr... FILE: src/tools/clippy/clippy_lints/src/returns/mod.rs method check_stmt (line 125) | fn check_stmt(&mut self, cx: &LateContext<'tcx>, stmt: &'tcx Stmt<'_>) { method check_block (line 129) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &'tcx Block<'_>) { method check_fn (line 133) | fn check_fn( FILE: src/tools/clippy/clippy_lints/src/returns/needless_return.rs type RetReplacement (line 20) | enum RetReplacement<'tcx> { function sugg_help (line 29) | fn sugg_help(&self) -> &'static str { function applicability (line 38) | fn applicability(&self) -> Applicability { method fmt (line 47) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function check_fn (line 58) | pub(super) fn check_fn<'tcx>(cx: &LateContext<'tcx>, kind: FnKind<'tcx>,... function check_block_return (line 81) | fn check_block_return<'tcx>(cx: &LateContext<'tcx>, expr_kind: &ExprKind... function check_final_expr (line 115) | fn check_final_expr<'tcx>( function emit_return_lint (line 235) | fn emit_return_lint( function extend_span_to_previous_non_ws (line 260) | fn extend_span_to_previous_non_ws(cx: &LateContext<'_>, sp: Span) -> Span { FILE: src/tools/clippy/clippy_lints/src/returns/needless_return_with_question_mark.rs function check_stmt (line 12) | pub(super) fn check_stmt<'tcx>(cx: &LateContext<'tcx>, stmt: &'tcx Stmt<... function stmt_needs_never_type (line 51) | fn stmt_needs_never_type(cx: &LateContext<'_>, stmt_hir_id: HirId) -> bo... FILE: src/tools/clippy/clippy_lints/src/same_length_and_capacity.rs method check_expr (line 77) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &'tcx Expr<'_>) { FILE: src/tools/clippy/clippy_lints/src/same_name_method.rs type ExistingName (line 44) | struct ExistingName { method check_crate_post (line 50) | fn check_crate_post(&mut self, cx: &LateContext<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/self_named_constructors.rs method check_impl_item (line 44) | fn check_impl_item(&mut self, cx: &LateContext<'tcx>, impl_item: &'tcx I... FILE: src/tools/clippy/clippy_lints/src/semicolon_block.rs type SemicolonBlock (line 71) | pub struct SemicolonBlock { method new (line 77) | pub fn new(conf: &'static Conf) -> Self { method semicolon_inside_block (line 84) | fn semicolon_inside_block(&self, cx: &LateContext<'_>, block: &Block<'... method semicolon_outside_block (line 120) | fn semicolon_outside_block(&self, cx: &LateContext<'_>, block: &Block<... method check_stmt (line 157) | fn check_stmt(&mut self, cx: &LateContext<'_>, stmt: &Stmt<'_>) { function get_line (line 188) | fn get_line(cx: &LateContext<'_>, span: Span) -> Option { FILE: src/tools/clippy/clippy_lints/src/semicolon_if_nothing_returned.rs method check_block (line 39) | fn check_block(&mut self, cx: &LateContext<'tcx>, block: &'tcx Block<'tc... function from_attr_macro (line 68) | fn from_attr_macro(span: Span) -> bool { FILE: src/tools/clippy/clippy_lints/src/serde_api.rs method check_item (line 27) | fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx Item<'_>) { FILE: src/tools/clippy/clippy_lints/src/shadow.rs type Shadow (line 112) | pub(crate) struct Shadow { method check_pat (line 117) | fn check_pat(&mut self, cx: &LateContext<'tcx>, pat: &'tcx Pat<'_>) { method check_body (line 164) | fn check_body(&mut self, cx: &LateContext<'_>, body: &Body<'_>) { method check_body_post (line 171) | fn check_body_post(&mut self, cx: &LateContext<'_>, body: &Body<'_>) { function is_shadow (line 181) | fn is_shadow(cx: &LateContext<'_>, owner: LocalDefId, first: ItemLocalId... function is_local_used_except (line 196) | pub fn is_local_used_except<'tcx>( function lint_shadow (line 214) | fn lint_shadow(cx: &LateContext<'_>, pat: &Pat<'_>, shadowed: HirId, spa... function is_self_shadow (line 239) | fn is_self_shadow(cx: &LateContext<'_>, pat: &Pat<'_>, mut expr: &Expr<'... function find_init (line 274) | fn find_init<'tcx>(cx: &LateContext<'tcx>, hir_id: HirId) -> Option<(&'t... FILE: src/tools/clippy/clippy_lints/src/single_call_fn.rs type CallState (line 65) | pub enum CallState { type SingleCallFn (line 70) | pub struct SingleCallFn { method new (line 76) | pub fn new(conf: &'static Conf) -> Self { method is_function_allowed (line 83) | fn is_function_allowed( method check_expr (line 116) | fn check_expr(&mut self, cx: &LateContext<'_>, expr: &'tcx Expr<'tcx>) { method check_crate_post (line 137) | fn check_crate_post(&mut self, cx: &LateContext<'tcx>) { function is_valid_item_kind (line 108) | fn is_valid_item_kind(cx: &LateContext<'_>, def_id: LocalDefId) -> bool { FILE: src/tools/clippy/clippy_lints/src/single_range_in_vec_init.rs type SuggestedType (line 43) | enum SuggestedType { method starts_with (line 49) | fn starts_with(&self) -> &'static str { method ends_with (line 57) | fn ends_with(&self) -> &'static str { method fmt (line 63) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { method check_expr (line 73) | fn check_expr<'tcx>(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'tcx>) { FILE: src/tools/clippy/clippy_lints/src/std_instead_of_core.rs type StdReexports (line 95) | pub struct StdReexports { method new (line 101) | pub fn new(conf: &'static Conf) -> Self { method lint_if_finish (line 108) | fn lint_if_finish(&mut self, cx: &LateContext<'_>, krate: Span, lint_p... method check_path (line 125) | fn check_path(&mut self, cx: &LateContext<'tcx>, path: &Path<'tcx>, _:... method check_block_post (line 160) | fn check_block_post(&mut self, cx: &LateContext<'tcx>, _: &Block<'tcx>) { method check_body_post (line 164) | fn check_body_post(&mut self, cx: &LateContext<'tcx>, _: &Body<'tcx>) { method check_crate_post (line 168) | fn check_crate_post(&mut self, cx: &LateContext<'tcx>) { type LintPoint (line 119) | enum LintPoint { function emit_lints (line 173) | fn emit_lints(cx: &LateContext<'_>, lint_points: Option<(Span, Vec(path: &Path<'tcx>) -> Option<&'tcx PathSegmen... function is_stable (line 239) | fn is_stable(cx: &LateContext<'_>, mut def_id: DefId, msrv: Msrv) -> bool { FILE: src/tools/clippy/clippy_lints/src/strings.rs method check_expr (line 222) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { function is_string (line 276) | fn is_string(cx: &LateContext<'_>, e: &Expr<'_>) -> bool { function is_add (line 283) | fn is_add(cx: &LateContext<'_>, src: &Expr<'_>, target: &Expr<'_>) -> bo... constant MAX_LENGTH_BYTE_STRING_LIT (line 297) | const MAX_LENGTH_BYTE_STRING_LIT: usize = 32; method check_expr (line 300) | fn check_expr(&mut self, cx: &LateContext<'tcx>, e: &'tcx Expr<'_>) { method check_expr (line 413) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'_>) { method check_expr (line 460) | fn check_expr(&mut self, cx: &LateContext<'tcx>, expr: &Expr<'_>) { function is_one_of_trim_diagnostic_items (line 484) | fn is_one_of_trim_diagnostic_items(cx: &LateContext<'_>, trim_def_id: De...