Enable rustc_pass_by_value for Span
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user