diff options
| author | lcnr <rust@lcnr.de> | 2022-01-27 07:58:33 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2022-01-27 07:58:33 +0100 |
| commit | e6808381e529c7e24645de3a0c605ac07edeaff3 (patch) | |
| tree | 6216d93e30d1b4d760fe4353b9247067f769e0d9 /compiler/rustc_feature/src | |
| parent | 563250a65c884c6767dc2ee2e2580360d33d561c (diff) | |
| download | rust-e6808381e529c7e24645de3a0c605ac07edeaff3.tar.gz rust-e6808381e529c7e24645de3a0c605ac07edeaff3.zip | |
update pass_by_value
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/builtin_attrs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/builtin_attrs.rs b/compiler/rustc_feature/src/builtin_attrs.rs index 0e643ff5998..fc7f01f041d 100644 --- a/compiler/rustc_feature/src/builtin_attrs.rs +++ b/compiler/rustc_feature/src/builtin_attrs.rs @@ -625,7 +625,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[ ), rustc_attr!( rustc_pass_by_value, Normal, - template!(Word), WarnFollowing, + template!(Word), ErrorFollowing, "#[rustc_pass_by_value] is used to mark types that must be passed by value instead of reference." ), BuiltinAttribute { |
