]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/crashes/ice-2760.rs
Rollup merge of #4820 - guanqun:comment-fix, r=flip1995
[rust.git] / tests / ui / crashes / ice-2760.rs
index fddf8252329941d80649ec8a55dffcdefcddd601..9e5e299c336a518ca68a137efd5a6738925413f6 100644 (file)
@@ -1,3 +1,5 @@
+// run-pass
+
 #![allow(
     unused_variables,
     clippy::blacklisted_name,
@@ -8,8 +10,7 @@
 /// This should not compile-fail with:
 ///
 ///      error[E0277]: the trait bound `T: Foo` is not satisfied
-///
-/// See https://github.com/rust-lang/rust-clippy/issues/2760
+// See rust-lang/rust-clippy#2760.
 
 trait Foo {
     type Bar;