about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-15 22:00:02 +0000
committerbors <bors@rust-lang.org>2020-12-15 22:00:02 +0000
commit4031f7b0a8047653f2f989f2d8579bf5650e71ca (patch)
tree85774d6bfffff9be69db32f003b0f108e1505bbd /src
parentf76ecd0668fcdb289456cdc72a39ad15467cc454 (diff)
parent6fe31e76fb7c3a1d6346977e8edfd06c8f2c405e (diff)
downloadrust-4031f7b0a8047653f2f989f2d8579bf5650e71ca.tar.gz
rust-4031f7b0a8047653f2f989f2d8579bf5650e71ca.zip
Auto merge of #78399 - vn-ki:gsgdt-graphviz, r=oli-obk
make MIR graphviz generation use gsgdt

gsgdt [https://crates.io/crates/gsgdt] is a crate which provides an
interface for stringly typed graphs. It also provides generation of
graphviz dot format from said graph.

This is the first in a series of PRs on moving graphviz code out of rustc into normal crates and then implementating graph diffing on top of these crates.

r? `@oli-obk`
Diffstat (limited to 'src')
-rw-r--r--src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs5
-rw-r--r--src/tools/tidy/src/deps.rs1
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs b/src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs
index 6d2124c12fe..c57a45dc7aa 100644
--- a/src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs
+++ b/src/tools/clippy/tests/ui/crashes/used_underscore_binding_macro.rs
@@ -1,7 +1,6 @@
-#![allow(clippy::useless_attribute)] //issue #2910
+// edition:2018
 
-#[macro_use]
-extern crate serde_derive;
+use serde::Deserialize;
 
 /// Tests that we do not lint for unused underscores in a `MacroAttribute`
 /// expansion
diff --git a/src/tools/tidy/src/deps.rs b/src/tools/tidy/src/deps.rs
index 952782175f1..4b521985ca1 100644
--- a/src/tools/tidy/src/deps.rs
+++ b/src/tools/tidy/src/deps.rs
@@ -104,6 +104,7 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[
     "getopts",
     "getrandom",
     "gimli",
+    "gsgdt",
     "hashbrown",
     "hermit-abi",
     "humantime",