Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37040718
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: rust

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: rust-disable-lint-tests.patch
Скачать


diff --git a/compiler/rustc_lint/src/methods.rs b/compiler/rustc_lint/src/methods.rs
index 8732845af0c..ffe0eadc743 100644
--- a/compiler/rustc_lint/src/methods.rs
+++ b/compiler/rustc_lint/src/methods.rs
@@ -11,7 +11,7 @@ declare_lint! {
     ///
     /// ### Example
     ///
-    /// ```rust
+    /// ```rust,ignore (fails)
     /// # #![allow(unused)]
     /// # use std::ffi::CString;
     /// let c_str = CString::new("foo").unwrap().as_ptr();
diff --git a/compiler/rustc_lint/src/traits.rs b/compiler/rustc_lint/src/traits.rs
index d4f79036e5a..5b543a247aa 100644
--- a/compiler/rustc_lint/src/traits.rs
+++ b/compiler/rustc_lint/src/traits.rs
@@ -10,7 +10,7 @@ declare_lint! {
     ///
     /// ### Example
     ///
-    /// ```rust
+    /// ```rust,ignore (fails)
     /// fn foo<T: Drop>() {}
     /// ```
     ///
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs
index ad53f237577..f0cdbe34c15 100644
--- a/compiler/rustc_lint_defs/src/builtin.rs
+++ b/compiler/rustc_lint_defs/src/builtin.rs
@@ -2709,7 +2709,7 @@ declare_lint! {
     ///
     /// ### Example
     ///
-    /// ```rust
+    /// ```rust,ignore (fails)
     /// fn foo() { }
     ///
     /// fn main() {
@@ -2736,7 +2736,7 @@ declare_lint! {
     ///
     /// ### Example
     ///
-    /// ```rust
+    /// ```rust,ignore (fails)
     /// enum Void {}
     /// extern {
     ///     static EXTERN: Void;
@@ -2765,7 +2765,7 @@ declare_lint! {
     ///
     /// ### Example
     ///
-    /// ```rust,compile_fail
+    /// ```rust,compile_fail,ignore (fails)
     /// struct X;
     ///
     /// #[deprecated = "message"]
@@ -2886,7 +2886,7 @@ declare_lint! {
     ///
     /// ### Example
     ///
-    /// ```rust
+    /// ```rust,ignore (fails)
     /// /// docs for x
     /// let x = 12;
     /// ```
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin