We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vtable_for
1 parent fecb335 commit a3b72d3Copy full SHA for a3b72d3
library/core/src/intrinsics/mod.rs
@@ -2738,10 +2738,6 @@ pub unsafe fn vtable_align(ptr: *const ()) -> usize;
2738
/// Determining whether `T` can be coerced to the trait object type `U` requires trait resolution by the compiler.
2739
/// In some cases, that resolution can exceed the recursion limit,
2740
/// and compilation will fail instead of this function returning `None`.
2741
-///
2742
-/// # Safety
2743
2744
-/// `ptr` must point to a vtable.
2745
#[rustc_nounwind]
2746
#[unstable(feature = "core_intrinsics", issue = "none")]
2747
#[rustc_intrinsic]
0 commit comments