☰
rustc_parse
1.75.0-dev
Modules
errors
lexer
parser
validate_attr
Macros
maybe_recover_from_interpolated_ty_qpath
maybe_whole
panictry_buffer
Constants
CFG_ATTR_GRAMMAR_HELP
CFG_ATTR_NOTE_REF
MACRO_ARGUMENTS
Statics
DEFAULT_LOCALE_RESOURCE
Functions
error_malformed_cfg_attr_missing
fake_token_stream_for_crate
fake_token_stream_for_item
file_to_source_file
maybe_file_to_stream
maybe_new_parser_from_source_str
maybe_source_file_to_parser
new_parser_from_file
new_parser_from_source_str
parse_cfg_attr
parse_crate_attrs_from_file
parse_crate_attrs_from_source_str
parse_crate_from_file
parse_crate_from_source_str
parse_in
parse_stream_from_source_str
source_file_to_parser
source_file_to_stream
stream_to_parser
try_file_to_source_file
?
Function
rustc_parse
::
fake_token_stream_for_item
source
·
[
−
]
pub fn fake_token_stream_for_item(sess: &
ParseSess
, item: &
Item
) ->
TokenStream