Guillaume Gomez
a535c7be54
Ignore more failing ui tests for GCC backend
2025-09-26 15:33:48 +02:00
dianne
41e6f767b6
future-incompat lints: don't link to the nightly edition-guide version
2025-07-16 01:44:02 -07:00
Jieyou Xu
eb3a8e5b81
Make attribute safety validation logic more obvious
2025-05-04 21:44:50 +08:00
Urgau
f4e1ec111c
Report the unsafe_attr_outside_unsafe lint at the closest node
2025-05-03 16:10:25 +02:00
bors
dee7d0e730
Auto merge of #134478 - compiler-errors:attr-span, r=oli-obk
...
Properly record metavar spans for other expansions other than TT
This properly records metavar spans for nonterminals other than tokentree. This means that we operations like `span.to(other_span)` work correctly for macros. As you can see, other diagnostics involving metavars have improved as a result.
Fixes #132908
Alternative to #133270
cc `@ehuss`
cc `@petrochenkov`
2025-01-22 14:46:41 +00:00
Mara Bos
585c9765a2
Update tests.
2025-01-07 16:04:14 +01:00
Michael Goulet
28a997fa44
Properly record metavar spans for other expansions other than TT
2024-12-21 20:37:27 +00:00
Eric Huss
3e80697972
Use links to edition guide for edition migrations
2024-12-15 20:28:16 -08:00
Eric Huss
6005d1c9f7
Update more 2024 tests to remove -Zunstable-options
2024-11-28 14:32:45 -08:00
Eric Huss
f94142b366
Update tests to use new proc-macro header
2024-11-27 07:18:25 -08:00
Eric Huss
993e084eb1
Use edition of macro_rules when compiling the macro
2024-11-20 17:28:47 -08:00
Eric Huss
a1838660c3
Add tests for the edition of macro_rules from a proc-macro
2024-11-20 17:12:19 -08:00
carbotaniuman
de9b5c3ea2
Stabilize unsafe_attributes
2024-08-07 03:12:13 -05:00
carbotaniuman
a23917cfd0
Add hard error and migration lint for unsafe attrs
2024-06-23 19:02:14 -05:00