Skip to content

Mispositioned error-indicator at compile-time #38384

Closed
@florianb

Description

@florianb

The positional indicator of the moved value appears with the wrong indentation as you can see in the screenshot:

image

Apparently i don't know why this happens, i am using tabs (with 4 spaces width) to format my source. In the reality these lines look as follows:

	let arguments = application.get_matches();

	match arguments.subcommand() {
		("host", Some(sub_arguments)) => host::process_matches(sub_arguments),
		_ => {
			application.print_help();
		}
	}

Versions

rustc 1.13.0 (2c6933acc 2016-11-07)
cargo 0.13.0-nightly (eca9e15 2016-11-01)
ProductName:	Mac OS X
ProductVersion:	10.11.6
BuildVersion:	15G1108

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-frontendArea: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions