/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/unit/script/lib.rs
33 строки
667 B
lumiscosity
script: Move srcset-related structs and functions out of HTMLImageElement (#47046)
06 авг 2026, 19:55
Не верифицирован
06 авг 2026, 19:55
3ee1205
Код
Авторство
О чём код?
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #[cfg(test)] mod encoding_detection; #[cfg(test)] mod htmlareaelement; #[cfg(test)] mod origin; #[cfg(all(test, target_pointer_width = "64"))] mod size_of; #[cfg(test)] mod srcset; #[cfg(test)] mod textinput; #[cfg(test)] mod timeranges; #[cfg(test)] mod unminify; /** ```compile_fail,E0277 extern crate script; fn cloneable<T: Clone>() {} fn main() { cloneable::<script::test::TrustedPromise>(); } ``` */ pub fn trustedpromise_does_not_impl_clone() {}