diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2019-10-24 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2019-11-02 10:28:29 +0100 |
| commit | dae4c6e722bd4713e4da26acbf663b2015aaf3fc (patch) | |
| tree | 6ce048670414297495641ba52378063ee4c99a86 /src/test/ui/conditional-compilation | |
| parent | b10f75ca648abe70e97aeb81310fa8f136da5acc (diff) | |
| download | rust-dae4c6e722bd4713e4da26acbf663b2015aaf3fc.tar.gz rust-dae4c6e722bd4713e4da26acbf663b2015aaf3fc.zip | |
Update error annotations in tests that successfully compile
Those annotation are silently ignored rather than begin validated against compiler output. Update them before validation is enabled, to avoid test failures.
Diffstat (limited to 'src/test/ui/conditional-compilation')
| -rw-r--r-- | src/test/ui/conditional-compilation/cfg-attr-multi-true.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs b/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs index 645e4e71dfe..cd635c6a722 100644 --- a/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs +++ b/src/test/ui/conditional-compilation/cfg-attr-multi-true.rs @@ -17,5 +17,5 @@ impl MustUseDeprecated { //~ warning: use of deprecated item fn main() { MustUseDeprecated::new(); //~ warning: use of deprecated item - //| warning: unused `MustUseDeprecated` that must be used + //~| warning: unused `MustUseDeprecated` that must be used } |
