UI tests: migrate remaining compile time error-pattern
s to line annotations
when possible.
This commit is contained in:
parent
092a284ba0
commit
93bee0789a
66 changed files with 546 additions and 518 deletions
|
@ -1,5 +1,4 @@
|
|||
//@ compile-flags: --passes unknown-pass
|
||||
//@ error-pattern: the `passes` flag no longer functions
|
||||
|
||||
#![doc(no_default_passes)]
|
||||
//~^ ERROR unknown `doc` attribute `no_default_passes`
|
||||
|
|
|
@ -4,7 +4,7 @@ warning: the `passes` flag no longer functions
|
|||
= help: you may want to use --document-private-items
|
||||
|
||||
error: unknown `doc` attribute `no_default_passes`
|
||||
--> $DIR/deprecated-attrs.rs:4:8
|
||||
--> $DIR/deprecated-attrs.rs:3:8
|
||||
|
|
||||
LL | #![doc(no_default_passes)]
|
||||
| ^^^^^^^^^^^^^^^^^ no longer functions
|
||||
|
@ -15,7 +15,7 @@ LL | #![doc(no_default_passes)]
|
|||
= note: `#[deny(invalid_doc_attributes)]` on by default
|
||||
|
||||
error: unknown `doc` attribute `passes`
|
||||
--> $DIR/deprecated-attrs.rs:11:8
|
||||
--> $DIR/deprecated-attrs.rs:10:8
|
||||
|
|
||||
LL | #![doc(passes = "collapse-docs unindent-comments")]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no longer functions
|
||||
|
@ -25,7 +25,7 @@ LL | #![doc(passes = "collapse-docs unindent-comments")]
|
|||
= note: `doc(passes)` is now a no-op
|
||||
|
||||
error: unknown `doc` attribute `plugins`
|
||||
--> $DIR/deprecated-attrs.rs:17:8
|
||||
--> $DIR/deprecated-attrs.rs:16:8
|
||||
|
|
||||
LL | #![doc(plugins = "xxx")]
|
||||
| ^^^^^^^^^^^^^^^ no longer functions
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//@ compile-flags:--theme {{src-base}}/invalid-theme-name.rs
|
||||
//@ error-pattern: must have a .css extension
|
||||
|
||||
//~? ERROR invalid argument: "$DIR/invalid-theme-name.rs"
|
||||
//~? HELP must have a .css extension
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue