diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8ce0ab3..5a6721e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -37,7 +37,7 @@ jobs: - name: Generate Docs (reference docs.rs) run: | cargo rustdoc -- --cfg docsrs -Z unstable-options $(cargo metadata --format-version 1 | jq --raw-output '.packages | map("--extern-html-root-url=\(.name)=https://docs.rs/\(.name)/\(.version)") | join(" ")') - - uses: actions/upload-pages-artifact@v1 + - uses: actions/upload-pages-artifact@v4 with: path: 'target/doc' - id: deployment diff --git a/examples/macro/Cargo.toml b/examples/macro/Cargo.toml index a61c87f..ddba6f3 100644 --- a/examples/macro/Cargo.toml +++ b/examples/macro/Cargo.toml @@ -14,7 +14,7 @@ quote = "1" syn = { version = "2", features = ["full"] } [dev-dependencies] -trybuild = "1.0.80" +trybuild = "1.0.111" [package.metadata.release] release = false diff --git a/examples/macro/tests/ui/emit.stderr b/examples/macro/tests/ui/emit.stderr index 225a0c7..a22e07a 100644 --- a/examples/macro/tests/ui/emit.stderr +++ b/examples/macro/tests/ui/emit.stderr @@ -9,8 +9,8 @@ error: example error error: example error --> tests/ui/emit.rs:8:5 | -8 | / emit!( -9 | | struct Struct; + 8 | / emit!( + 9 | | struct Struct; 10 | | ); | |_____^ | diff --git a/examples/no_macro/Cargo.toml b/examples/no_macro/Cargo.toml index edf41ba..d013aad 100644 --- a/examples/no_macro/Cargo.toml +++ b/examples/no_macro/Cargo.toml @@ -14,7 +14,7 @@ quote = "1" syn = { version = "2", features = ["full"] } [dev-dependencies] -trybuild = "1.0.80" +trybuild = "1.0.111" [package.metadata.release] release = false diff --git a/examples/no_macro/tests/ui/emit.stderr b/examples/no_macro/tests/ui/emit.stderr index 225a0c7..a22e07a 100644 --- a/examples/no_macro/tests/ui/emit.stderr +++ b/examples/no_macro/tests/ui/emit.stderr @@ -9,8 +9,8 @@ error: example error error: example error --> tests/ui/emit.rs:8:5 | -8 | / emit!( -9 | | struct Struct; + 8 | / emit!( + 9 | | struct Struct; 10 | | ); | |_____^ |