Ignoring code examples that aren't actually compile-able
This commit is contained in:
parent
e34946fd9a
commit
9c8e72a689
|
|
@ -69,13 +69,13 @@ essentially one of the following:
|
||||||
This is the phase where we encode the rules of the trait system into logic. For
|
This is the phase where we encode the rules of the trait system into logic. For
|
||||||
example, if we have:
|
example, if we have:
|
||||||
|
|
||||||
```rust
|
```rust,ignore
|
||||||
impl<T: Clone> Clone for Vec<T> {}
|
impl<T: Clone> Clone for Vec<T> {}
|
||||||
```
|
```
|
||||||
|
|
||||||
We generate:
|
We generate:
|
||||||
|
|
||||||
```rust
|
```rust,ignore
|
||||||
forall<T> { (Vec<T>: Clone) :- (T: Clone) }
|
forall<T> { (Vec<T>: Clone) :- (T: Clone) }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue