mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Rollup merge of #58242 - notriddle:patch-3, r=zackmdavis
Document the one TyKind that isn't documented This is especially confusing since the name `Foreign` and the name `extern type` are so different. I deduced that they're the same by consulting git-blame.
This commit is contained in:
commit
000daf948a
@ -107,6 +107,7 @@ pub enum TyKind<'tcx> {
|
||||
/// definition and not a concrete use of it.
|
||||
Adt(&'tcx AdtDef, &'tcx Substs<'tcx>),
|
||||
|
||||
/// An unsized FFI type that is opaque to Rust. Written as `extern type T`.
|
||||
Foreign(DefId),
|
||||
|
||||
/// The pointee of a string slice. Written as `str`.
|
||||
|
Loading…
Reference in New Issue
Block a user