This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
e55583c4b8
rust
/
tests
/
incremental
/
auxiliary
/
issue-49482-reexport.rs
7 lines
101 B
Rust
Raw
Normal View
History
Unescape
Escape
create a valid DefIdTable for proc macro crates At least the incremental compilation code, and a few other places in the compiler, require the CrateMetadata for a loaded target crate to contain a valid DefIdTable for the DefIds in the target. Previously, the CrateMetadata for a proc macro contained the crate's "host" DefIdTable, which is of course incompatible with the "target" DefIdTable, causing ICEs. This creates a DefIdTable that properly refers to the "proc macro" DefIds. Fixes #49482.
2018-08-25 17:53:48 -05:00
#[
macro_use
]
use an incremental-fulldeps test instead of a run-make test
2018-08-26 07:13:47 -05:00
extern
crate
issue_49482_macro_def
;
pub
use
issue_49482_macro_def
::
*
;
create a valid DefIdTable for proc macro crates At least the incremental compilation code, and a few other places in the compiler, require the CrateMetadata for a loaded target crate to contain a valid DefIdTable for the DefIds in the target. Previously, the CrateMetadata for a proc macro contained the crate's "host" DefIdTable, which is of course incompatible with the "target" DefIdTable, causing ICEs. This creates a DefIdTable that properly refers to the "proc macro" DefIds. Fixes #49482.
2018-08-25 17:53:48 -05:00
use an incremental-fulldeps test instead of a run-make test
2018-08-26 07:13:47 -05:00
pub
fn
foo
(
)
{
}
Reference in New Issue
Copy Permalink