Repository navigation
Add context span showing item that can't be annotated - #164880
Conversation
|
Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer Some changes occurred in tests/ui/sanitizer cc @rcvalle |
|
rustbot has assigned @petrochenkov. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
aec9784 to
86fc633
Compare
|
r? me |
…uwer Rollup of 20 pull requests Successful merges: - #160404 (fd-views: AsRef<File>&Co. for BorrowedFd) - #161362 ( rustdoc: Correctly handle reexports when --document-private-items is used) - #163769 (reborrow: Fix various ICEs related to auto reborrowing of user-space types) - #164764 (Test(lib/sync): Fix `test_rwlock_max_readers` for 32bit architectures) - #164860 (std::fs: read interrupted by a signal, read_buf_exact_at reports EOF.) - #164869 (rustc_codegen_gcc subtree update) - #157123 (library: optimize truncate method) - #159916 (Optimize `str.escape_default().to_string()`) - #163510 (process: Improve the output of `Debug` for `ExitStatus` on Unix) - #164508 (ping me for layout invariant changes) - #164758 (Update dependency jinja2 to v3.1.6 [SECURITY]) - #164816 (Take the colon span into account for struct field initializers) - #164836 (Add regression test for #162109) - #164846 (Remove contradictory inequalities from overflow safety docs) - #164857 (Do not checkout Cargo for bootstrap tests) - #164868 (Fix skipping library build with `--keep-stage[-std]`) - #164872 (cg_llvm: clarify Send / Sync story for modules) - #164880 (Add context span showing item that can't be annotated) - #164881 (Add FIXME comments to `from_ascii_bytes_radix_impl`) - #164884 (Windows: bounds-check the reparse point name in `read_link`)
…uwer Rollup of 20 pull requests Successful merges: - #160404 (fd-views: AsRef<File>&Co. for BorrowedFd) - #161362 ( rustdoc: Correctly handle reexports when --document-private-items is used) - #163769 (reborrow: Fix various ICEs related to auto reborrowing of user-space types) - #164764 (Test(lib/sync): Fix `test_rwlock_max_readers` for 32bit architectures) - #164860 (std::fs: read interrupted by a signal, read_buf_exact_at reports EOF.) - #164869 (rustc_codegen_gcc subtree update) - #157123 (library: optimize truncate method) - #159916 (Optimize `str.escape_default().to_string()`) - #163510 (process: Improve the output of `Debug` for `ExitStatus` on Unix) - #164508 (ping me for layout invariant changes) - #164758 (Update dependency jinja2 to v3.1.6 [SECURITY]) - #164816 (Take the colon span into account for struct field initializers) - #164836 (Add regression test for #162109) - #164846 (Remove contradictory inequalities from overflow safety docs) - #164857 (Do not checkout Cargo for bootstrap tests) - #164868 (Fix skipping library build with `--keep-stage[-std]`) - #164872 (cg_llvm: clarify Send / Sync story for modules) - #164880 (Add context span showing item that can't be annotated) - #164881 (Add FIXME comments to `from_ascii_bytes_radix_impl`) - #164884 (Windows: bounds-check the reparse point name in `read_link`)
Rollup merge of #164880 - estebank:bad-attr-context, r=JonathanBrouwer Add context span showing item that can't be annotated Add line pointing at `Struct`: ``` error: the `rustc_must_implement_one_of` attribute cannot be used on structs --> $DIR/rustc_must_implement_one_of_misuse.rs:72:3 | LL | #[rustc_must_implement_one_of(abc, xyz)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ LL | struct Struct {} | = help: the `rustc_must_implement_one_of` attribute can only be applied to traits ```
|
Note This PR was benchmarked as part of triage of its containing rollup: triage URL. Finished benchmarking commit (a0e03c6): comparison URL. Overall result: ❌ regressions - please read:Our benchmarks found a performance regression caused by this PR. Next Steps:
@rustbot label: +perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Artifact size: 405.87 MiB -> 405.91 MiB (0.01%) |
|
perf triage: Noise @rustbot label: +perf-regression-triaged |
Add line pointing at
Struct: