about summary refs log tree commit diff
path: root/tests/ui/proc-macro/signature-proc-macro.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/proc-macro/signature-proc-macro.stderr')
-rw-r--r--tests/ui/proc-macro/signature-proc-macro.stderr10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ui/proc-macro/signature-proc-macro.stderr b/tests/ui/proc-macro/signature-proc-macro.stderr
index 32241e1b9e0..4b14a54e675 100644
--- a/tests/ui/proc-macro/signature-proc-macro.stderr
+++ b/tests/ui/proc-macro/signature-proc-macro.stderr
@@ -1,5 +1,5 @@
 error: mismatched function-like proc macro signature
-  --> $DIR/signature-proc-macro.rs:7:25
+  --> $DIR/signature-proc-macro.rs:10:25
    |
 LL | pub fn bad_input(input: String) -> TokenStream {
    |                         ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
@@ -7,7 +7,7 @@ LL | pub fn bad_input(input: String) -> TokenStream {
    = note: function-like proc macros must have a signature of `fn(TokenStream) -> TokenStream`
 
 error: mismatched function-like proc macro signature
-  --> $DIR/signature-proc-macro.rs:13:42
+  --> $DIR/signature-proc-macro.rs:16:42
    |
 LL | pub fn bad_output(input: TokenStream) -> String {
    |                                          ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
@@ -15,7 +15,7 @@ LL | pub fn bad_output(input: TokenStream) -> String {
    = note: function-like proc macros must have a signature of `fn(TokenStream) -> TokenStream`
 
 error: mismatched function-like proc macro signature
-  --> $DIR/signature-proc-macro.rs:19:41
+  --> $DIR/signature-proc-macro.rs:22:41
    |
 LL | pub fn bad_everything(input: String) -> String {
    |                                         ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
@@ -23,7 +23,7 @@ LL | pub fn bad_everything(input: String) -> String {
    = note: function-like proc macros must have a signature of `fn(TokenStream) -> TokenStream`
 
 error: mismatched function-like proc macro signature
-  --> $DIR/signature-proc-macro.rs:19:30
+  --> $DIR/signature-proc-macro.rs:22:30
    |
 LL | pub fn bad_everything(input: String) -> String {
    |                              ^^^^^^ found std::string::String, expected type `proc_macro::TokenStream`
@@ -31,7 +31,7 @@ LL | pub fn bad_everything(input: String) -> String {
    = note: function-like proc macros must have a signature of `fn(TokenStream) -> TokenStream`
 
 error: mismatched function-like proc macro signature
-  --> $DIR/signature-proc-macro.rs:26:33
+  --> $DIR/signature-proc-macro.rs:29:33
    |
 LL | pub fn too_many(a: TokenStream, b: TokenStream, c: String) -> TokenStream {
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ found unexpected arguments