mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -7,13 +7,13 @@ pub mod unrooted_must_root {
|
|||
```
|
||||
#![feature(plugin)]
|
||||
#![plugin(script_plugins)]
|
||||
|
||||
|
||||
#[must_root] struct Foo(i32);
|
||||
#[must_root] struct Bar(Foo);
|
||||
|
||||
|
||||
fn foo1(_: &Foo) {}
|
||||
fn foo2(_: &()) -> &Foo { unimplemented!() }
|
||||
|
||||
|
||||
fn main() {}
|
||||
```
|
||||
*/
|
||||
|
@ -23,10 +23,10 @@ pub mod unrooted_must_root {
|
|||
```compile_fail
|
||||
#![feature(plugin)]
|
||||
#![plugin(script_plugins)]
|
||||
|
||||
|
||||
#[must_root] struct Foo(i32);
|
||||
struct Bar(Foo);
|
||||
|
||||
|
||||
fn main() {}
|
||||
```
|
||||
*/
|
||||
|
@ -36,11 +36,11 @@ pub mod unrooted_must_root {
|
|||
```compile_fail
|
||||
#![feature(plugin)]
|
||||
#![plugin(script_plugins)]
|
||||
|
||||
|
||||
#[must_root] struct Foo(i32);
|
||||
|
||||
|
||||
fn foo1(_: Foo) {}
|
||||
|
||||
|
||||
fn main() {}
|
||||
```
|
||||
*/
|
||||
|
@ -50,11 +50,11 @@ pub mod unrooted_must_root {
|
|||
```compile_fail
|
||||
#![feature(plugin)]
|
||||
#![plugin(script_plugins)]
|
||||
|
||||
|
||||
#[must_root] struct Foo(i32);
|
||||
|
||||
|
||||
fn foo2() -> Foo { unimplemented!() }
|
||||
|
||||
|
||||
fn main() {}
|
||||
```
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue