Enable rustc_pass_by_value for Span
This commit is contained in:
parent
22c3a71de1
commit
76b13c9eea
8 changed files with 28 additions and 22 deletions
|
@ -61,8 +61,7 @@ use rustc_data_structures::fx::FxIndexSet;
|
|||
/// using the callback `SPAN_TRACK` to access the query engine.
|
||||
///
|
||||
#[derive(Clone, Copy, Eq, PartialEq, Hash)]
|
||||
// FIXME: Enable this in the bootstrap bump, but separate commit.
|
||||
// #[rustc_pass_by_value]
|
||||
#[rustc_pass_by_value]
|
||||
pub struct Span {
|
||||
base_or_index: u32,
|
||||
len_or_tag: u16,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue