Skip to content

Commit

Permalink
Bump ariadne from 0.1.5 to 0.2.0 (#244)
Browse files Browse the repository at this point in the history
Bumps [ariadne](https://github.com/zesterer/ariadne) from 0.1.5 to 0.2.0.
- [Release notes](https://github.com/zesterer/ariadne/releases)
- [Commits](https://github.com/zesterer/ariadne/commits)

---
updated-dependencies:
- dependency-name: ariadne
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dominic <[email protected]>
  • Loading branch information
dependabot[bot] and msrd0 authored Mar 13, 2023
1 parent ca41772 commit e7e9693
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 16 deletions.
11 changes: 9 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ harness = false

[dependencies]
anyhow = "1.0"
ariadne = "0.1.5"
ariadne = "0.2"
base64 = "0.21"
blake3 = "1.3"
cargo_metadata = "0.15.1"
Expand Down
2 changes: 1 addition & 1 deletion src/diagnostic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub type Span = Range<usize>;
pub struct Diagnostic {
filename: String,
code: String,
reports: Vec<Report<(String, Span)>>,
reports: Vec<Report<'static, (String, Span)>>,
fail: bool
}

Expand Down
4 changes: 2 additions & 2 deletions tests/fail/syntax-error/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Error: Syntax Error
╭─[lib.rs:1:5]
1 │ main() {}
·
· ╰── expected `!`
╰── expected `!`
───╯
8 changes: 4 additions & 4 deletions tests/pass/doc-attr-warning/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Warning: Macro not expanded
╭─[lib.rs:1:10]
1 │ #![doc = concat!("Hello ", "World!")]
· ─────────────┬─────────────
· ╰─────────────── This macro was not expanded
·
· Help: You can use `--expand-macros` on a nightly Rust toolchain to expand macros.
─────────────┬─────────────
╰─────────────── This macro was not expanded
Help: You can use `--expand-macros` on a nightly Rust toolchain to expand macros.
───╯
8 changes: 4 additions & 4 deletions tests/pass/doc-cfg-attr-warning/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Warning: Macro not expanded
╭─[lib.rs:1:1]
1 │ #![cfg_attr(all(), doc = "Hello World!")]
· ────────────────────┬────────────────────
· ╰────────────────────── This macro was not expanded
·
· Help: You can use `--expand-macros` on a nightly Rust toolchain to expand macros.
────────────────────┬────────────────────
╰────────────────────── This macro was not expanded
Help: You can use `--expand-macros` on a nightly Rust toolchain to expand macros.
───╯
4 changes: 2 additions & 2 deletions tests/pass/wildcard-import/stderr.log
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Warning: Glob use statements can lead to incomplete link generation.
╭─[lib.rs:4:23]
4 │ use std::io::prelude::*;
·
· ╰── All items imported through this glob use will not be used for link generation
╰── All items imported through this glob use will not be used for link generation
───╯

0 comments on commit e7e9693

Please sign in to comment.