[debuginfo] Fix and unify handling of fat pointers in debuginfo: Change doc comment so it is not interpreted as doc-test.
This commit is contained in:
parent
3c61d2e172
commit
d33e317a72
1 changed files with 13 additions and 13 deletions
|
@ -572,7 +572,7 @@ fn dyn_type_metadata<'ll, 'tcx>(
|
|||
|
||||
/// Create debuginfo for `[T]` and `str`. These are unsized.
|
||||
///
|
||||
/// Note: We currently emit just emit the debuginfo for the element type here
|
||||
/// NOTE: We currently emit just emit the debuginfo for the element type here
|
||||
/// (i.e. `T` for slices and `u8` for `str`), so that we end up with
|
||||
/// `*const T` for the `data_ptr` field of the corresponding fat-pointer
|
||||
/// debuginfo of `&[T]`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue