about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-11 09:31:51 +0200
committerGitHub <noreply@github.com>2024-04-11 09:31:51 +0200
commita6448d3d3e495d3c3e900acc233a780ac013d362 (patch)
tree7add2951275d8edfe2268531565cb71b5461f05b /compiler/rustc_codegen_llvm/src/errors.rs
parent93645f481d3e3705ee6394413511ad50f1e442e2 (diff)
parentacd4e9401738e4c1ae383c576b7ddd2a2ce70b54 (diff)
downloadrust-a6448d3d3e495d3c3e900acc233a780ac013d362.tar.gz
rust-a6448d3d3e495d3c3e900acc233a780ac013d362.zip
Rollup merge of #123753 - Urgau:compiletest-trailing-directive, r=jieyouxu
compiletest: error when finding a trailing directive

This PR introduce a supplementary check that when checking for a compiletest directive, will also check that the next "word" after that directive is not also by itself a directive.

This is done to avoid situations like this `//@ only-linux only-x86_64` where one might think that both directives are being taken into account while in fact the second in a comment, and so was ignored, until now.

Related to #123730
cc ``@scottmcm``
r? ``@jieyouxu``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions