mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -25,9 +25,9 @@ pub mod does_not_impl_malloc_size_of {
|
|||
```compile_fail,E0277
|
||||
extern crate malloc_size_of;
|
||||
extern crate servo_arc;
|
||||
|
||||
|
||||
fn sizeable<T: malloc_size_of::MallocSizeOf>() {}
|
||||
|
||||
|
||||
fn main() {
|
||||
sizeable::<servo_arc::Arc<i32>>();
|
||||
}
|
||||
|
@ -35,13 +35,12 @@ pub mod does_not_impl_malloc_size_of {
|
|||
*/
|
||||
pub fn servo_arc() {}
|
||||
|
||||
|
||||
/**
|
||||
```compile_fail,E0277
|
||||
extern crate malloc_size_of;
|
||||
|
||||
|
||||
fn sizeable<T: malloc_size_of::MallocSizeOf>() {}
|
||||
|
||||
|
||||
fn main() {
|
||||
sizeable::<std::sync::Arc<i32>>();
|
||||
}
|
||||
|
@ -49,13 +48,12 @@ pub mod does_not_impl_malloc_size_of {
|
|||
*/
|
||||
pub fn std_arc() {}
|
||||
|
||||
|
||||
/**
|
||||
```compile_fail,E0277
|
||||
extern crate malloc_size_of;
|
||||
|
||||
|
||||
fn sizeable<T: malloc_size_of::MallocSizeOf>() {}
|
||||
|
||||
|
||||
fn main() {
|
||||
sizeable::<std::rc::Rc<i32>>();
|
||||
}
|
||||
|
@ -69,9 +67,9 @@ pub mod does_not_impl_malloc_shallow_size_of {
|
|||
```compile_fail,E0277
|
||||
extern crate malloc_size_of;
|
||||
extern crate servo_arc;
|
||||
|
||||
|
||||
fn shallow_sizeable<T: malloc_size_of::MallocShallowSizeOf>() {}
|
||||
|
||||
|
||||
fn main() {
|
||||
shallow_sizeable::<servo_arc::Arc<i32>>();
|
||||
}
|
||||
|
@ -79,13 +77,12 @@ pub mod does_not_impl_malloc_shallow_size_of {
|
|||
*/
|
||||
pub fn servo_arc() {}
|
||||
|
||||
|
||||
/**
|
||||
```compile_fail,E0277
|
||||
extern crate malloc_size_of;
|
||||
|
||||
|
||||
fn shallow_sizeable<T: malloc_size_of::MallocShallowSizeOf>() {}
|
||||
|
||||
|
||||
fn main() {
|
||||
shallow_sizeable::<std::sync::Arc<i32>>();
|
||||
}
|
||||
|
@ -93,13 +90,12 @@ pub mod does_not_impl_malloc_shallow_size_of {
|
|||
*/
|
||||
pub fn std_arc() {}
|
||||
|
||||
|
||||
/**
|
||||
```compile_fail,E0277
|
||||
extern crate malloc_size_of;
|
||||
|
||||
|
||||
fn shallow_sizeable<T: malloc_size_of::MallocShallowSizeOf>() {}
|
||||
|
||||
|
||||
fn main() {
|
||||
shallow_sizeable::<std::rc::Rc<i32>>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue