diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-10 23:39:05 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-04-10 23:48:57 +0300 |
| commit | 06dd9e2d20db8ba9b260fa750f09ea969fb57b87 (patch) | |
| tree | 006d64013ccc940c51509cd1ab65c591954682f5 /src | |
| parent | ad72ba2e2c60322d07c90364e0ff161f422b2e40 (diff) | |
| download | rust-06dd9e2d20db8ba9b260fa750f09ea969fb57b87.tar.gz rust-06dd9e2d20db8ba9b260fa750f09ea969fb57b87.zip | |
compiletest: Trim the value of `dont-require-annotations`
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/compiletest/src/header.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index c53978af3f7..1fd9022ed97 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -580,7 +580,7 @@ impl TestProps { config.parse_name_value_directive(ln, DONT_REQUIRE_ANNOTATIONS) { self.dont_require_annotations - .insert(ErrorKind::expect_from_user_str(&err_kind)); + .insert(ErrorKind::expect_from_user_str(err_kind.trim())); } }, ); |
