diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-07 11:09:54 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-07 11:09:54 +0000 |
commit | 013e9080564aa497e6de92ae4bd1f162328b3cd8 (patch) | |
tree | f6d9895dc110a963f147dee9140775853412fd30 /editors/code/src/util.ts | |
parent | 919747c323359724b3b451a43ed82152014c73de (diff) | |
parent | 18f88ad10bed9f8d82a3a67c2bb9eb23995641a0 (diff) |
Merge #3509
3509: Prevent include! macro include itself r=matklad a=edwin0cheng
This PR prevent `include` macro including itself.
Note: It **does not** prevent a cyclic include:
```rust
// foo.rs
include!("bar.rs")
// bar.rs
include!("foo.rs")
```
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'editors/code/src/util.ts')
0 files changed, 0 insertions, 0 deletions