Update documentation
This commit is contained in:
parent
147b854ded
commit
46ba1545b8
3 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@ declare_tool_lint! {
|
|||
/// The `rustc_pass_by_value` lint marks a type with `#[rustc_pass_by_value]` requiring it to
|
||||
/// always be passed by value. This is usually used for types that are thin wrappers around
|
||||
/// references, so there is no benefit to an extra layer of indirection. (Example: `Ty` which
|
||||
/// is a reference to an `Interned<TyS>`)
|
||||
/// is a reference to an `Interned<TyKind>`)
|
||||
pub rustc::PASS_BY_VALUE,
|
||||
Warn,
|
||||
"pass by reference of a type flagged as `#[rustc_pass_by_value]`",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue